Assert

public class
loom2d.tests.Assert

Description

Some very basic helper asserts for the Starling tests we have ported.

API overview

Constructor

Assert ()

Functions

Public functions

assertEquals ( v1: Object , v2: Object ): Void static
assertFalse ( value: Boolean ): Void static
assertNull ( value: Object ): Void static
assertTrue ( value: Boolean ): Void static

Constructor

Assert ()

Functions

assertEquals ( v1: Object , v2: Object ): Void

static

Parameters

v1: Object
v2: Object


assertFalse ( value: Boolean ): Void

static

Parameters

value: Boolean


assertNull ( value: Object ): Void

static

Parameters

value: Object


assertTrue ( value: Boolean ): Void

static

Parameters

value: Boolean


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.

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.

: