Class org.as2lib.test.unit.info.AssertTypeOfInfo

Description

Information holder and examiner of a assertTypeOf call.

Method Index

new AssertTypeOfInfo()
execute()

Inherited from AbstractAssertInfo

Inherited from BasicClass

Constructor Detail

AssertTypeOfInfo

public function AssertTypeOfInfo(message:String, val, type:String)

Constructs a new AssertTypeOfInfo.

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