public abstract class SimpleTest extends java.lang.Object implements Test
Constructor and Description |
---|
SimpleTest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areEqual(byte[] a,
byte[] b) |
protected void |
fail(java.lang.String message) |
protected void |
fail(java.lang.String message,
java.lang.Object expected,
java.lang.Object found) |
protected void |
fail(java.lang.String message,
java.lang.Throwable throwable) |
abstract java.lang.String |
getName() |
TestResult |
perform() |
abstract void |
performTest() |
protected static void |
runTest(Test test) |
protected static void |
runTest(Test test,
java.io.PrintStream out) |
protected void fail(java.lang.String message)
protected void fail(java.lang.String message, java.lang.Throwable throwable)
protected void fail(java.lang.String message, java.lang.Object expected, java.lang.Object found)
protected boolean areEqual(byte[] a, byte[] b)
public TestResult perform()
protected static void runTest(Test test)
protected static void runTest(Test test, java.io.PrintStream out)
public abstract void performTest() throws java.lang.Exception
java.lang.Exception