!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/test/HTML_Progress/tests/   drwxr-xr-x
Free 13.59 GB of 61.93 GB (21.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TestUnit.php (1.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * TestUnit runs a TestSuite and returns a TestResult object.
 * And more than PHPUnit attach a listener to TestResult.
 *
 * @version    $Id: TestUnit.php,v 1.3 2005/08/28 15:05:20 farell Exp $
 * @author     Laurent Laville <pear@laurent-laville.org>
 * @package    HTML_Progress
 * @ignore
 */

require_once 'PHPUnit.php';

/**
 * @ignore
 */
class TestUnit extends PHPUnit
{
    function &
run(&$suite$listener)
    {
        
$result = new TestResult();
        
$result->addListener($listener);
        
$suite->run($result);

        return 
$result;
    }
}

/**
 * @ignore
 */
class TestResult extends PHPUnit_TestResult
{
    
/* report result of test run */
    
function report()
    {
        echo 
"</TABLE>";

        
$nRun $this->runCount();
        
$nErrors $this->errorCount();
        
$nFailures $this->failureCount();
        echo 
"<h2>Summary</h2>";

        
printf("<p>%s test%s run.<br>"$nRun, ($nRun 1) ? 's' '');
        
printf("%s error%s.<br>\n"$nErrors, ($nErrors 1) ? 's' '');
        
printf("%s failure%s.<br>\n"$nFailures, ($nFailures 1) ? 's' '');
        if (
$nFailures 0) {
            echo 
"<h2>Failure Details</h2>";
            print(
"<ol>\n");
            
$failures $this->failures();
            while (list(
$i$failure) = each($failures)) {
                
$failedTest $failure->failedTest();
                
printf("<li>%s\n"$failedTest->getName() );
                print(
"<ul>");
                
printf("<li>%s\n"$failure->thrownException() );
                print(
"</ul>");
            }
            print(
"</ol>\n");
        }
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4914 ]--