Package org.bouncycastle.util.test
Class SimpleTestResult
java.lang.Object
org.bouncycastle.util.test.SimpleTestResult
- All Implemented Interfaces:
TestResult
-
Constructor Summary
ConstructorDescriptionSimpleTestResult
(boolean success, String message) SimpleTestResult
(boolean success, String message, Throwable exception) -
Method Summary
Modifier and TypeMethodDescriptionstatic TestResult
static TestResult
static TestResult
static String
failedMessage
(String algorithm, String testName, String expected, String actual) boolean
static TestResult
successful
(Test test, String message) toString()
-
Constructor Details
-
SimpleTestResult
-
SimpleTestResult
-
-
Method Details
-
successful
-
failed
-
failed
-
failed
-
failedMessage
-
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessful
in interfaceTestResult
-
toString
- Specified by:
toString
in interfaceTestResult
- Overrides:
toString
in classObject
-
getException
- Specified by:
getException
in interfaceTestResult
-