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