Moodle  2.2.1
http://www.collinsharper.com
TestDoxReporter Class Reference
Inheritance diagram for TestDoxReporter:
Collaboration diagram for TestDoxReporter:

Public Member Functions

 TestDoxReporter ($test_case_pattern= '/^TestOf(.*)$/')
 paintCaseStart ($test_name)
 paintCaseEnd ()
 paintMethodStart ($test_name)
 paintMethodEnd ()
 paintFail ()

Data Fields

 $_test_case_pattern = '/^TestOf(.*)$/'

Detailed Description

Definition at line 3 of file testdox.php.


Member Function Documentation

Definition at line 21 of file testdox.php.

paintCaseStart ( test_name)

Paints the start of a test case. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.

Parameters:
string$test_nameName of test that is starting. public

Reimplemented from SimpleReporter.

Definition at line 12 of file testdox.php.

paintFail ( )

Definition at line 39 of file testdox.php.

Definition at line 35 of file testdox.php.

paintMethodStart ( test_name)

Paints the start of a test method.

Parameters:
string$test_nameName of test that is starting. public

Reimplemented from SimpleReporter.

Definition at line 25 of file testdox.php.

TestDoxReporter ( test_case_pattern = '/^TestOf(.*)$/')

Definition at line 7 of file testdox.php.

Here is the call graph for this function:


Field Documentation

$_test_case_pattern = '/^TestOf(.*)$/'

Definition at line 5 of file testdox.php.


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