A named piece of test code, and it's state.
Constructor |
TestUnit(String name, Anything() callable) |
Attributes | |
callable | Source Code shared Anything() callable The test code. |
elapsedTimeInMilis | Source Code shared variable Integer elapsedTimeInMilis The time it took to execute this unit. |
exception | Source Code shared variable Exception? exception The exception thrown by this unit, if any. |
name | Source Code shared String name The name of this test. |
state | Source Code shared variable TestState state The state of this unit. |
Inherited Attributes |
Attributes inherited from: Object hash, string |
Inherited Methods |
Methods inherited from: Object equals |