public void doFail()

in mustella/src/main/java/marmotinni/TestResult.java [131:148]


	public void doFail (String msg, String extraInfo, TestStep lastStep, int lastStepLine) { 
		// first failure is the one we keep
		if (this.result != FAIL)
		{
			this.result = FAIL;
			// this.message = msg;
			if (lastStep != null)
			{ 
				String tmp = lastStep.toString().substring(0, lastStep.toString().indexOf (":")) + "(" + getPhaseString(phase) + ":step " + (lastStepLine + 1) + ") ";
				this.message = tmp + " " + msg;
			} 
			else 
			{
				this.message = msg;
			}
			this.extraInfo = extraInfo;
		}
	}