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