org.bouncycastle.util.test

Class SimpleTest

public abstract class SimpleTest extends Object implements Test

Method Summary
protected booleanareEqual(byte[] a, byte[] b)
protected voidfail(String message)
protected voidfail(String message, Throwable throwable)
protected voidfail(String message, Object expected, Object found)
abstract StringgetName()
TestResultperform()
abstract voidperformTest()
protected static voidrunTest(Test test)
protected static voidrunTest(Test test, PrintStream out)

Method Detail

areEqual

protected boolean areEqual(byte[] a, byte[] b)

fail

protected void fail(String message)

fail

protected void fail(String message, Throwable throwable)

fail

protected void fail(String message, Object expected, Object found)

getName

public abstract String getName()

perform

public TestResult perform()

performTest

public abstract void performTest()

runTest

protected static void runTest(Test test)

runTest

protected static void runTest(Test test, PrintStream out)