Class org.as2lib.test.unit.info.AssertInstanceOfInfo

Description

Information holder and examiner of a assertInstanceOf call.

Method Index

new AssertInstanceOfInfo()
execute()

Inherited from AbstractAssertInfo

Inherited from BasicClass

Constructor Detail

AssertInstanceOfInfo

public function AssertInstanceOfInfo(message:String, val, type:Function)

Constructs a new AssertInstanceOfInfo.

Parameters

messageMessage if the assertion fails.
valValue to be checked.
typeType of the value.

Method Detail

execute

public function execute(Void):Boolean

Overriding of @see AbstractAssertInfo#execute

Return

True if the execution fails.

Overrides

execute() in org.as2lib.test.unit.AbstractAssertInfo