mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 09:23:09 +02:00
MDL-73799 phpunit: Move some test names, as agreed in the issue
- behaviourtype_test => behaviour_type_test (10) - questiontype_test => question_type_test (16) - upgradelibnewqe_test => upgrade_old_attempt_data_test (13)
This commit is contained in:
parent
68b4a13cec
commit
b3c4bd6250
question
behaviour
adaptive/tests
deferredcbm/tests
deferredfeedback/tests
immediatecbm/tests
immediatefeedback/tests
informationitem/tests
interactive/tests
interactivecountback/tests
manualgraded/tests
missing/tests
type
calculated/tests
calculatedmulti/tests
calculatedsimple/tests
ddimageortext/tests
ddmarker/tests
ddwtos/tests
description/tests
essay/tests
gapselect/tests
match/tests
multianswer/tests
multichoice/tests
numerical/tests
random/tests
randomsamatch/tests
shortanswer/tests
tests
truefalse/tests
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_adaptive_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \qbehaviour_walkthrough_test_base {
|
||||
class behaviour_type_test extends \qbehaviour_walkthrough_test_base {
|
||||
|
||||
/** @var qbehaviour_deferredcbm_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \qbehaviour_walkthrough_test_base {
|
||||
class behaviour_type_test extends \qbehaviour_walkthrough_test_base {
|
||||
|
||||
/** @var qbehaviour_deferredfeedback_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \qbehaviour_walkthrough_test_base {
|
||||
class behaviour_type_test extends \qbehaviour_walkthrough_test_base {
|
||||
|
||||
/** @var qbehaviour_immediatecbm_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_immediatefeedback_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_informationitem_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_interactive_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_interactivecountback_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_manualgraded_type */
|
||||
protected $behaviourtype;
|
@ -33,7 +33,7 @@ require_once(__DIR__ . '/../../../engine/tests/helpers.php');
|
||||
* @copyright 2015 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class behaviourtype_test extends \basic_testcase {
|
||||
class behaviour_type_test extends \basic_testcase {
|
||||
|
||||
/** @var qbehaviour_missing_type */
|
||||
protected $behaviourtype;
|
@ -38,7 +38,7 @@ require_once($CFG->dirroot . '/question/type/calculated/tests/helper.php');
|
||||
* @covers \question_type
|
||||
* @covers \qtype_calculated
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $tolerance = 0.00000001;
|
||||
protected $qtype;
|
||||
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
public function test_calculated_adaptive_qsession97() {
|
||||
$quiz = (object) array(
|
||||
'id' => '4',
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
public function test_calculatedmulti_adaptive_qsession96() {
|
||||
$quiz = (object) array(
|
||||
'id' => '4',
|
@ -44,7 +44,7 @@ require_once($CFG->dirroot . '/question/type/calculatedsimple/edit_calculatedsim
|
||||
* @covers \qtype_calculatedsimple_edit_form
|
||||
*
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
public function test_calculatedsimple_adaptive_qsession95() {
|
||||
$quiz = (object) array(
|
||||
'id' => '4',
|
@ -32,7 +32,7 @@ require_once($CFG->dirroot . '/question/type/ddimageortext/tests/helper.php');
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \basic_testcase {
|
||||
class question_type_test extends \basic_testcase {
|
||||
/** @var qtype_ddimageortext instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
@ -32,7 +32,7 @@ require_once($CFG->dirroot . '/question/type/ddmarker/tests/helper.php');
|
||||
* @copyright 2012 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
/** @var qtype_ddmarker instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
2
question/type/ddwtos/tests/questiontype_test.php → question/type/ddwtos/tests/question_type_test.php
2
question/type/ddwtos/tests/questiontype_test.php → question/type/ddwtos/tests/question_type_test.php
@ -35,7 +35,7 @@ require_once($CFG->dirroot . '/question/type/ddwtos/tests/helper.php');
|
||||
* @copyright 2012 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \question_testcase {
|
||||
class question_type_test extends \question_testcase {
|
||||
/** @var qtype_ddwtos instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
@ -35,7 +35,7 @@ require_once($CFG->dirroot . '/question/type/description/edit_description_form.p
|
||||
* @copyright 2013 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_description_deferredfeedback_history80() {
|
||||
$quiz = (object) array(
|
2
question/type/essay/tests/questiontype_test.php → question/type/essay/tests/question_type_test.php
2
question/type/essay/tests/questiontype_test.php → question/type/essay/tests/question_type_test.php
@ -31,7 +31,7 @@ require_once($CFG->dirroot . '/question/type/essay/questiontype.php');
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_essay_deferredfeedback_history98220() {
|
||||
$quiz = (object) array(
|
@ -34,7 +34,7 @@ require_once($CFG->dirroot . '/question/engine/tests/helpers.php');
|
||||
* @copyright 2012 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \question_testcase {
|
||||
class question_type_test extends \question_testcase {
|
||||
/** @var qtype_gapselect instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
2
question/type/match/tests/questiontype_test.php → question/type/match/tests/question_type_test.php
2
question/type/match/tests/questiontype_test.php → question/type/match/tests/question_type_test.php
@ -37,7 +37,7 @@ require_once($CFG->dirroot . '/question/type/match/edit_match_form.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
/** @var qtype_match instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_match_deferredfeedback_history6220() {
|
||||
$quiz = (object) array(
|
@ -37,7 +37,7 @@ require_once($CFG->dirroot . '/question/type/multianswer/edit_multianswer_form.p
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
/** @var qtype_multianswer instance of the question type class to test. */
|
||||
protected $qtype;
|
||||
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
public function test_multianswer_adaptivenopenalty_qsession104() {
|
||||
$quiz = (object) array(
|
||||
'id' => '5',
|
@ -35,7 +35,7 @@ require_once($CFG->dirroot . '/question/type/multichoice/edit_multichoice_form.p
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_multichoice_deferredfeedback_history960() {
|
||||
$quiz = (object) array(
|
@ -38,7 +38,7 @@ require_once($CFG->dirroot . '/question/type/numerical/edit_numerical_form.php')
|
||||
* @covers \question_type
|
||||
* @covers \qtype_numerical
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $tolerance = 0.00000001;
|
||||
protected $qtype;
|
||||
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_numerical_deferredfeedback_history620() {
|
||||
$quiz = (object) array(
|
2
question/type/random/tests/questiontype_test.php → question/type/random/tests/question_type_test.php
2
question/type/random/tests/questiontype_test.php → question/type/random/tests/question_type_test.php
@ -33,7 +33,7 @@ require_once($CFG->dirroot . '/question/type/random/questiontype.php');
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_random_deferredfeedback_history620() {
|
||||
$quiz = (object) array(
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2013 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
public function test_randomsamatch_deferredfeedback_qsession1() {
|
||||
$quiz = (object) array(
|
||||
'id' => '1',
|
@ -38,7 +38,7 @@ require_once($CFG->dirroot . '/question/type/shortanswer/edit_shortanswer_form.p
|
||||
* @covers \question_type
|
||||
* @covers \qtype_shortanswer
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_shortanswer_deferredfeedback_history620() {
|
||||
$quiz = (object) array(
|
@ -33,7 +33,7 @@ require_once($CFG->dirroot . '/question/type/questiontypebase.php');
|
||||
*
|
||||
* @covers \question_type
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
public function test_save_question_name() {
|
||||
$this->resetAfterTest();
|
||||
|
@ -36,7 +36,7 @@ require_once($CFG->dirroot . '/question/type/truefalse/edit_truefalse_form.php')
|
||||
* @copyright 2007 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class questiontype_test extends \advanced_testcase {
|
||||
class question_type_test extends \advanced_testcase {
|
||||
protected $qtype;
|
||||
|
||||
protected function setUp(): void {
|
@ -29,7 +29,7 @@ require_once($CFG->dirroot . '/question/engine/upgrade/tests/helper.php');
|
||||
* @copyright 2009 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class upgradelibnewqe_test extends \question_attempt_upgrader_test_base {
|
||||
class upgrade_old_attempt_data_test extends \question_attempt_upgrader_test_base {
|
||||
|
||||
public function test_truefalse_deferredfeedback_history620() {
|
||||
$quiz = (object) array(
|
Loading…
x
Reference in New Issue
Block a user