PHP Unit Testing Framework 1
A Unit testing framework for PHP.
Static Public Member Functions

EventType Class Reference

Enumerated type to indicate type of event. More...

Static Public Member Functions

static PASS ()
static PASS_MSG ()
static FAIL ()
static FAIL_MSG ()
static ERROR ()
static USER_MSG ()
static SYS_MSG ()
static EXCEPTION_THROWN ()
static START_SETUP ()
static END_SETUP ()
static START_RUN ()
static END_RUN ()
static START_TEAR_DOWN ()
static END_TEAR_DOWN ()

Detailed Description

Enumerated type to indicate type of event.

An enumerate type to specify the type of event that is stored in the test case report. The static members return an object of type EventType that will be stored in the Event class.

Definition at line 166 of file php_unit_test.php.


Member Function Documentation

static END_RUN ( ) [static]

A time marker indicating the end of the run phase.

Definition at line 275 of file php_unit_test.php.

static END_SETUP ( ) [static]

A time marker indicating the end of the set up phase.

Definition at line 259 of file php_unit_test.php.

static END_TEAR_DOWN ( ) [static]

A time marker indicating the end of the tear down phase.

Definition at line 291 of file php_unit_test.php.

static ERROR ( ) [static]

Indicates that the assert cannot be carried out (i.e. fix your code).

Definition at line 215 of file php_unit_test.php.

static EXCEPTION_THROWN ( ) [static]

Indicates the an exception is thrown during one of the steps of the test case and the exception was not caught.

Definition at line 242 of file php_unit_test.php.

static FAIL ( ) [static]

Indicates that the assert has evaluated to false.

Definition at line 198 of file php_unit_test.php.

static FAIL_MSG ( ) [static]

Indicates a fail message.

Definition at line 206 of file php_unit_test.php.

static PASS ( ) [static]

Indicates the the assert evaluates to true.

Definition at line 182 of file php_unit_test.php.

static PASS_MSG ( ) [static]

Indicates a pass message.

Definition at line 190 of file php_unit_test.php.

static START_RUN ( ) [static]

A time marker indicating the start of the run phase.

Definition at line 267 of file php_unit_test.php.

static START_SETUP ( ) [static]

A time marker indicating the start of the set up phase.

Definition at line 250 of file php_unit_test.php.

static START_TEAR_DOWN ( ) [static]

A time marker indicating the start of the tear down phase.

Definition at line 283 of file php_unit_test.php.

static SYS_MSG ( ) [static]

Indicates that the event is a system message - i.e. indicating steps with the test case.

Definition at line 232 of file php_unit_test.php.

static USER_MSG ( ) [static]

Indicates the the event is a user defined message. Used for commentary.

Definition at line 223 of file php_unit_test.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables

© 2011, Ed Heal