__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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/>.
namespace tool_brickfield;
/**
* Class tool_brickfield_manager_test
*
* @package tool_brickfield
* @copyright 2020 onward: Brickfield Education Labs, https://www.brickfield.ie
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
final class manager_test extends \advanced_testcase {
/**
* Tests for the function manager::get_all_areas()
*/
public function test_get_areas(): void {
$this->resetAfterTest();
$areas = manager::get_all_areas();
$areaclassnames = array_map('get_class', $areas);
// Make sure the list of areas contains some known areas.
$this->assertContains(\tool_brickfield\local\areas\mod_assign\intro::class, $areaclassnames);
$this->assertContains(\tool_brickfield\local\areas\core_question\questiontext::class, $areaclassnames);
$this->assertContains(\tool_brickfield\local\areas\mod_choice\option::class, $areaclassnames);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| behat | Folder | 0777 |
|
|
| generator | Folder | 0777 |
|
|
| local | Folder | 0777 |
|
|
| accessibility_test.php | File | 3.53 KB | 0777 |
|
| area_test.php | File | 11.02 KB | 0777 |
|
| area_test_base.php | File | 3.42 KB | 0777 |
|
| filters_test.php | File | 7.2 KB | 0777 |
|
| manager_test.php | File | 1.61 KB | 0777 |
|
| registration_test.php | File | 8.04 KB | 0777 |
|
| scheduler_test.php | File | 10.75 KB | 0777 |
|
| tool_test.php | File | 7.45 KB | 0777 |
|