TestComplete
public class
unittest.TestComplete
Description
Special class to be used when making asynchronous tests. Simply add a
parameter with this type to your testing function and call the done()
function when your asynchronous test is complete.
API overview
Constructor
TestComplete
(
d: Function
)
Constructor
TestComplete ( d: Function )
Functions
done ( msg: Object = null ): Void
Function to be called when a test is completed. If this function is called more than once in a given test, an error will be asserted.
to the test results.
Parameters
| msg: Object = null | A custom result object that will be shown as a String next |
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. |