TypeTest

private class
unittest.TypeTest

Description

TypeTest groups all the tests found in a specific Type.

API overview

Constructor

TypeTest ()

Attributes

Public attributes

asserts: StatusReport

Contains Assert-level metrics for how many asserts passed, failed and were skipped

async: Boolean

This is set to true if the Type has at least one asynchronous test

report: StatusReport

Contains Test-level metrics for how many tests passed, failed and were skipped

skip: Boolean

This is set to true if the Type has SkipTests metadata set

tests: Vector.<Test>

All the tests found in the Type

type: Type

Reference to the Type tested

Functions

Public functions

Constructor

TypeTest ()

Attributes

asserts: StatusReport

Contains Assert-level metrics for how many asserts passed, failed and were skipped.

async: Boolean

This is set to true if the Type has at least one asynchronous test.

report: StatusReport

Contains Test-level metrics for how many tests passed, failed and were skipped.

skip: Boolean

This is set to true if the Type has SkipTests metadata set. If true, all the tests in the Type are skipped and not tested.

tests: Vector.<Test>

All the tests found in the Type.

type: Type

Reference to the Type tested.

Functions

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.

: