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

Public Member Functions

 __construct ($showsearch, $test_name=null, $performcoverage=false, $coveragename= 'Code Coverage Report', $coveragedir= 'report')
 addTestFile ($file, $internalcall=false)
 add_coverage_include_path ($path)
 add_coverage_exclude_path ($path)
 run (&$simpletestreporter)
 run_with_external_coverage (&$simpletestreporter, &$covrecorder)

Detailed Description

Definition at line 55 of file simpletestcoveragelib.php.


Constructor & Destructor Documentation

__construct ( showsearch,
test_name = null,
performcoverage = false,
coveragename = 'Code Coverage Report',
coveragedir = 'report' 
)

Definition at line 63 of file simpletestcoveragelib.php.


Member Function Documentation

Definition at line 112 of file simpletestcoveragelib.php.

Here is the caller graph for this function:

Definition at line 103 of file simpletestcoveragelib.php.

Here is the caller graph for this function:

addTestFile ( file,
internalcall = false 
)

Reimplemented from AutoGroupTest.

Definition at line 74 of file simpletestcoveragelib.php.

Here is the call graph for this function:

run ( &$  simpletestreporter)

Run the autogroup_test_coverage using one internally defined code coverage reporter automatically generating the coverage report. Only supports one instrumentation to be executed and reported.

Reimplemented from AutoGroupTest.

Definition at line 126 of file simpletestcoveragelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

run_with_external_coverage ( &$  simpletestreporter,
&$  covrecorder 
)

Run the autogroup_test_coverage tests using one externally defined code coverage reporter allowing further process of coverage data once tests are over. Supports multiple instrumentations (code coverage gathering sessions) to be executed.

Definition at line 151 of file simpletestcoveragelib.php.

Here is the call graph for this function:


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