BUGFIX Allowing actions related to coverage tests

This commit is contained in:
Sean Harvey 2012-05-18 16:05:05 +12:00
parent 4f42b2e773
commit b65dff0fbe

View File

@ -37,13 +37,15 @@ class TestRunner extends Controller {
'module/$ModuleName' => 'module', 'module/$ModuleName' => 'module',
'all' => 'all', 'all' => 'all',
'build' => 'build', 'build' => 'build',
'$TestCase' => 'only', '$TestCase' => 'only'
); );
static $allowed_actions = array( static $allowed_actions = array(
'index', 'index',
'browse', 'browse',
'coverage', 'coverage',
'coverageAll',
'coverageModule',
'coverageOnly', 'coverageOnly',
'startsession', 'startsession',
'endsession', 'endsession',
@ -54,8 +56,6 @@ class TestRunner extends Controller {
'only' 'only'
); );
/** /**
* @var Array Blacklist certain directories for the coverage report. * @var Array Blacklist certain directories for the coverage report.
* Filepaths are relative to the webroot, without leading slash. * Filepaths are relative to the webroot, without leading slash.