Class SingleTestResultData
- java.lang.Object
-
- de.hybris.platform.testframework.model.SingleTestResultData
-
public class SingleTestResultData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingleTestResultData.SingleTestResultDataBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetElapsedTime()java.lang.ThrowablegetError()org.junit.runner.notification.FailuregetFailure()java.lang.StringgetFullTestCaseMethod()java.lang.StringgetTestCaseMethod()java.lang.ClassgetTestClass()booleanhasError()booleanhasFailure()booleanisIgnored()booleanisSuccessful()java.lang.StringtoString()
-
-
-
Method Detail
-
getError
public java.lang.Throwable getError()
- Returns:
- throwable caused test failed (if any)
-
hasError
public boolean hasError()
-
getFailure
public org.junit.runner.notification.Failure getFailure()
- Returns:
Failurefor failed test (if any)
-
hasFailure
public boolean hasFailure()
-
isIgnored
public boolean isIgnored()
- Returns:
- flag whether test was ignored or not (due to explicit
Ignoreor due to failed assumptionAssume
-
isSuccessful
public boolean isSuccessful()
- Returns:
- flag whether test was successful and not ignored
-
getTestClass
public java.lang.Class getTestClass()
- Returns:
- test class name (as a
Classobject)
-
getTestCaseMethod
public java.lang.String getTestCaseMethod()
- Returns:
- test case method (could be null)
-
getFullTestCaseMethod
public java.lang.String getFullTestCaseMethod()
- Returns:
- fully Junit aware test method in form: testMethod(fully qualified class name)
-
getElapsedTime
public long getElapsedTime()
- Returns:
- elapsed time of single test case
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-