CWIS Developer Documentation

- Home
- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
ControlledName_Test Class Reference
Inheritance diagram for ControlledName_Test:
[legend]
Collaboration diagram for ControlledName_Test:
[legend]

## Public Member Functions
| testClassification ()

## Static Public Member Functions
static | setUpBeforeClass ()
| Prior to running any of the tests, this function is run. More...
static | tearDownAfterClass ()
| After to running the tests, this function is run. More...

## Static Protected Attributes
static | $TestFieldIds
static | $TestFields

## Detailed Description

Definition at line 3 of file ControlledName--Test.php.

## Member Function Documentation

static ControlledName_Test::setUpBeforeClass | ( |  | ) |
| static

Prior to running any of the tests, this function is run.

It creates all of the test Metadata fields and adds them to class variables $TestFieldIds and $TestFields so each function may use them.

Definition at line 14 of file ControlledName--Test.php.

References MetadataSchema\MDFTYPE_TREE, and MetadataSchema\SCHEMAID_DEFAULT.

static ControlledName_Test::tearDownAfterClass | ( |  | ) |
| static

After to running the tests, this function is run.

It deletes all of the test Metadata fields.

Definition at line 45 of file ControlledName--Test.php.

References MetadataSchema\SCHEMAID_DEFAULT.

ControlledName_Test::testClassification | ( |  | ) |

Definition at line 65 of file ControlledName--Test.php.

References ControlledName\SearchForControlledName(), ControlledName\STATUS_EXISTS, ControlledName\STATUS_INVALID_ID, and ControlledName\STATUS_OK.

## Member Data Documentation

ControlledName_Test::$TestFieldIds
| static protected

Definition at line 5 of file ControlledName--Test.php.

ControlledName_Test::$TestFields
| static protected

Definition at line 6 of file ControlledName--Test.php.

The documentation for this class was generated from the following file:

- objects/tests/ControlledName--Test.php