mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Fix TestRunner coverage pattern to work as documented (Fixes QA scripts too) (from r100116)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105550 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
75b98970e4
commit
ba4ad49422
@ -40,7 +40,7 @@ class TestRunner extends Controller {
|
|||||||
static $url_handlers = array(
|
static $url_handlers = array(
|
||||||
'' => 'browse',
|
'' => 'browse',
|
||||||
'coverage/module/$ModuleName' => 'coverageModule',
|
'coverage/module/$ModuleName' => 'coverageModule',
|
||||||
'coverage/$TestCase' => 'coverageOnly',
|
'coverage/$TestCase!' => 'coverageOnly',
|
||||||
'coverage' => 'coverageAll',
|
'coverage' => 'coverageAll',
|
||||||
'startsession' => 'startsession',
|
'startsession' => 'startsession',
|
||||||
'endsession' => 'endsession',
|
'endsession' => 'endsession',
|
||||||
@ -391,14 +391,14 @@ HTML;
|
|||||||
|
|
||||||
// This class is here to help with documentation.
|
// This class is here to help with documentation.
|
||||||
if(!hasPhpUnit()) {
|
if(!hasPhpUnit()) {
|
||||||
/**
|
/**
|
||||||
* PHPUnit is a testing framework that can be installed using PEAR.
|
* PHPUnit is a testing framework that can be installed using PEAR.
|
||||||
* It's not bundled with Sapphire, you will need to install it yourself.
|
* It's not bundled with Sapphire, you will need to install it yourself.
|
||||||
*
|
*
|
||||||
* @package sapphire
|
* @package sapphire
|
||||||
* @subpackage testing
|
* @subpackage testing
|
||||||
*/
|
*/
|
||||||
class PHPUnit_Framework_TestCase {
|
class PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user