Code example for AssertionFailedError

Methods: getMessage

0
			currentTest.error = t;
		} 
 
		public void addFailure(Test test, AssertionFailedError t) {
			Log.e(TAG, "Test Failed: " + test.toString());
			Log.e(TAG, "Message: " + t.getMessage());
			 
			currentTest.isFailure = true;
			currentTest.error = t;
		} 
 
		public void endTest(Test test) {
			Log.d(TAG, "End Test: " + test.toString());
			 
			currentTest.endTime = System.currentTimeMillis();
		} 
 
	}	 
}