Top Inners Constructors Methods
org.bouncycastle.util.test

public abstract Class SimpleTest

extends Object
implements Test
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.test.Test
Imports
java.io.PrintStream, java.util.Enumeration, .Vector, org.bouncycastle.util.Arrays

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static interface

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
areEqual(byte[][] left, byte[][] right)

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

protected boolean
areEqual(byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex)

protected void
fail(String message)

protected void
fail(String message, Throwable throwable)

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

public abstract String
protected void
protected void
isEquals(int a, int b)

protected void
isEquals(long a, long b)

protected void
isEquals(boolean a, boolean b)

protected void
isEquals(String message, boolean a, boolean b)

protected void
isEquals(String message, long a, long b)

protected void
isEquals(String message, Object a, Object b)

protected void
isTrue(boolean value)

public void
isTrue(String message, boolean value)

public TestResult
public abstract void
public static void
runTest(Test test)

public static void
public static void
runTests(Test[] tests)

public static void
runTests(Test[] tests, PrintStream out)

private TestResult
public Exception
testException(String failMessage, String exceptionClass, SimpleTest.TestExceptionOperation operation)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SimpleTestback to summary
public SimpleTest()

Method Detail

areEqualback to summary
protected boolean areEqual(byte[][] left, byte[][] right)
areEqualback to summary
protected boolean areEqual(byte[] a, byte[] b)
areEqualback to summary
protected boolean areEqual(byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex)
failback to summary
protected void fail(String message)
failback to summary
protected void fail(String message, Throwable throwable)
failback to summary
protected void fail(String message, Object expected, Object found)
getNameback to summary
public abstract String getName()

Redeclares org.bouncycastle.util.test.Test.getName.

isEqualsback to summary
protected void isEquals(Object a, Object b)
isEqualsback to summary
protected void isEquals(int a, int b)
isEqualsback to summary
protected void isEquals(long a, long b)
isEqualsback to summary
protected void isEquals(boolean a, boolean b)
isEqualsback to summary
protected void isEquals(String message, boolean a, boolean b)
isEqualsback to summary
protected void isEquals(String message, long a, long b)
isEqualsback to summary
protected void isEquals(String message, Object a, Object b)
isTrueback to summary
protected void isTrue(boolean value)
isTrueback to summary
public void isTrue(String message, boolean value)
performback to summary
public TestResult perform()

Implements org.bouncycastle.util.test.Test.perform.

performTestback to summary
public abstract void performTest() throws Exception
runTestback to summary
public static void runTest(Test test)
runTestback to summary
public static void runTest(Test test, PrintStream out)
runTestsback to summary
public static void runTests(Test[] tests)
runTestsback to summary
public static void runTests(Test[] tests, PrintStream out)
successback to summary
private TestResult success()
testExceptionback to summary
public Exception testException(String failMessage, String exceptionClass, SimpleTest.TestExceptionOperation operation)
org.bouncycastle.util.test back to summary

protected Interface SimpleTest.TestExceptionOperation


Method Summary

Modifier and TypeMethod and Description
public void

Method Detail

operationback to summary
public void operation() throws Exception