Access keys

AssertNotThrowsInfo

Kind of class: class
Inherits from: AbstractAssertInfo < BasicClass
Author: Martin Heidegger.
Classpath: org.as2lib.test.unit.info.AssertNotThrowsInfo
File last modified: Saturday, 14 May 2005, 18:20:12
Information holder and examiner of a assertNotThrows call.

Summary

Constructor
Instance properties
Instance properties inherited from AbstractAssertInfo
Instance methods
Instance methods inherited from BasicClass

Constructor

AssertNotThrowsInfo

function AssertNotThrowsInfo (
message:String, type, toCall:Executable, args:Array)
Constructs a new AssertNotThrowsInfo.
Parameters:
message:
Message if the assertion fails.
type :
Exception type that should not be thrown. (if null is given, it fails on every exception).
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.