D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
php56
/
usr
/
share
/
pear
/
test
/
XML_Util
/
tests
/
Filename :
AbstractUnitTests.php
back
Copy
<?php /* * Allow for PHPUnit 4.* while XML_Util is still usable on PHP 5.4 */ if (!class_exists('PHPUnit_Framework_TestCase')) { class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {} } abstract class AbstractUnitTests extends \PHPUnit_Framework_TestCase { public function setUp() { // ensure the class is defined, and thus its constants are declared new XML_Util(); } }