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
currentTestFailureCount: Number
static
currentTestSuccessCount: Number
static
verbose: Boolean
static
Protected attributes
Functions
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 = |
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. |