Code example for AssertionFailedError

Methods: getMessage

0
	@Override 
	public void addFailure(Test test, AssertionFailedError failure) {
		failed.add(test);
		numFail += 1;
		logResult(test, "FAIL");
		out.println(failure.getMessage());
	} 
 
	@Override 
	public void endTest(Test test) {
		if (!failed.contains(test)) {
			logResult(test, "PASS");
		} 
	} 
 
	@Override 
	public void startTest(Test test) {
		numRun += 1;
	} 
 
	@Override