!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/var/www/html/wincloud_gateway/node_modules/loglevel/test/   drwxr-xr-x
Free 13.33 GB of 57.97 GB (22.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     integration-smoke-test.js (2.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";

define(['../lib/loglevel', 'test/test-helpers'], function(log, testHelpers) {
    var describeIf = testHelpers.describeIf;
    var itIf = testHelpers.itIf;

    describe("Integration smoke tests:", function() {
        describe("log methods", function() {
            it("can all be disabled", function() {
                log.setLevel(log.levels.SILENT);
                log.trace("trace");
                log.debug("debug");
                log.log("log");
                log.info("info");
                log.warn("warn");
                log.error("error");
            });
        });

        describeIf(typeof console !== "undefined", "log methods", function() {
            it("can all be called", function() {
                if (typeof console !== "undefined") {
                    log.setLevel(log.levels.TRACE);
                }

                log.trace("trace");
                log.debug("debug");
                log.log("log");
                log.info("info");
                log.warn("warn");
                log.error("error");
            });
        });

        describeIf(typeof console !== "undefined", "log levels", function() {
            beforeEach(function() {
                this.addMatchers({
                    "toBeTheStoredLevel" : testHelpers.toBeTheStoredLevel
                });
            });

            it("are all settable", function() {
                log.setLevel(log.levels.TRACE);
                log.setLevel(log.levels.DEBUG);
                log.setLevel(log.levels.INFO);
                log.setLevel(log.levels.WARN);
                log.setLevel(log.levels.ERROR);
            });

            itIf(testHelpers.isAnyLevelStoragePossible(), "are persisted", function() {
                log.setLevel(log.levels.TRACE);
                expect('trace').toBeTheStoredLevel();

                log.setLevel(log.levels.DEBUG);
                expect('debug').toBeTheStoredLevel();

                log.setLevel(log.levels.INFO);
                expect('info').toBeTheStoredLevel();

                log.setLevel(log.levels.WARN);
                expect('warn').toBeTheStoredLevel();

                log.setLevel(log.levels.ERROR);
                expect('error').toBeTheStoredLevel();

                log.setLevel(log.levels.SILENT);
                expect('silent').toBeTheStoredLevel();
            });
        });
    });
});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0067 ]--