avrora.test
Class TestResult
java.lang.Object
avrora.test.TestResult
- Direct Known Subclasses:
- TestResult.Malformed, TestResult.TestFailure, TestResult.TestSuccess
- public abstract class TestResult
- extends java.lang.Object
The TestResult
class represents the result of running a test cases. The test run could
succeed, it could cause an internal error, an unexpected exception (e.g.
java.lang.NullPointerException
), or it could generate an expected error such as a compilation
error (for testing generation of error messages).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResult
public TestResult()
shortReport
public abstract void shortReport()
isSuccess
public boolean isSuccess()
isInternalError
public boolean isInternalError()
isUnexpectedException
public boolean isUnexpectedException()
isMalformed
public boolean isMalformed()
longReport
public void longReport()