$darkmode
Class representing Exception of a particular type and matching regexp for detail. More...
Public Member Methods | |
| TestResultExceptionSubstring (String exceptionType, String exceptionSubstring) throws Throwable | |
| creates the object from the exception arguments More... | |
Public Member Methods inherited from org.qore.lang.qunit.AbstractTestResult | |
| boolean | equals (AbstractTestResult r) throws Throwable |
| compare two results for equality | |
| String | toString () |
| returns a string reprensentation of the result | |
Public Member Methods inherited from org.qore.jni.QoreObjectWrapper | |
| QoreObjectWrapper (QoreObject obj) | |
| creates the wrapper object with the Qore object | |
| void | release () |
| releases the Qore object; do not call any further methods on the object after this call | |
| QoreObject | getQoreObject () |
| returns the Qore object | |
| String | className () |
| returns the class name for the Qore object | |
| boolean | instanceOf (String class_name) |
| returns true if the object is an instance of the given class | |
Additional Inherited Members | |
Private Member Methods inherited from org.qore.lang.qunit.AbstractTestResult | |
| AbstractTestResult (QoreObject obj) throws Throwable | |
| creates the object based on the given Qore object | |
Private Attributes inherited from org.qore.jni.QoreObjectWrapper | |
| QoreObject | obj |
| the wrapper Qore object | |
Class representing Exception of a particular type and matching regexp for detail.
import qoremod.QUnit.TestResultExceptionSubstring;
|
inline |
creates the object from the exception arguments
| exceptionType | corresponds to the "err" key of ExceptionInfo (the first value of a throw statement) |
| exceptionSubstring | a substring to be matched with the "desc" key of ExceptionInfo |