mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
26 lines
484 B
PHP
26 lines
484 B
PHP
<?php
|
|
/**
|
|
* @package sapphire
|
|
* @subpackage dev
|
|
*/
|
|
|
|
class PhpUnitWrapper_3_5 extends PhpUnitWrapper_Generic {
|
|
|
|
public function getVersion() {
|
|
return 'PhpUnit V3.5';
|
|
}
|
|
|
|
/**
|
|
* Initialise the wrapper class.
|
|
*/
|
|
public function init() {
|
|
if(!class_exists('PHPUnit_Framework_TestCase')) {
|
|
require_once 'PHP/CodeCoverage.php';
|
|
require_once 'PHP/CodeCoverage/Report/HTML.php';
|
|
require_once 'PHPUnit/Autoload.php';
|
|
require_once 'PHP/CodeCoverage/Filter.php';
|
|
}
|
|
}
|
|
|
|
}
|