avrora.test
Class TestCase
java.lang.Object
avrora.test.TestCase
- Direct Known Subclasses:
- TestCase.ExpectCompilationError, TestCase.Malformed
- public abstract class TestCase
- extends java.lang.Object
The TestCase
class encapsulates the notion of a test case in the automated testing framework.
Constructor Summary |
TestCase(java.lang.String fname,
java.util.Properties props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filename
public final java.lang.String filename
properties
protected final java.util.Properties properties
TestCase
public TestCase(java.lang.String fname,
java.util.Properties props)
getFileName
public java.lang.String getFileName()
run
public abstract void run()
throws java.lang.Exception
- Throws:
java.lang.Exception
match
public TestResult match(java.lang.Throwable t)