2010-10-19 05:06:55 +02:00
|
|
|
<?php
|
2010-10-19 05:35:14 +02:00
|
|
|
/**
|
2012-04-12 08:02:46 +02:00
|
|
|
* @package framework
|
2010-10-19 05:35:14 +02:00
|
|
|
* @subpackage dev
|
|
|
|
*/
|
2010-10-19 05:06:55 +02:00
|
|
|
|
2014-05-02 05:05:20 +02:00
|
|
|
class PhpUnitWrapper_3_5 extends PhpUnitWrapper_Generic {
|
2010-10-19 05:06:55 +02:00
|
|
|
|
2014-05-02 05:05:20 +02:00
|
|
|
public function getVersion() {
|
|
|
|
return 'PhpUnit V3.5';
|
2010-10-19 05:06:55 +02:00
|
|
|
}
|
|
|
|
|
2010-10-19 05:35:14 +02:00
|
|
|
/**
|
|
|
|
* Initialise the wrapper class.
|
|
|
|
*/
|
2010-10-19 05:06:55 +02:00
|
|
|
public function init() {
|
2013-01-23 02:30:08 +01: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-10-19 05:06:55 +02:00
|
|
|
}
|
2010-10-19 05:35:14 +02:00
|
|
|
|
2012-03-24 04:38:57 +01:00
|
|
|
}
|