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,25 +37,25 @@ 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',
'coverageOnly', 'coverageAll',
'startsession', 'coverageModule',
'endsession', 'coverageOnly',
'cleanupdb', 'startsession',
'module', 'endsession',
'all', 'cleanupdb',
'build', 'module',
'only' 'all',
'build',
'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.