Class org.as2lib.test.unit.AbstractAssertInfo

org.as2lib.core.BasicClass
   +--org.as2lib.test.unit.AbstractAssertInfo

Implemented Interfaces

ExecutionInfo

Description

Implementation of @see ExecutionInfo as basis for all AssertInformations.

Method Index

new AbstractAssertInfo()

getMessage(), isFailed()

Inherited from BasicClass

toString()

Constructor Detail

AbstractAssertInfo

public function AbstractAssertInfo(message:String)

Constructs a new AbstractAssertInfo.

Parameters

messageMessage for the AssertInformation.

Method Detail

isFailed

public function isFailed(Void):Boolean

Return

true if the assertion failed.

Specified By

isFailed() in org.as2lib.test.unit.ExecutionInfo

getMessage

public function getMessage(Void):String

Returns the message to the assertion. If this assertion failed it should return the errorinfo, else the successinfo.

Return

Message to the assertion.

Specified By

getMessage() in org.as2lib.test.unit.ExecutionInfo