!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/apex_tdfonline/php/modelo/lib/testing_unitario/   drwxr-xr-x
Free 14.36 GB of 61.93 GB (23.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_test_grupo_casos.php (1.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once(toba_dir() . '/php/3ros/simpletest/test_case.php');

class 
toba_test_grupo_casos extends GroupTest
{
    protected 
$separar_casos=false;
    protected 
$separar_pruebas=false;
    
    function 
__construct($descripcion$separar_casos=false$separar_pruebas=false)
    {
        
parent::GroupTest($descripcion);
        
$this->separar_casos $separar_casos;
        
$this->separar_pruebas $separar_pruebas;
    }
    
    function 
run(&$reporter)
    {
        
$reporter->paintGroupStart($this->getLabel(), $this->getSize());
        for (
$i 0$count count($this->_test_cases); $i $count$i++) {
            if(
$this->separar_casos) {
                
toba::logger()->debug(    "\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%".
                                        
"\n%%%%%%%%%%% INICIO caso: ".$this->_test_cases[$i]->getLabel()." %%%%%%%%%%%%%%%%%%%".
                                        
"\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"
                                    
'toba');
            }
            if (
is_string($this->_test_cases[$i])) {
                
$class $this->_test_cases[$i];
                
$test = new $class();
                if(
$this->separar_pruebas) {
                    
$test->separar_pruebas(true);
                }
                
$test->run($reporter);
            } else {
                if(
$this->separar_pruebas) {
                    
$this->_test_cases[$i]->separar_pruebas(true);
                }
                
$this->_test_cases[$i]->run($reporter);
            }
            if(
$this->separar_casos) {
                
toba::logger()->debug(    "\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%".
                                        
"\n%%%%%%%%%%% FIN caso: ".$this->_test_cases[$i]->getLabel()." %%%%%%%%%%%%%%%%%%%".
                                        
"\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"
                                    
'toba');
            }
        }
        
$reporter->paintGroupEnd($this->getLabel());
        return 
$reporter->getStatus();
    }    
}
?>

:: 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.594 ]--