2010-09-21 22:29:05 +02:00
|
|
|
<?php
|
2010-09-21 22:29:07 +02:00
|
|
|
/**
|
|
|
|
* @package sapphire
|
|
|
|
* @subpackage dev
|
|
|
|
*/
|
2010-09-21 22:29:05 +02:00
|
|
|
|
2014-04-17 15:14:51 +02:00
|
|
|
class PhpUnitWrapper_3_5 extends PhpUnitWrapper_Generic {
|
2010-09-21 22:29:05 +02:00
|
|
|
|
2014-04-17 15:14:51 +02:00
|
|
|
public function getVersion() {
|
|
|
|
return 'PhpUnit V3.5';
|
2010-09-21 22:29:05 +02:00
|
|
|
}
|
|
|
|
|
2010-09-21 22:29:07 +02:00
|
|
|
/**
|
|
|
|
* Initialise the wrapper class.
|
|
|
|
*/
|
2010-09-21 22:29:05 +02:00
|
|
|
public function init() {
|
2014-04-17 15:14:51 +02:00
|
|
|
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';
|
2010-09-21 22:29:05 +02:00
|
|
|
}
|
|
|
|
}
|
2010-09-21 22:29:07 +02:00
|
|
|
|
2014-04-17 15:14:51 +02:00
|
|
|
}
|