Class PromTestException.ResultMismatch

  • Enclosing class:
    PromTestException

    protected static class PromTestException.ResultMismatch
    extends java.lang.Object
    Associates a test case to expected and returned results in case the test was not successful.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String expected  
      protected junit.framework.AssertionFailedError junitResult  
      protected java.lang.String result  
      protected java.lang.reflect.Method test  
      protected java.lang.String testScript  
    • Constructor Summary

      Constructors 
      Constructor Description
      ResultMismatch​(java.lang.reflect.Method test, java.lang.String expected, java.lang.String result)  
      ResultMismatch​(java.lang.String testScript, junit.framework.AssertionFailedError junitResult)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • test

        protected java.lang.reflect.Method test
      • expected

        protected java.lang.String expected
      • result

        protected java.lang.String result
      • testScript

        protected java.lang.String testScript
      • junitResult

        protected junit.framework.AssertionFailedError junitResult
    • Constructor Detail

      • ResultMismatch

        public ResultMismatch​(java.lang.reflect.Method test,
                              java.lang.String expected,
                              java.lang.String result)
      • ResultMismatch

        public ResultMismatch​(java.lang.String testScript,
                              junit.framework.AssertionFailedError junitResult)