Class TestExceptionSubResult


  • public class TestExceptionSubResult
    extends TestSubResult
    This result is returned if an exception occurred during test execution.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • TestExceptionSubResult

        public TestExceptionSubResult​(java.lang.Throwable anException,
                                      java.util.Map<java.lang.String,​TestComparisonResult> aComparisonResult,
                                      FixtureWrapper<?> aFixtureInstance,
                                      java.lang.String aFixtureMethod,
                                      java.lang.Long anExecutionTime)
        Creates a new instance.
        Parameters:
        anException - The exception that occurred
        aComparisonResult - Map of result names to the respective comparison
        anExecutionTime - Time taken to execute the test method
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getException

        public java.lang.Throwable getException()