php-8.3.3-mac/lib/php/pear/test/XML_Util/tests/AbstractUnitTests.php

18 lines
424 B
PHP
Raw Permalink Normal View History

2024-03-11 14:31:54 +03:00
<?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();
}
}