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


Viewing file:     pager_sliding_notExpanded_test.php (1.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: pager_sliding_notExpanded_test.php,v 1.2 2004/04/29 20:18:10 quipo Exp $

require_once 'simple_include.php';
require_once 
'pager_include.php';

class 
TestOfPagerSlidingNotExpanded extends UnitTestCase {
    var 
$pager;
    function 
TestOfPagerSlidingNotExpanded($name='Test of Pager_Sliding - expanded=false') {
        
$this->UnitTestCase($name);
    }
    function 
setUp() {
        
$options = array(
            
'itemData' => array(123456789101112131415161718192021),
            
'perPage'  => 2,
            
'mode'     => 'Sliding',
            
'expanded' => false
        
);
        
$this->pager = new Pager($options);
    }
    function 
tearDown() {
        unset(
$this->pager);
    }
    function 
testPageRangeByPageId1() {
        
$this->assertEqual(array(13), $this->pager->getPageRangeByPageId(1));
    }
    function 
testPageRangeByPageId2() {
        
$this->assertEqual(array(14), $this->pager->getPageRangeByPageId(2));
    }
    function 
testPageRangeByPageId3() {
        
$this->assertEqual(array(15), $this->pager->getPageRangeByPageId(3));
    }
    function 
testPageRangeByPageId4() {
        
$this->assertEqual(array(26), $this->pager->getPageRangeByPageId(4));
    }
    function 
testPageRangeByPageId9() {
        
$this->assertEqual(array(711), $this->pager->getPageRangeByPageId(9));
    }
    function 
testPageRangeByPageId10() {
        
$this->assertEqual(array(811), $this->pager->getPageRangeByPageId(10));
    }
    function 
testPageRangeByPageId11() {
        
$this->assertEqual(array(911), $this->pager->getPageRangeByPageId(11));
    }
    function 
testPageRangeByPageId_outOfRange() {
        
$this->assertEqual(array(00), $this->pager->getPageRangeByPageId(20));
    }
}
?>

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