LegacyTest

public class
unittest.LegacyTest

Description

This class is used for backward compatibility with previous tests. Do not use this class for new tests if at all possible.

API overview

Constructor

LegacyTest ()

Attributes

Public attributes

currentTest: String static
currentTestErrors: Vector.<String> static
currentTestFailureCount: Number static
currentTestSuccessCount: Number static
verbose: Boolean static

Protected attributes

Functions

Public functions

areExpectedActualWithoutWhitespaceEqual (): Boolean
assert ( value: Object , msg: String = null ): Void static
assertEqual ( a: Object , b: Object , msg: String = ): Void static
begin (): Void
end (): Void
isWhitespace ( c: String ): Boolean
log ( value: Object ): Void static
run (): Void

Protected functions

Constructor

LegacyTest ()

Attributes

currentTest: String

static

currentTestErrors: Vector.<String>

static

currentTestFailureCount: Number

static

currentTestSuccessCount: Number

static

verbose: Boolean

static

Protected attributes

Functions

areExpectedActualWithoutWhitespaceEqual (): Boolean



assert ( value: Object , msg: String = null ): Void

static

Parameters

value: Object
msg: String = null


assertEqual ( a: Object , b: Object , msg: String = ): Void

static

Parameters

a: Object
b: Object
msg: String =


begin (): Void



end (): Void



getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

isWhitespace ( c: String ): Boolean

Parameters

c: String


log ( value: Object ): Void

static

Parameters

value: Object


run (): Void



toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

Protected functions

: