mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API remove obsolete class loaders from test listeners
This commit is contained in:
parent
e74665b639
commit
9662d938f3
@ -1,4 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
if(!class_exists('SapphireTestReporter')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test reporter optimised for CLI (ie, plain-text) output
|
* Test reporter optimised for CLI (ie, plain-text) output
|
||||||
*
|
*
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if(!class_exists('PHPUnit_Framework_TestResult', false)) {
|
|
||||||
require_once 'PHPUnit/Framework/TestResult.php';
|
if(!interface_exists('PHPUnit_Framework_TestListener')) {
|
||||||
}
|
return;
|
||||||
if(!class_exists('PHPUnit_Framework_TestListener', false)) {
|
|
||||||
require_once 'PHPUnit/Framework/TestListener.php';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**#@+
|
/**#@+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user