Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
XML_Parser /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
001.phpt
1.28
KB
-rw-r--r--
002.phpt
1.29
KB
-rw-r--r--
003.phpt
1.36
KB
-rw-r--r--
004b.phpt
695
B
-rw-r--r--
004.phpt
694
B
-rw-r--r--
005.phpt
2.26
KB
-rw-r--r--
AllTests.php
3.57
KB
-rw-r--r--
bug-9328b.phpt
911
B
-rw-r--r--
bug-9328c.phpt
914
B
-rw-r--r--
bug-9328d.phpt
872
B
-rw-r--r--
bug-9328.phpt
836
B
-rw-r--r--
test2.xml
39
B
-rw-r--r--
test3.xml
39
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AllTests.php
<?php /** * Master Unit Test Suite file for XML_Parser * * This top-level test suite file organizes * all class test suite files, * so that the full suite can be run * by PhpUnit or via "pear run-tests -u". * * PHP version 5 * * @category XML * @package XML_Parser * @subpackage UnitTesting * @author Chuck Burgess <ashnazg@php.net> * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @version CVS: $Id: AllTests.php 274147 2009-01-22 00:23:26Z ashnazg $ * @link http://pear.php.net/package/XML_Parser * @since 1.3.2 */ /** * Check PHP version... PhpUnit v3+ requires at least PHP v5.1.4 */ if (version_compare(PHP_VERSION, "5.1.4") < 0) { // Cannnot run test suites echo 'Cannot run test suite via PhpUnit... requires at least PHP v5.1.4.' . PHP_EOL; echo 'Use "pear run-tests -p xml_util" to run the PHPT tests directly.' . PHP_EOL ; exit(1); } /** * Derive the "main" method name * @internal PhpUnit would have to rename PHPUnit_MAIN_METHOD to PHPUNIT_MAIN_METHOD * to make this usage meet the PEAR CS... we cannot rename it here. */ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'XML_Parser_AllTests::main'); } /* * Files needed by PhpUnit */ require_once 'PHPUnit/Framework.php'; require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'PHPUnit/Extensions/PhptTestSuite.php'; /* * You must add each additional class-level test suite file here */ // there are no PhpUnit test files... only PHPTs.. so nothing is listed here /** * directory where PHPT tests are located */ define('XML_PARSER_DIR_PHPT', dirname(__FILE__)); /** * Master Unit Test Suite class for XML_Parser * * This top-level test suite class organizes * all class test suite files, * so that the full suite can be run * by PhpUnit or via "pear run-tests -up xml_util". * * @category XML * @package XML_Parser * @subpackage UnitTesting * @author Chuck Burgess <ashnazg@php.net> * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @version Release: @package_version@ * @link http://pear.php.net/package/XML_Parser * @since 1.2.0a1 */ class XML_Parser_AllTests { /** * Launches the TextUI test runner * * @return void * @uses PHPUnit_TextUI_TestRunner */ public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } /** * Adds all class test suites into the master suite * * @return PHPUnit_Framework_TestSuite a master test suite * containing all class test suites * @uses PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite( 'XML_Parser Full Suite of Unit Tests'); /* * You must add each additional class-level test suite name here */ // there are no PhpUnit test files... only PHPTs.. so nothing is listed here /* * add PHPT tests */ $phpt = new PHPUnit_Extensions_PhptTestSuite(XML_PARSER_DIR_PHPT); $suite->addTestSuite($phpt); return $suite; } } /** * Call the main method if this file is executed directly * @internal PhpUnit would have to rename PHPUnit_MAIN_METHOD to PHPUNIT_MAIN_METHOD * to make this usage meet the PEAR CS... we cannot rename it here. */ if (PHPUnit_MAIN_METHOD == 'XML_Parser_AllTests::main') { XML_Parser_AllTests::main(); } /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ ?>
Close