randoop
Class ExceptionalExecution
Object
ExecutionOutcome
ExceptionalExecution
public class ExceptionalExecution
extends ExecutionOutcome
Means that the execution of a statement threw an exception.
Method Summary
Throwable |
getException()
|
long |
getExecutionTime()
How long the associated statement took to execute. |
String |
toString()
Warning: this method calls toString() of code under test, which may have
arbitrary behavior. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExceptionalExecution
public ExceptionalExecution(Throwable exception,
long executionTime)
getException
public Throwable getException()
toString
public String toString()
- Warning: this method calls toString() of code under test, which may have
arbitrary behavior. We use this method in randoop.test.SequenceTests.
- Overrides:
toString in class Object
getExecutionTime
public long getExecutionTime()
- Description copied from class:
ExecutionOutcome
- How long the associated statement took to execute.
- Specified by:
getExecutionTime in class ExecutionOutcome