mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Rename test classes to fix #253
This commit is contained in:
@@ -39,7 +39,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @copyright Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class calendar_test extends advanced_testcase {
|
||||
class auth_outage_calendar_test extends advanced_testcase {
|
||||
/**
|
||||
* @var outage|null The calendar entry owner.
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once(__DIR__.'/../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class outagedb_test extends auth_outage_base_testcase {
|
||||
class auth_outage_outagedb_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Creates an array of ids in from the given outages array.
|
||||
* @param outage[] $outages An array of outages.
|
||||
|
||||
@@ -39,7 +39,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @copyright Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class events_test extends advanced_testcase {
|
||||
class auth_outage_events_test extends advanced_testcase {
|
||||
/**
|
||||
* @var outage|null Outage used in the tests.
|
||||
*/
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once(__DIR__.'/../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class forms_test extends auth_outage_base_testcase {
|
||||
class auth_outage_forms_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Create a delete form.
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ require_once(__DIR__.'/base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class installation_test extends auth_outage_base_testcase {
|
||||
class auth_outage_installation_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Checks if plugin cleans up data after uninstall.
|
||||
*
|
||||
|
||||
@@ -35,7 +35,7 @@ require_once(__DIR__.'/../../lib.php');
|
||||
* @copyright 2017 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class lib_test extends auth_outage_base_testcase {
|
||||
class auth_outage_lib_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Test this plugin gets climaintenance resource file.
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once(__DIR__.'/cli_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class cli_test extends auth_outage_cli_testcase {
|
||||
class auth_outage_cli_test extends auth_outage_cli_testcase {
|
||||
/**
|
||||
* Tests providing an unknown parameter.
|
||||
*/
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once(__DIR__.'/cli_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class create_test extends auth_outage_cli_testcase {
|
||||
class auth_outage_create_test extends auth_outage_cli_testcase {
|
||||
/**
|
||||
* Tests without any arguments.
|
||||
*/
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once(__DIR__.'/cli_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class finish_test extends auth_outage_cli_testcase {
|
||||
class auth_outage_finish_test extends auth_outage_cli_testcase {
|
||||
/**
|
||||
* Tests the constructor.
|
||||
*/
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once(__DIR__.'/cli_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class waitforit_test extends auth_outage_cli_testcase {
|
||||
class auth_outage_waitforit_test extends auth_outage_cli_testcase {
|
||||
/**
|
||||
* Tests the constructor.
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once(__DIR__.'/../../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class infopagecontroller_test extends auth_outage_base_testcase {
|
||||
class auth_outage_infopagecontroller_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Tests the constructor.
|
||||
*/
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once(__DIR__.'/../../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class maintenance_static_page_test extends auth_outage_base_testcase {
|
||||
class auth_outage_maintenance_static_page_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Test template file.
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ require_once(__DIR__.'/../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class outage_test extends auth_outage_base_testcase {
|
||||
class auth_outage_outage_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Tests the constructor.
|
||||
*/
|
||||
|
||||
@@ -41,7 +41,7 @@ require_once(__DIR__.'/../base_testcase.php');
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class outagelib_test extends auth_outage_base_testcase {
|
||||
class auth_outage_outagelib_test extends auth_outage_base_testcase {
|
||||
/**
|
||||
* Check if maintenance message is disabled as needed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user