public abstract class TestFailure extends TestResult
testInfo| Constructor and Description |
|---|
TestFailure(TestInfo test)
Constructs a
TestFailure with the information of the test
that failed. |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getCause()
Returns the cause of the failure.
|
java.util.logging.Level |
getLoggingLevel()
Gets the logging level if this failure is to be logged.
|
java.lang.String |
getSolution()
Returns a solution that may eliminate this failure.
|
java.lang.String |
toString() |
getSummary, getTestInfopublic TestFailure(TestInfo test)
TestFailure with the information of the test
that failed.test - the test that failedjava.lang.IllegalArgumentException - if the test information is nullpublic abstract java.lang.String getCause()
public java.util.logging.Level getLoggingLevel()
Level.SEVERE.public java.lang.String getSolution()
public java.lang.String toString()
toString in class TestResult