-
Sub-task
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.6, 4.1.1
-
None
Some of these are following the refactor, others have just been broken for a long time.
Really broken
Multiple @coversDefaultClass in:
- mod/quiz/tests/quiz_question_restore_test.php
- question/bank/editquestion/tests/external/update_question_version_status_test.php
Warnings
4) mod_quiz\attempt_walkthrough_from_csv_test::test_walkthrough_from_csv with data set #0 (array('00', 'deferredfeedback'), array(array(array('1', 'random', '', 'rand', '1'), array('', 'shortanswer', '', 'rand', '1'), array('', 'numerical', '', 'rand', '1'), array('2', 'calculatedsimple', 'sumwithvariants', 'maincat', '1'), array('3', 'match', '', 'maincat', '1'), array('4', 'truefalse', '', 'maincat', '1'), array('5', 'multichoice', 'two_of_four', 'maincat', '1'), array('6', 'multichoice', 'one_of_four', 'maincat', '1'), array('7', 'multianswer', '', 'maincat', '1')), array(array('1', 'John', 'Jones', 'shortanswer', 'toad', '4', '19.4', 'amphibian', 'mammal', 'amphibian', '1', '0', '1', '1', '0', 'One', 'Pussy-cat', 'Bow-wow'), array('2', 'John', 'Smith', 'shortanswer', 'frog', '6', '-0.6', 'amphibian', 'mammal', 'amphibian', '1', '1', '1', '0', '0', 'Four', 'Dog', 'Pussy-cat'), array('3', 'John', 'Vicars', 'numerical', '3.142', '4', '19.4', 'amphibian', 'mammal', 'amphibian', '0', '0', '0', '1', '1', 'Two', 'Owl', 'Wiggly worm'), array('4', 'John', 'Pacino', 'numerical', '3.142', '6', '9.4', 'mammal', 'amphibian', 'amphibian', '1', '1', '0', '1', '0', 'One', 'Owl', 'Pussy-cat'), array('5', 'John', 'Deniro', 'shortanswer', 'frog', '9', '7.1', 'amphibian', 'mammal', 'amphibian', '1', '0', '0', '1', '1', 'One', 'Owl', 'Pussy-cat'), array('6', 'John', 'Banks', 'numerical', '3.1', '7', '9.1', 'amphibian', 'mammal', 'amphibian', '1', '1', '0', '0', '1', 'One', 'Owl', 'Pussy-cat'), array('7', 'John', 'Asimov', 'numerical', '2.5', '3', '-0.2', 'amphibian', 'mammal', 'amphibian', '0', '1', '1', '0', '0', 'Two', 'Dog', 'Wiggly worm'), array('8', 'John', 'Chomsky', 'shortanswer', 'toad', '2', '8.5', 'amphibian', 'mammal', 'amphibian', '1', '0', '0', '1', '1', 'One', 'Dog', 'Wiggly worm'), array('9', 'John', 'Yamaguchi', 'shortanswer', 'tadpole', '5', '-0.1', 'amphibian', 'amphibian', 'mammal', '0', '1', '1', '0', '0', 'One', 'Owl', 'Pussy-cat'), array('10', 'John', 'Robbins', 'shortanswer', 'toad', '7', '9.1', 'amphibian', 'mammal', 'amphibian', '1', '1', '0', '0', '1', 'One', 'Owl', 'Wiggly worm')), array(array('1', '0.8', '1', '1', '1', '0.5', '1', '0', '5.3'), array('2', '1', '0', '1', '1', '0.5', '0', '0.5', '4'), array('3', '0', '1', '1', '0', '0.5', '0', '0.5', '3'), array('4', '0', '1', '0.3333333', '1', '1', '1', '1', '5.33333'), array('5', '1', '1', '1', '1', '0.5', '1', '1', '6.5'), array('6', '0', '1', '1', '1', '0.5', '1', '1', '5.5'), array('7', '0', '0', '1', '0', '0.5', '0', '0', '1.5'), array('8', '0.8', '1', '1', '1', '0.5', '1', '0', '5.3'), array('9', '0', '0', '0.3333333', '0', '0.5', '1', '1', '2.83333'), array('10', '0.8', '1', '1', '1', '0.5', '1', '0.5', '5.8'))))
|
Unexpected debugging() call detected.
|
Debugging: Class 'quiz_attempt' has been renamed for the autoloader and is now deprecated. Please use 'mod_quiz\quiz_attempt' instead.
|
* line 145 of /lib/classes/component.php: call to debugging()
|
* line ? of unknownfile: call to core_component::classloader()
|
* line 324 of /vendor/sebastian/code-unit/src/Mapper.php: call to class_exists()
|
* line 74 of /vendor/sebastian/code-unit/src/Mapper.php: call to SebastianBergmann\CodeUnit\Mapper->isUserDefinedClass()
|
* line 654 of /vendor/phpunit/phpunit/src/Util/Test.php: call to SebastianBergmann\CodeUnit\Mapper->stringToCodeUnits()
|
* line 129 of /vendor/phpunit/phpunit/src/Util/Test.php: call to PHPUnit\Util\Test::getLinesToBeCoveredOrUsed()
|
* line 842 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to PHPUnit\Util\Test::getLinesToBeCovered()
|
* line 904 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
|
* line 673 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
|
* line 673 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
|
* line 673 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
|
* line 661 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
|
* line 144 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
|
* line 97 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
|
* line 98 of /vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
|
* line 123 of /vendor/bin/phpunit: call to include()
|
|
|
/Users/nicols/Sites/moodles/cover/moodle/lib/phpunit/classes/advanced_testcase.php:88
|
|
51) core_question\version_test::test_delete_question_delete_versions
|
"@covers \question_bank::question_delete_question" is invalid
|
|
52) core_question\version_test::test_delete_question_in_use
|
"@covers \question_bank::quiz_add_quiz_question" is invalid
|
|
53) core_question\version_test::test_move_category_with_questions
|
"@covers \question_bank::quiz_add_quiz_question" is invalid
|
|
114) mod_quiz\qbank_helper_test::test_get_question_structure
|
"@covers \mod_quiz\question\bank\qbank_helper::get_always_latest_version_question_ids" is invalid
|
|
115) mod_quiz\structure_test::test_get_version_choices_for_slot
|
"@covers ::get_question_version_info" is invalid
|
|
116) mod_quiz\structure_test::test_has_use_capability
|
"@covers ::has_use_capability" is invalid
|
|
168) quiz_overview\report_test::test_regrade_question
|
"@covers ::regrade_question" is invalid
|
|
169) quizaccess_seb\external\validate_quiz_access_test::test_invalid_parameters with data set "no params" (null, null, null, '/Invalid parameter value dete...mid\)/')
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
170) quizaccess_seb\external\validate_quiz_access_test::test_invalid_parameters with data set "no course module id" (null, 'https://www.example.com/moodle', '946ca79c4177fdcb67f5b906085a2...de4d99', '/Invalid parameter value dete...mid\)/')
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
171) quizaccess_seb\external\validate_quiz_access_test::test_invalid_parameters with data set "no url" (123, null, '946ca79c4177fdcb67f5b906085a2...de4d99', '/Invalid parameter value dete...url\)/')
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
172) quizaccess_seb\external\validate_quiz_access_test::test_invalid_parameters with data set "cmid is not an int" ('test', 'https://www.example.com/moodle', null, '/Invalid external api paramet... type/')
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
173) quizaccess_seb\external\validate_quiz_access_test::test_invalid_parameters with data set "url is not a url" (123, 123, '946ca79c4177fdcb67f5b906085a2...de4d99', '/Invalid external api paramet... type/')
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
174) quizaccess_seb\external\validate_quiz_access_test::test_context_is_not_valid_for_user
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
175) quizaccess_seb\external\validate_quiz_access_test::test_no_keys_provided
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
176) quizaccess_seb\external\validate_quiz_access_test::test_quiz_does_not_exist
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
177) quizaccess_seb\external\validate_quiz_access_test::test_config_key_valid
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
178) quizaccess_seb\external\validate_quiz_access_test::test_config_key_not_valid
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
179) quizaccess_seb\external\validate_quiz_access_test::test_browser_exam_key_valid
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|
|
180) quizaccess_seb\external\validate_quiz_access_test::test_browser_exam_key_not_valid
|
"@covers \quizaccess_seb\external\validate_quiz_access" is invalid
|