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
Classification_Test Class Reference
Inheritance diagram for Classification_Test:
[legend]
Collaboration diagram for Classification_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 Classification--Test.php.

## Member Function Documentation

static Classification_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 Classification--Test.php.

References MetadataSchema\MDFTYPE_TREE, and MetadataSchema\SCHEMAID_DEFAULT.

static Classification_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 Classification--Test.php.

References MetadataSchema\SCHEMAID_DEFAULT.

Classification_Test::testClassification | ( |  | ) |

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

References Classification\Create(), Classification\NOPARENT, and Classification\SegmentsCreated().

## Member Data Documentation

Classification_Test::$TestFieldIds
| staticprotected

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

Classification_Test::$TestFields
| staticprotected

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

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

- objects/tests/Classification--Test.php