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-04-17 15:14:51 +02:00
|
|
|
class PhpUnitWrapper_3_5 extends PhpUnitWrapper_Generic {
|
2010-10-19 05:06:55 +02:00
|
|
|
|
2014-04-17 15:14:51 +02:00
|
|
|
public function getVersion() {
|
|
|
|
return 'PhpUnit V3.5';
|
2010-10-19 05:06:55 +02:00
|
|
|
}
|
|
|
|
|
2014-08-15 08:53:05 +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:34:42 +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
|
|
|
}
|