Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 592 Bytes
<?php
if (!defined('PHPUNIT_MAIN_METHOD')) {
define('PHPUNIT_MAIN_METHOD', 'Net_IPv4_AllTests::main');
}
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'IPv4Test.php';
class Net_IPv4_AllTests {
public static function main() {
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite();
$suite->addTestSuite('IPv4Test');
return $suite;
}
}
if (PHPUNIT_MAIN_METHOD == 'Net_IPv4_AllTests::main') {
Net_IPv4_AllTests::main();
}
Jump to Line
Something went wrong with that request. Please try again.