AssertThrowsInfo
| Kind of class: | class |
|---|---|
| Inherits from: | AbstractAssertInfo < BasicClass |
| Author: | Martin Heidegger. |
| Classpath: | org.as2lib.test.unit.info.AssertThrowsInfo |
| File last modified: | Saturday, 14 May 2005, 18:20:12 |
Information holder and examiner of a assertThrows call.
Summary
Constructor
Instance methods
Instance methods inherited from AbstractAssertInfo
Instance methods inherited from BasicClass
Constructor
AssertThrowsInfo
function AssertThrowsInfo (
message:String,
type,
toCall:Executable,
args:Array)
Constructs a new AssertThrowsInfo.
Parameters:
message:
Message if the assertion fails.
type :
Exception type that should be thrown. (if null is given, it fails if no exception was thrown).
toCall :
Call to be executed
args :
Arguments for the Call.
Instance methods
execute
function execute (
Void) : Boolean
Overriding of @see AbstractAssertInfo#execute
Returns:
True if the execution fails.