Bouncy Castle Cryptography 1.27

org.bouncycastle.util.test
Class SimpleTestResult

java.lang.Object
  |
  +--org.bouncycastle.util.test.SimpleTestResult
All Implemented Interfaces:
TestResult

public class SimpleTestResult
extends java.lang.Object
implements TestResult


Constructor Summary
SimpleTestResult(boolean success, java.lang.String message)
           
SimpleTestResult(boolean success, java.lang.String message, java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
           
 boolean isSuccessful()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTestResult

public SimpleTestResult(boolean success,
                        java.lang.String message)

SimpleTestResult

public SimpleTestResult(boolean success,
                        java.lang.String message,
                        java.lang.Exception exception)
Method Detail

isSuccessful

public boolean isSuccessful()
Specified by:
isSuccessful in interface TestResult

toString

public java.lang.String toString()
Specified by:
toString in interface TestResult
Overrides:
toString in class java.lang.Object

getException

public java.lang.Exception getException()

Bouncy Castle Cryptography 1.27