Class SingleTestResultData

java.lang.Object
de.hybris.platform.testframework.model.SingleTestResultData

public class SingleTestResultData extends Object
  • Method Details

    • getError

      public Throwable getError()
      Returns:
      throwable caused test failed (if any)
    • hasError

      public boolean hasError()
    • getFailure

      public org.junit.runner.notification.Failure getFailure()
      Returns:
      Failure for failed test (if any)
    • hasFailure

      public boolean hasFailure()
    • isIgnored

      public boolean isIgnored()
      Returns:
      flag whether test was ignored or not (due to explicit Ignore or due to failed assumption Assume
    • isSuccessful

      public boolean isSuccessful()
      Returns:
      flag whether test was successful and not ignored
    • getTestClass

      public Class getTestClass()
      Returns:
      test class name (as a Class object)
    • getTestCaseMethod

      public String getTestCaseMethod()
      Returns:
      test case method (could be null)
    • getFullTestCaseMethod

      public 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 String toString()
      Overrides:
      toString in class Object