You have correctly selected zero options\\./'; public $message = '' }, class question_contains_tag_with_attribute { public $tag = 'div'; public $attribute = 'class'; public $value = 'hint'; public $message = '' }, class question_pattern_expectation { public $pattern = '/That is not right at all\\./'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice1', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:318
2.0530 70334720 14. question_usage_by_activity->render_question($slot = 1, $options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = ???) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:1008
2.0530 70334720 15. question_attempt->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $page = ???) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:483
2.0542 70336016 16. question_behaviour->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $qoutput = class core_question_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }, $qtoutput = class qtype_oumultiresponse_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }) /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:912
2.0546 70337048 17. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:112
2.0546 70337048 18. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/questiontype.php on line 408
Call Stack:
0.0003 422920 1. {main}() /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:0
0.0005 434144 2. include('/home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:122
0.0063 1232984 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit:98
0.0063 1233096 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97
1.3444 41752256 5. PHPUnit\TextUI\TestRunner->run($suite = class PHPUnit\Framework\TestSuite { protected $backupGlobals = NULL; protected $backupStaticAttributes = NULL; protected $runTestInSeparateProcess = FALSE; protected $name = 'qtype_oumultiresponse\\walkthrough_test'; protected $groups = ['default' => [...]]; protected $tests = [0 => class qtype_oumultiresponse\walkthrough_test { ... }, 1 => class qtype_oumultiresponse\walkthrough_test { ... }, 2 => class qtype_oumultiresponse\walkthrough_test { ... }, 3 => class qtype_oumultiresponse\walkthrough_test { ... }, 4 => class qtype_oumultiresponse\walkthrough_test { ... }, 5 => class qtype_oumultiresponse\walkthrough_test { ... }, 6 => class qtype_oumultiresponse\walkthrough_test { ... }, 7 => class qtype_oumultiresponse\walkthrough_test { ... }]; protected $numTests = 8; protected $testCase = TRUE; protected $foundClasses = []; protected $providedTests = NULL; protected $requiredTests = NULL; private $beStrictAboutChangesToGlobalState = NULL; private $iteratorFilter = NULL; private $declaredClassesPointer = 648; private $warnings = [] }, $arguments = ['extensions' => [], 'listGroups' => FALSE, 'listSuites' => FALSE, 'listTests' => FALSE, 'listTestsXml' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'loadedExtensions' => [], 'unavailableExtensions' => [], 'notLoadedExtensions' => [], 'testSuffixes' => [0 => 'Test.php', 1 => '.phpt'], 'configuration' => '/home/sara/moodles/integration_403/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_403/moodle/phpunit.xml'; private $validationResult = class PHPUnit\Util\Xml\ValidationResult { ... }; private $extensions = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $codeCoverage = class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage { ... }; private $groups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $testdoxGroups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $listeners = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $logging = class PHPUnit\TextUI\XmlConfiguration\Logging\Logging { ... }; private $php = class PHPUnit\TextUI\XmlConfiguration\Php { ... }; private $phpunit = class PHPUnit\TextUI\XmlConfiguration\PHPUnit { ... }; private $testSuite = class PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection { ... } }, 'stderr' => FALSE, 'columns' => 80], $warnings = [], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144
1.3485 42013152 6. PHPUnit\Framework\TestSuite->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653
1.9837 69068032 7. PHPUnit\Framework\TestCase->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675
1.9837 69068032 8. PHPUnit\Framework\TestResult->run($test = class qtype_oumultiresponse\walkthrough_test { protected $backupGlobals = FALSE; protected $backupGlobalsExcludeList = []; protected $backupGlobalsBlacklist = []; protected $backupStaticAttributes = FALSE; protected $backupStaticAttributesExcludeList = []; protected $backupStaticAttributesBlacklist = []; protected $runTestInSeparateProcess = FALSE; protected $preserveGlobalState = FALSE; protected $providedTests = [0 => class PHPUnit\Framework\ExecutionOrderDependency { ... }]; private ${PHPUnit\Framework\TestCase}runClassInSeparateProcess = NULL; private ${PHPUnit\Framework\TestCase}inIsolation = FALSE; private ${PHPUnit\Framework\TestCase}data = []; private ${PHPUnit\Framework\TestCase}dataName = ''; private ${PHPUnit\Framework\TestCase}expectedException = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessage = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessageRegExp = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionCode = NULL; private ${PHPUnit\Framework\TestCase}name = 'test_interactive_clear_wrong'; private ${PHPUnit\Framework\TestCase}dependencies = []; private ${PHPUnit\Framework\TestCase}dependencyInput = []; private ${PHPUnit\Framework\TestCase}iniSettings = []; private ${PHPUnit\Framework\TestCase}locale = []; private ${PHPUnit\Framework\TestCase}mockObjects = []; private ${PHPUnit\Framework\TestCase}mockObjectGenerator = NULL; private ${PHPUnit\Framework\TestCase}status = -1; private ${PHPUnit\Framework\TestCase}statusMessage = ''; private ${PHPUnit\Framework\TestCase}numAssertions = 0; private ${PHPUnit\Framework\TestCase}result = class PHPUnit\Framework\TestResult { private $passed = [...]; private $passedTestClasses = [...]; private $currentTestSuiteFailed = TRUE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }; private ${PHPUnit\Framework\TestCase}testResult = NULL; private ${PHPUnit\Framework\TestCase}output = ''; private ${PHPUnit\Framework\TestCase}outputExpectedRegex = NULL; private ${PHPUnit\Framework\TestCase}outputExpectedString = NULL; private ${PHPUnit\Framework\TestCase}outputCallback = FALSE; private ${PHPUnit\Framework\TestCase}outputBufferingActive = TRUE; private ${PHPUnit\Framework\TestCase}outputBufferingLevel = 1; private ${PHPUnit\Framework\TestCase}outputRetrievedForAssertion = FALSE; private ${PHPUnit\Framework\TestCase}snapshot = NULL; private ${PHPUnit\Framework\TestCase}prophet = NULL; private ${PHPUnit\Framework\TestCase}beStrictAboutChangesToGlobalState = NULL; private ${PHPUnit\Framework\TestCase}registerMockObjectsFromTestArgumentsRecursively = FALSE; private ${PHPUnit\Framework\TestCase}warnings = []; private ${PHPUnit\Framework\TestCase}groups = [0 => 'default']; private ${PHPUnit\Framework\TestCase}doesNotPerformAssertions = FALSE; private ${PHPUnit\Framework\TestCase}customComparators = []; private ${PHPUnit\Framework\TestCase}doubledTypes = []; private ${advanced_testcase}resetAfterTest = TRUE; private ${advanced_testcase}testdbtransaction = class moodle_transaction { private $start_backtrace = [...]; private $database = class pgsql_native_moodle_database { ... } }; private ${advanced_testcase}currenttimestart = 1710240443; protected $displayoptions = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = [...]; public $context = class core\context\system { ... }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }; protected $quba = class question_usage_by_activity { protected $id = 'EYzcSo2WAd'; protected $preferredbehaviour = 'interactive'; protected $context = class core\context\system { ... }; protected $owningcomponent = 'unit_test'; protected $questionattempts = [...]; protected $observer = class question_usage_null_observer { ... } }; protected $slot = 1; protected $currentoutput = '' }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904
1.9837 69068488 9. advanced_testcase->runBare() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
1.9840 69074248 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:81
1.9841 69092400 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154
1.9841 69092400 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548
2.0694 70364648 13. qbehaviour_walkthrough_test_base->check_current_output(class question_pattern_expectation { public $pattern = '/Marked out of 3\\.00/'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice0', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice1', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice2', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice3', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'submit', 'name' => 'qEYzcSo2WAd:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; public $message = '' }, class question_pattern_expectation { public $pattern = '/
You have correctly selected one option\\./'; public $message = '' }, class question_contains_tag_with_attribute { public $tag = 'div'; public $attribute = 'class'; public $value = 'hint'; public $message = '' }, class question_pattern_expectation { public $pattern = '/Parts, but only parts, of your response are correct\\./'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice0', 'value' => '1']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:359
2.0694 70364648 14. question_usage_by_activity->render_question($slot = 1, $options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = ???) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:1008
2.0694 70364648 15. question_attempt->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $page = ???) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:483
2.0704 70365944 16. question_behaviour->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $qoutput = class core_question_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }, $qtoutput = class qtype_oumultiresponse_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }) /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:912
2.0708 70368312 17. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:112
2.0709 70368312 18. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
R
Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/questiontype.php on line 408
Call Stack:
0.0003 422920 1. {main}() /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:0
0.0005 434144 2. include('/home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:122
0.0063 1232984 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit:98
0.0063 1233096 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97
1.3444 41752256 5. PHPUnit\TextUI\TestRunner->run($suite = class PHPUnit\Framework\TestSuite { protected $backupGlobals = NULL; protected $backupStaticAttributes = NULL; protected $runTestInSeparateProcess = FALSE; protected $name = 'qtype_oumultiresponse\\walkthrough_test'; protected $groups = ['default' => [...]]; protected $tests = [0 => class qtype_oumultiresponse\walkthrough_test { ... }, 1 => class qtype_oumultiresponse\walkthrough_test { ... }, 2 => class qtype_oumultiresponse\walkthrough_test { ... }, 3 => class qtype_oumultiresponse\walkthrough_test { ... }, 4 => class qtype_oumultiresponse\walkthrough_test { ... }, 5 => class qtype_oumultiresponse\walkthrough_test { ... }, 6 => class qtype_oumultiresponse\walkthrough_test { ... }, 7 => class qtype_oumultiresponse\walkthrough_test { ... }]; protected $numTests = 8; protected $testCase = TRUE; protected $foundClasses = []; protected $providedTests = NULL; protected $requiredTests = NULL; private $beStrictAboutChangesToGlobalState = NULL; private $iteratorFilter = NULL; private $declaredClassesPointer = 648; private $warnings = [] }, $arguments = ['extensions' => [], 'listGroups' => FALSE, 'listSuites' => FALSE, 'listTests' => FALSE, 'listTestsXml' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'loadedExtensions' => [], 'unavailableExtensions' => [], 'notLoadedExtensions' => [], 'testSuffixes' => [0 => 'Test.php', 1 => '.phpt'], 'configuration' => '/home/sara/moodles/integration_403/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_403/moodle/phpunit.xml'; private $validationResult = class PHPUnit\Util\Xml\ValidationResult { ... }; private $extensions = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $codeCoverage = class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage { ... }; private $groups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $testdoxGroups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $listeners = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $logging = class PHPUnit\TextUI\XmlConfiguration\Logging\Logging { ... }; private $php = class PHPUnit\TextUI\XmlConfiguration\Php { ... }; private $phpunit = class PHPUnit\TextUI\XmlConfiguration\PHPUnit { ... }; private $testSuite = class PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection { ... } }, 'stderr' => FALSE, 'columns' => 80], $warnings = [], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144
1.3485 42013152 6. PHPUnit\Framework\TestSuite->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = [0 => class PHPUnit\Framework\TestFailure { ... }]; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653
2.1120 69419328 7. PHPUnit\Framework\TestCase->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = [0 => class PHPUnit\Framework\TestFailure { ... }]; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675
2.1120 69419328 8. PHPUnit\Framework\TestResult->run($test = class qtype_oumultiresponse\walkthrough_test { protected $backupGlobals = FALSE; protected $backupGlobalsExcludeList = []; protected $backupGlobalsBlacklist = []; protected $backupStaticAttributes = FALSE; protected $backupStaticAttributesExcludeList = []; protected $backupStaticAttributesBlacklist = []; protected $runTestInSeparateProcess = FALSE; protected $preserveGlobalState = FALSE; protected $providedTests = [0 => class PHPUnit\Framework\ExecutionOrderDependency { ... }]; private ${PHPUnit\Framework\TestCase}runClassInSeparateProcess = NULL; private ${PHPUnit\Framework\TestCase}inIsolation = FALSE; private ${PHPUnit\Framework\TestCase}data = []; private ${PHPUnit\Framework\TestCase}dataName = ''; private ${PHPUnit\Framework\TestCase}expectedException = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessage = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessageRegExp = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionCode = NULL; private ${PHPUnit\Framework\TestCase}name = 'test_interactive_bug_11263'; private ${PHPUnit\Framework\TestCase}dependencies = []; private ${PHPUnit\Framework\TestCase}dependencyInput = []; private ${PHPUnit\Framework\TestCase}iniSettings = []; private ${PHPUnit\Framework\TestCase}locale = []; private ${PHPUnit\Framework\TestCase}mockObjects = []; private ${PHPUnit\Framework\TestCase}mockObjectGenerator = NULL; private ${PHPUnit\Framework\TestCase}status = -1; private ${PHPUnit\Framework\TestCase}statusMessage = ''; private ${PHPUnit\Framework\TestCase}numAssertions = 0; private ${PHPUnit\Framework\TestCase}result = class PHPUnit\Framework\TestResult { private $passed = [...]; private $passedTestClasses = [...]; private $currentTestSuiteFailed = TRUE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }; private ${PHPUnit\Framework\TestCase}testResult = NULL; private ${PHPUnit\Framework\TestCase}output = ''; private ${PHPUnit\Framework\TestCase}outputExpectedRegex = NULL; private ${PHPUnit\Framework\TestCase}outputExpectedString = NULL; private ${PHPUnit\Framework\TestCase}outputCallback = FALSE; private ${PHPUnit\Framework\TestCase}outputBufferingActive = TRUE; private ${PHPUnit\Framework\TestCase}outputBufferingLevel = 1; private ${PHPUnit\Framework\TestCase}outputRetrievedForAssertion = FALSE; private ${PHPUnit\Framework\TestCase}snapshot = NULL; private ${PHPUnit\Framework\TestCase}prophet = NULL; private ${PHPUnit\Framework\TestCase}beStrictAboutChangesToGlobalState = NULL; private ${PHPUnit\Framework\TestCase}registerMockObjectsFromTestArgumentsRecursively = FALSE; private ${PHPUnit\Framework\TestCase}warnings = []; private ${PHPUnit\Framework\TestCase}groups = [0 => 'default']; private ${PHPUnit\Framework\TestCase}doesNotPerformAssertions = FALSE; private ${PHPUnit\Framework\TestCase}customComparators = []; private ${PHPUnit\Framework\TestCase}doubledTypes = []; private ${advanced_testcase}resetAfterTest = TRUE; private ${advanced_testcase}testdbtransaction = class moodle_transaction { private $start_backtrace = [...]; private $database = class pgsql_native_moodle_database { ... } }; private ${advanced_testcase}currenttimestart = 1710240443; protected $displayoptions = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = [...]; public $context = class core\context\system { ... }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }; protected $quba = class question_usage_by_activity { protected $id = 'oEQ2AeFJLy'; protected $preferredbehaviour = 'interactive'; protected $context = class core\context\system { ... }; protected $owningcomponent = 'unit_test'; protected $questionattempts = [...]; protected $observer = class question_usage_null_observer { ... } }; protected $slot = 1; protected $currentoutput = '' }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904
2.1120 69419784 9. advanced_testcase->runBare() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
2.1125 69425544 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:81
2.1127 69443696 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154
2.1127 69443696 12. qtype_oumultiresponse\walkthrough_test->test_interactive_bug_11263() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548
2.1755 70676672 13. qbehaviour_walkthrough_test_base->process_submission($data = ['choice0' => '0', 'choice1' => '0', 'choice2' => '0', 'choice3' => '0', 'choice4' => '0', '-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:453
2.1756 70677800 14. question_usage_by_activity->process_all_actions($timestamp = 1710240443, $postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:851
2.1756 70678016 15. question_usage_by_activity->extract_responses($slot = '1', $postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:642
2.1756 70678016 16. question_attempt->get_submitted_data($postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:708
2.1756 70678432 17. qbehaviour_interactive->get_expected_qt_data() /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:1260
2.1756 70678432 18. question_behaviour->get_expected_qt_data() /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:135
2.1756 70678816 19. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = NULL; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = NULL }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:238
2.1756 70678816 20. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = NULL; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = NULL }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
.. 8 / 8 (100%)
Time: 00:01.008, Memory: 72.50 MB
There were 2 errors:
1) qtype_oumultiresponse\walkthrough_test::test_interactive_behaviour
Unexpected debugging() call detected.
Debugging: $options->suppresschoicefeedback should no longer be used. To get a similar effect, instead set $options->feedback = $options->feedback && qtype_multichoice::COMBINED_BUT_NOT_CHOICE_FEEDBACK.
* line 61 of /question/type/multichoice/questiontype.php: call to debugging()
* line 121 of /question/type/multichoice/renderer.php: call to qtype_multichoice::support_legacy_review_options_hack()
* line 407 of /question/engine/renderer.php: call to qtype_multichoice_renderer_base->formulation_and_controls()
* line 109 of /question/engine/renderer.php: call to core_question_renderer->formulation()
* line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
* line 912 of /question/engine/questionattempt.php: call to question_behaviour->render()
* line 483 of /question/engine/questionusage.php: call to question_attempt->render()
* line 1008 of /question/engine/tests/helpers.php: call to question_usage_by_activity->render_question()
* line 127 of /question/type/oumultiresponse/tests/walkthrough_test.php: call to qbehaviour_walkthrough_test_base->check_current_output()
* line 1548 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour()
* line 1154 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
* line 81 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
* line 728 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
* line 904 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
* line 675 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
* line 653 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 122 of /vendor/bin/phpunit: call to include()
/home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:89
2) qtype_oumultiresponse\walkthrough_test::test_interactive_behaviour2
Unexpected debugging() call detected.
Debugging: $options->suppresschoicefeedback should no longer be used. To get a similar effect, instead set $options->feedback = $options->feedback && qtype_multichoice::COMBINED_BUT_NOT_CHOICE_FEEDBACK.
* line 61 of /question/type/multichoice/questiontype.php: call to debugging()
* line 121 of /question/type/multichoice/renderer.php: call to qtype_multichoice::support_legacy_review_options_hack()
* line 407 of /question/engine/renderer.php: call to qtype_multichoice_renderer_base->formulation_and_controls()
* line 109 of /question/engine/renderer.php: call to core_question_renderer->formulation()
* line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
* line 912 of /question/engine/questionattempt.php: call to question_behaviour->render()
* line 483 of /question/engine/questionusage.php: call to question_attempt->render()
* line 1008 of /question/engine/tests/helpers.php: call to question_usage_by_activity->render_question()
* line 260 of /question/type/oumultiresponse/tests/walkthrough_test.php: call to qbehaviour_walkthrough_test_base->check_current_output()
* line 1548 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour2()
* line 1154 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
* line 81 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
* line 728 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
* line 904 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
* line 675 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
* line 653 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 122 of /vendor/bin/phpunit: call to include()
/home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:89
--
There were 2 risky tests:
1) qtype_oumultiresponse\walkthrough_test::test_interactive_clear_wrong
This test printed output:
Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/questiontype.php on line 408
Call Stack:
0.0003 422920 1. {main}() /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:0
0.0005 434144 2. include('/home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:122
0.0063 1232984 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit:98
0.0063 1233096 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97
1.3444 41752256 5. PHPUnit\TextUI\TestRunner->run($suite = class PHPUnit\Framework\TestSuite { protected $backupGlobals = NULL; protected $backupStaticAttributes = NULL; protected $runTestInSeparateProcess = FALSE; protected $name = 'qtype_oumultiresponse\\walkthrough_test'; protected $groups = ['default' => [...]]; protected $tests = [0 => class qtype_oumultiresponse\walkthrough_test { ... }, 1 => class qtype_oumultiresponse\walkthrough_test { ... }, 2 => class qtype_oumultiresponse\walkthrough_test { ... }, 3 => class qtype_oumultiresponse\walkthrough_test { ... }, 4 => class qtype_oumultiresponse\walkthrough_test { ... }, 5 => class qtype_oumultiresponse\walkthrough_test { ... }, 6 => class qtype_oumultiresponse\walkthrough_test { ... }, 7 => class qtype_oumultiresponse\walkthrough_test { ... }]; protected $numTests = 8; protected $testCase = TRUE; protected $foundClasses = []; protected $providedTests = NULL; protected $requiredTests = NULL; private $beStrictAboutChangesToGlobalState = NULL; private $iteratorFilter = NULL; private $declaredClassesPointer = 648; private $warnings = [] }, $arguments = ['extensions' => [], 'listGroups' => FALSE, 'listSuites' => FALSE, 'listTests' => FALSE, 'listTestsXml' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'loadedExtensions' => [], 'unavailableExtensions' => [], 'notLoadedExtensions' => [], 'testSuffixes' => [0 => 'Test.php', 1 => '.phpt'], 'configuration' => '/home/sara/moodles/integration_403/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_403/moodle/phpunit.xml'; private $validationResult = class PHPUnit\Util\Xml\ValidationResult { ... }; private $extensions = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $codeCoverage = class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage { ... }; private $groups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $testdoxGroups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $listeners = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $logging = class PHPUnit\TextUI\XmlConfiguration\Logging\Logging { ... }; private $php = class PHPUnit\TextUI\XmlConfiguration\Php { ... }; private $phpunit = class PHPUnit\TextUI\XmlConfiguration\PHPUnit { ... }; private $testSuite = class PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection { ... } }, 'stderr' => FALSE, 'columns' => 80], $warnings = [], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144
1.3485 42013152 6. PHPUnit\Framework\TestSuite->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653
1.9837 69068032 7. PHPUnit\Framework\TestCase->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675
1.9837 69068032 8. PHPUnit\Framework\TestResult->run($test = class qtype_oumultiresponse\walkthrough_test { protected $backupGlobals = FALSE; protected $backupGlobalsExcludeList = []; protected $backupGlobalsBlacklist = []; protected $backupStaticAttributes = FALSE; protected $backupStaticAttributesExcludeList = []; protected $backupStaticAttributesBlacklist = []; protected $runTestInSeparateProcess = FALSE; protected $preserveGlobalState = FALSE; protected $providedTests = [0 => class PHPUnit\Framework\ExecutionOrderDependency { ... }]; private ${PHPUnit\Framework\TestCase}runClassInSeparateProcess = NULL; private ${PHPUnit\Framework\TestCase}inIsolation = FALSE; private ${PHPUnit\Framework\TestCase}data = []; private ${PHPUnit\Framework\TestCase}dataName = ''; private ${PHPUnit\Framework\TestCase}expectedException = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessage = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessageRegExp = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionCode = NULL; private ${PHPUnit\Framework\TestCase}name = 'test_interactive_clear_wrong'; private ${PHPUnit\Framework\TestCase}dependencies = []; private ${PHPUnit\Framework\TestCase}dependencyInput = []; private ${PHPUnit\Framework\TestCase}iniSettings = []; private ${PHPUnit\Framework\TestCase}locale = []; private ${PHPUnit\Framework\TestCase}mockObjects = []; private ${PHPUnit\Framework\TestCase}mockObjectGenerator = NULL; private ${PHPUnit\Framework\TestCase}status = -1; private ${PHPUnit\Framework\TestCase}statusMessage = ''; private ${PHPUnit\Framework\TestCase}numAssertions = 0; private ${PHPUnit\Framework\TestCase}result = class PHPUnit\Framework\TestResult { private $passed = [...]; private $passedTestClasses = [...]; private $currentTestSuiteFailed = TRUE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }; private ${PHPUnit\Framework\TestCase}testResult = NULL; private ${PHPUnit\Framework\TestCase}output = ''; private ${PHPUnit\Framework\TestCase}outputExpectedRegex = NULL; private ${PHPUnit\Framework\TestCase}outputExpectedString = NULL; private ${PHPUnit\Framework\TestCase}outputCallback = FALSE; private ${PHPUnit\Framework\TestCase}outputBufferingActive = TRUE; private ${PHPUnit\Framework\TestCase}outputBufferingLevel = 1; private ${PHPUnit\Framework\TestCase}outputRetrievedForAssertion = FALSE; private ${PHPUnit\Framework\TestCase}snapshot = NULL; private ${PHPUnit\Framework\TestCase}prophet = NULL; private ${PHPUnit\Framework\TestCase}beStrictAboutChangesToGlobalState = NULL; private ${PHPUnit\Framework\TestCase}registerMockObjectsFromTestArgumentsRecursively = FALSE; private ${PHPUnit\Framework\TestCase}warnings = []; private ${PHPUnit\Framework\TestCase}groups = [0 => 'default']; private ${PHPUnit\Framework\TestCase}doesNotPerformAssertions = FALSE; private ${PHPUnit\Framework\TestCase}customComparators = []; private ${PHPUnit\Framework\TestCase}doubledTypes = []; private ${advanced_testcase}resetAfterTest = TRUE; private ${advanced_testcase}testdbtransaction = class moodle_transaction { private $start_backtrace = [...]; private $database = class pgsql_native_moodle_database { ... } }; private ${advanced_testcase}currenttimestart = 1710240443; protected $displayoptions = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = [...]; public $context = class core\context\system { ... }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }; protected $quba = class question_usage_by_activity { protected $id = 'EYzcSo2WAd'; protected $preferredbehaviour = 'interactive'; protected $context = class core\context\system { ... }; protected $owningcomponent = 'unit_test'; protected $questionattempts = [...]; protected $observer = class question_usage_null_observer { ... } }; protected $slot = 1; protected $currentoutput = '' }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904
1.9837 69068488 9. advanced_testcase->runBare() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
1.9840 69074248 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:81
1.9841 69092400 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154
1.9841 69092400 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548
2.0530 70334720 13. qbehaviour_walkthrough_test_base->check_current_output(class question_pattern_expectation { public $pattern = '/Marked out of 3\\.00/'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice0', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice1', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice2', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice3', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'submit', 'name' => 'qEYzcSo2WAd:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; public $message = '' }, class question_pattern_expectation { public $pattern = '/
You have correctly selected zero options\\./'; public $message = '' }, class question_contains_tag_with_attribute { public $tag = 'div'; public $attribute = 'class'; public $value = 'hint'; public $message = '' }, class question_pattern_expectation { public $pattern = '/That is not right at all\\./'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice1', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:318
2.0530 70334720 14. question_usage_by_activity->render_question($slot = 1, $options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = ???) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:1008
2.0530 70334720 15. question_attempt->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $page = ???) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:483
2.0542 70336016 16. question_behaviour->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $qoutput = class core_question_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }, $qtoutput = class qtype_oumultiresponse_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }) /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:912
2.0546 70337048 17. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:112
2.0546 70337048 18. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/questiontype.php on line 408
Call Stack:
0.0003 422920 1. {main}() /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:0
0.0005 434144 2. include('/home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:122
0.0063 1232984 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit:98
0.0063 1233096 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97
1.3444 41752256 5. PHPUnit\TextUI\TestRunner->run($suite = class PHPUnit\Framework\TestSuite { protected $backupGlobals = NULL; protected $backupStaticAttributes = NULL; protected $runTestInSeparateProcess = FALSE; protected $name = 'qtype_oumultiresponse\\walkthrough_test'; protected $groups = ['default' => [...]]; protected $tests = [0 => class qtype_oumultiresponse\walkthrough_test { ... }, 1 => class qtype_oumultiresponse\walkthrough_test { ... }, 2 => class qtype_oumultiresponse\walkthrough_test { ... }, 3 => class qtype_oumultiresponse\walkthrough_test { ... }, 4 => class qtype_oumultiresponse\walkthrough_test { ... }, 5 => class qtype_oumultiresponse\walkthrough_test { ... }, 6 => class qtype_oumultiresponse\walkthrough_test { ... }, 7 => class qtype_oumultiresponse\walkthrough_test { ... }]; protected $numTests = 8; protected $testCase = TRUE; protected $foundClasses = []; protected $providedTests = NULL; protected $requiredTests = NULL; private $beStrictAboutChangesToGlobalState = NULL; private $iteratorFilter = NULL; private $declaredClassesPointer = 648; private $warnings = [] }, $arguments = ['extensions' => [], 'listGroups' => FALSE, 'listSuites' => FALSE, 'listTests' => FALSE, 'listTestsXml' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'loadedExtensions' => [], 'unavailableExtensions' => [], 'notLoadedExtensions' => [], 'testSuffixes' => [0 => 'Test.php', 1 => '.phpt'], 'configuration' => '/home/sara/moodles/integration_403/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_403/moodle/phpunit.xml'; private $validationResult = class PHPUnit\Util\Xml\ValidationResult { ... }; private $extensions = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $codeCoverage = class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage { ... }; private $groups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $testdoxGroups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $listeners = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $logging = class PHPUnit\TextUI\XmlConfiguration\Logging\Logging { ... }; private $php = class PHPUnit\TextUI\XmlConfiguration\Php { ... }; private $phpunit = class PHPUnit\TextUI\XmlConfiguration\PHPUnit { ... }; private $testSuite = class PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection { ... } }, 'stderr' => FALSE, 'columns' => 80], $warnings = [], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144
1.3485 42013152 6. PHPUnit\Framework\TestSuite->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653
1.9837 69068032 7. PHPUnit\Framework\TestCase->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675
1.9837 69068032 8. PHPUnit\Framework\TestResult->run($test = class qtype_oumultiresponse\walkthrough_test { protected $backupGlobals = FALSE; protected $backupGlobalsExcludeList = []; protected $backupGlobalsBlacklist = []; protected $backupStaticAttributes = FALSE; protected $backupStaticAttributesExcludeList = []; protected $backupStaticAttributesBlacklist = []; protected $runTestInSeparateProcess = FALSE; protected $preserveGlobalState = FALSE; protected $providedTests = [0 => class PHPUnit\Framework\ExecutionOrderDependency { ... }]; private ${PHPUnit\Framework\TestCase}runClassInSeparateProcess = NULL; private ${PHPUnit\Framework\TestCase}inIsolation = FALSE; private ${PHPUnit\Framework\TestCase}data = []; private ${PHPUnit\Framework\TestCase}dataName = ''; private ${PHPUnit\Framework\TestCase}expectedException = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessage = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessageRegExp = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionCode = NULL; private ${PHPUnit\Framework\TestCase}name = 'test_interactive_clear_wrong'; private ${PHPUnit\Framework\TestCase}dependencies = []; private ${PHPUnit\Framework\TestCase}dependencyInput = []; private ${PHPUnit\Framework\TestCase}iniSettings = []; private ${PHPUnit\Framework\TestCase}locale = []; private ${PHPUnit\Framework\TestCase}mockObjects = []; private ${PHPUnit\Framework\TestCase}mockObjectGenerator = NULL; private ${PHPUnit\Framework\TestCase}status = -1; private ${PHPUnit\Framework\TestCase}statusMessage = ''; private ${PHPUnit\Framework\TestCase}numAssertions = 0; private ${PHPUnit\Framework\TestCase}result = class PHPUnit\Framework\TestResult { private $passed = [...]; private $passedTestClasses = [...]; private $currentTestSuiteFailed = TRUE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 5; private $time = 0.631718115; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }; private ${PHPUnit\Framework\TestCase}testResult = NULL; private ${PHPUnit\Framework\TestCase}output = ''; private ${PHPUnit\Framework\TestCase}outputExpectedRegex = NULL; private ${PHPUnit\Framework\TestCase}outputExpectedString = NULL; private ${PHPUnit\Framework\TestCase}outputCallback = FALSE; private ${PHPUnit\Framework\TestCase}outputBufferingActive = TRUE; private ${PHPUnit\Framework\TestCase}outputBufferingLevel = 1; private ${PHPUnit\Framework\TestCase}outputRetrievedForAssertion = FALSE; private ${PHPUnit\Framework\TestCase}snapshot = NULL; private ${PHPUnit\Framework\TestCase}prophet = NULL; private ${PHPUnit\Framework\TestCase}beStrictAboutChangesToGlobalState = NULL; private ${PHPUnit\Framework\TestCase}registerMockObjectsFromTestArgumentsRecursively = FALSE; private ${PHPUnit\Framework\TestCase}warnings = []; private ${PHPUnit\Framework\TestCase}groups = [0 => 'default']; private ${PHPUnit\Framework\TestCase}doesNotPerformAssertions = FALSE; private ${PHPUnit\Framework\TestCase}customComparators = []; private ${PHPUnit\Framework\TestCase}doubledTypes = []; private ${advanced_testcase}resetAfterTest = TRUE; private ${advanced_testcase}testdbtransaction = class moodle_transaction { private $start_backtrace = [...]; private $database = class pgsql_native_moodle_database { ... } }; private ${advanced_testcase}currenttimestart = 1710240443; protected $displayoptions = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = [...]; public $context = class core\context\system { ... }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }; protected $quba = class question_usage_by_activity { protected $id = 'EYzcSo2WAd'; protected $preferredbehaviour = 'interactive'; protected $context = class core\context\system { ... }; protected $owningcomponent = 'unit_test'; protected $questionattempts = [...]; protected $observer = class question_usage_null_observer { ... } }; protected $slot = 1; protected $currentoutput = '' }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904
1.9837 69068488 9. advanced_testcase->runBare() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
1.9840 69074248 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:81
1.9841 69092400 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154
1.9841 69092400 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548
2.0694 70364648 13. qbehaviour_walkthrough_test_base->check_current_output(class question_pattern_expectation { public $pattern = '/Marked out of 3\\.00/'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice0', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice1', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice2', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled']; public $forbiddenvalues = ['checked' => 'checked']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qEYzcSo2WAd:1_choice3', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'submit', 'name' => 'qEYzcSo2WAd:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; public $message = '' }, class question_pattern_expectation { public $pattern = '/
You have correctly selected one option\\./'; public $message = '' }, class question_contains_tag_with_attribute { public $tag = 'div'; public $attribute = 'class'; public $value = 'hint'; public $message = '' }, class question_pattern_expectation { public $pattern = '/Parts, but only parts, of your response are correct\\./'; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice0', 'value' => '1']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qEYzcSo2WAd:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:359
2.0694 70364648 14. question_usage_by_activity->render_question($slot = 1, $options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = ???) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:1008
2.0694 70364648 15. question_attempt->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $page = ???) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:483
2.0704 70365944 16. question_behaviour->render($options = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }, $number = NULL, $qoutput = class core_question_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }, $qtoutput = class qtype_oumultiresponse_renderer { protected $opencontainers = class xhtml_container_stack { protected $opencontainers = [...]; protected $log = [...]; protected $isdebugging = TRUE }; protected $page = class moodle_page { protected $_state = 0; protected $_course = class stdClass { ... }; protected $_cm = NULL; protected $_module = NULL; protected $_context = class core\context\system { ... }; protected $_categories = NULL; protected $_bodyclasses = [...]; protected $_title = ''; protected $_heading = ''; protected $_pagetype = NULL; protected $_pagelayout = 'base'; protected $_layout_options = NULL; protected $_subpage = ''; protected $_docspath = NULL; protected $_legacyclass = NULL; protected $_url = NULL; protected $_alternateversions = [...]; protected $_blocks = class block_manager { ... }; protected $_requires = class page_requirements_manager { ... }; protected $savedrequires = NULL; protected $_blockseditingcap = 'moodle/site:manageblocks'; protected $_block_actions_done = FALSE; protected $_othereditingcaps = [...]; protected $_cacheable = TRUE; protected $_focuscontrol = ''; protected $_button = ''; protected $_theme = class theme_config { ... }; protected $_navigation = NULL; protected $_settingsnav = NULL; protected $_flatnav = NULL; protected $_secondarynav = NULL; protected $_primarynav = NULL; protected $_primarynavcombined = NULL; protected $_navbar = NULL; protected $_headingmenu = NULL; protected $_wherethemewasinitialised = [...]; protected $_opencontainers = class xhtml_container_stack { ... }; protected $_periodicrefreshdelay = NULL; protected $_legacybrowsers = [...]; protected $_devicetypeinuse = NULL; protected $_https_login_required = FALSE; protected $_popup_notification_allowed = TRUE; protected $_forcesettingsmenu = FALSE; protected $_headeractions = [...]; protected $_regionmainsettingsinheader = FALSE; protected $_hassecondarynavigation = TRUE; protected $_hastablistsecondarynavigation = FALSE; protected $_activekeysecondary = NULL; protected $_activenodeprimary = NULL; protected $_activityheader = NULL; protected $_navigationoverflow = TRUE; protected $_forcelockallblocks = FALSE }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = []; protected $output = class core_renderer_cli { protected $opencontainers = class xhtml_container_stack { ... }; protected $page = class moodle_page { ... }; protected $target = 'cli'; private ${renderer_base}mustache = NULL; protected $templatecache = [...]; protected $contenttype = NULL; protected $metarefreshtag = ''; protected $unique_end_html_token = '%%ENDHTML-vdhYAVj2gZ%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-vdhYAVj2gZ%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - vdhYAVj2gZ]'; protected $language = NULL; protected $currentselector = ''; protected $currentelement = ''; private $progressmaximums = [...] } }) /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:912
2.0708 70368312 17. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:112
2.0709 70368312 18. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = TRUE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = class core\context\system { protected $_id = 1; protected $_contextlevel = 10; protected $_instanceid = 0; protected $_path = '/1'; protected $_depth = 1; protected $_locked = 0 }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
2) qtype_oumultiresponse\walkthrough_test::test_interactive_bug_11263
This test printed output:
Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/questiontype.php on line 408
Call Stack:
0.0003 422920 1. {main}() /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:0
0.0005 434144 2. include('/home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_403/moodle/vendor/bin/phpunit:122
0.0063 1232984 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/phpunit:98
0.0063 1233096 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97
1.3444 41752256 5. PHPUnit\TextUI\TestRunner->run($suite = class PHPUnit\Framework\TestSuite { protected $backupGlobals = NULL; protected $backupStaticAttributes = NULL; protected $runTestInSeparateProcess = FALSE; protected $name = 'qtype_oumultiresponse\\walkthrough_test'; protected $groups = ['default' => [...]]; protected $tests = [0 => class qtype_oumultiresponse\walkthrough_test { ... }, 1 => class qtype_oumultiresponse\walkthrough_test { ... }, 2 => class qtype_oumultiresponse\walkthrough_test { ... }, 3 => class qtype_oumultiresponse\walkthrough_test { ... }, 4 => class qtype_oumultiresponse\walkthrough_test { ... }, 5 => class qtype_oumultiresponse\walkthrough_test { ... }, 6 => class qtype_oumultiresponse\walkthrough_test { ... }, 7 => class qtype_oumultiresponse\walkthrough_test { ... }]; protected $numTests = 8; protected $testCase = TRUE; protected $foundClasses = []; protected $providedTests = NULL; protected $requiredTests = NULL; private $beStrictAboutChangesToGlobalState = NULL; private $iteratorFilter = NULL; private $declaredClassesPointer = 648; private $warnings = [] }, $arguments = ['extensions' => [], 'listGroups' => FALSE, 'listSuites' => FALSE, 'listTests' => FALSE, 'listTestsXml' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'loadedExtensions' => [], 'unavailableExtensions' => [], 'notLoadedExtensions' => [], 'testSuffixes' => [0 => 'Test.php', 1 => '.phpt'], 'configuration' => '/home/sara/moodles/integration_403/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_403/moodle/phpunit.xml'; private $validationResult = class PHPUnit\Util\Xml\ValidationResult { ... }; private $extensions = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $codeCoverage = class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage { ... }; private $groups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $testdoxGroups = class PHPUnit\TextUI\XmlConfiguration\Groups { ... }; private $listeners = class PHPUnit\TextUI\XmlConfiguration\ExtensionCollection { ... }; private $logging = class PHPUnit\TextUI\XmlConfiguration\Logging\Logging { ... }; private $php = class PHPUnit\TextUI\XmlConfiguration\Php { ... }; private $phpunit = class PHPUnit\TextUI\XmlConfiguration\PHPUnit { ... }; private $testSuite = class PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection { ... } }, 'stderr' => FALSE, 'columns' => 80], $warnings = [], $exit = TRUE) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144
1.3485 42013152 6. PHPUnit\Framework\TestSuite->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = [0 => class PHPUnit\Framework\TestFailure { ... }]; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653
2.1120 69419328 7. PHPUnit\Framework\TestCase->run($result = class PHPUnit\Framework\TestResult { private $passed = ['qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_yes' => [...], 'qtype_oumultiresponse\walkthrough_test::test_shows_standrd_instruction_no' => [...]]; private $passedTestClasses = []; private $currentTestSuiteFailed = TRUE; private $errors = [0 => class PHPUnit\Framework\TestFailure { ... }, 1 => class PHPUnit\Framework\TestFailure { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = [0 => class PHPUnit\Framework\TestFailure { ... }]; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675
2.1120 69419328 8. PHPUnit\Framework\TestResult->run($test = class qtype_oumultiresponse\walkthrough_test { protected $backupGlobals = FALSE; protected $backupGlobalsExcludeList = []; protected $backupGlobalsBlacklist = []; protected $backupStaticAttributes = FALSE; protected $backupStaticAttributesExcludeList = []; protected $backupStaticAttributesBlacklist = []; protected $runTestInSeparateProcess = FALSE; protected $preserveGlobalState = FALSE; protected $providedTests = [0 => class PHPUnit\Framework\ExecutionOrderDependency { ... }]; private ${PHPUnit\Framework\TestCase}runClassInSeparateProcess = NULL; private ${PHPUnit\Framework\TestCase}inIsolation = FALSE; private ${PHPUnit\Framework\TestCase}data = []; private ${PHPUnit\Framework\TestCase}dataName = ''; private ${PHPUnit\Framework\TestCase}expectedException = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessage = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionMessageRegExp = NULL; private ${PHPUnit\Framework\TestCase}expectedExceptionCode = NULL; private ${PHPUnit\Framework\TestCase}name = 'test_interactive_bug_11263'; private ${PHPUnit\Framework\TestCase}dependencies = []; private ${PHPUnit\Framework\TestCase}dependencyInput = []; private ${PHPUnit\Framework\TestCase}iniSettings = []; private ${PHPUnit\Framework\TestCase}locale = []; private ${PHPUnit\Framework\TestCase}mockObjects = []; private ${PHPUnit\Framework\TestCase}mockObjectGenerator = NULL; private ${PHPUnit\Framework\TestCase}status = -1; private ${PHPUnit\Framework\TestCase}statusMessage = ''; private ${PHPUnit\Framework\TestCase}numAssertions = 0; private ${PHPUnit\Framework\TestCase}result = class PHPUnit\Framework\TestResult { private $passed = [...]; private $passedTestClasses = [...]; private $currentTestSuiteFailed = TRUE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 6; private $time = 0.75933618; private $codeCoverage = NULL; private $convertDeprecationsToExceptions = FALSE; private $convertErrorsToExceptions = TRUE; private $convertNoticesToExceptions = TRUE; private $convertWarningsToExceptions = TRUE; private $stop = FALSE; private $stopOnError = FALSE; private $stopOnFailure = FALSE; private $stopOnWarning = FALSE; private $beStrictAboutTestsThatDoNotTestAnything = FALSE; private $beStrictAboutOutputDuringTests = TRUE; private $beStrictAboutTodoAnnotatedTests = FALSE; private $beStrictAboutResourceUsageDuringSmallTests = FALSE; private $enforceTimeLimit = FALSE; private $forceCoversAnnotation = FALSE; private $timeoutForSmallTests = 1; private $timeoutForMediumTests = 10; private $timeoutForLargeTests = 60; private $stopOnRisky = FALSE; private $stopOnIncomplete = FALSE; private $stopOnSkipped = FALSE; private $lastTestFailed = FALSE; private $defaultTimeLimit = 1; private $stopOnDefect = FALSE; private $registerMockObjectsFromTestArgumentsRecursively = FALSE }; private ${PHPUnit\Framework\TestCase}testResult = NULL; private ${PHPUnit\Framework\TestCase}output = ''; private ${PHPUnit\Framework\TestCase}outputExpectedRegex = NULL; private ${PHPUnit\Framework\TestCase}outputExpectedString = NULL; private ${PHPUnit\Framework\TestCase}outputCallback = FALSE; private ${PHPUnit\Framework\TestCase}outputBufferingActive = TRUE; private ${PHPUnit\Framework\TestCase}outputBufferingLevel = 1; private ${PHPUnit\Framework\TestCase}outputRetrievedForAssertion = FALSE; private ${PHPUnit\Framework\TestCase}snapshot = NULL; private ${PHPUnit\Framework\TestCase}prophet = NULL; private ${PHPUnit\Framework\TestCase}beStrictAboutChangesToGlobalState = NULL; private ${PHPUnit\Framework\TestCase}registerMockObjectsFromTestArgumentsRecursively = FALSE; private ${PHPUnit\Framework\TestCase}warnings = []; private ${PHPUnit\Framework\TestCase}groups = [0 => 'default']; private ${PHPUnit\Framework\TestCase}doesNotPerformAssertions = FALSE; private ${PHPUnit\Framework\TestCase}customComparators = []; private ${PHPUnit\Framework\TestCase}doubledTypes = []; private ${advanced_testcase}resetAfterTest = TRUE; private ${advanced_testcase}testdbtransaction = class moodle_transaction { private $start_backtrace = [...]; private $database = class pgsql_native_moodle_database { ... } }; private ${advanced_testcase}currenttimestart = 1710240443; protected $displayoptions = class question_display_options { public $readonly = FALSE; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = 1; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = [...]; public $context = class core\context\system { ... }; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = FALSE }; protected $quba = class question_usage_by_activity { protected $id = 'oEQ2AeFJLy'; protected $preferredbehaviour = 'interactive'; protected $context = class core\context\system { ... }; protected $owningcomponent = 'unit_test'; protected $questionattempts = [...]; protected $observer = class question_usage_null_observer { ... } }; protected $slot = 1; protected $currentoutput = '' }) /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904
2.1120 69419784 9. advanced_testcase->runBare() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
2.1125 69425544 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_403/moodle/lib/phpunit/classes/advanced_testcase.php:81
2.1127 69443696 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154
2.1127 69443696 12. qtype_oumultiresponse\walkthrough_test->test_interactive_bug_11263() /home/sara/moodles/integration_403/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548
2.1755 70676672 13. qbehaviour_walkthrough_test_base->process_submission($data = ['choice0' => '0', 'choice1' => '0', 'choice2' => '0', 'choice3' => '0', 'choice4' => '0', '-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:453
2.1756 70677800 14. question_usage_by_activity->process_all_actions($timestamp = 1710240443, $postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/tests/helpers.php:851
2.1756 70678016 15. question_usage_by_activity->extract_responses($slot = '1', $postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:642
2.1756 70678016 16. question_attempt->get_submitted_data($postdata = ['slots' => 1, 'qoEQ2AeFJLy:1_:sequencecheck' => 4, 'qoEQ2AeFJLy:1_choice0' => '0', 'qoEQ2AeFJLy:1_choice1' => '0', 'qoEQ2AeFJLy:1_choice2' => '0', 'qoEQ2AeFJLy:1_choice3' => '0', 'qoEQ2AeFJLy:1_choice4' => '0', 'qoEQ2AeFJLy:1_-tryagain' => '1']) /home/sara/moodles/integration_403/moodle/question/engine/questionusage.php:708
2.1756 70678432 17. qbehaviour_interactive->get_expected_qt_data() /home/sara/moodles/integration_403/moodle/question/engine/questionattempt.php:1260
2.1756 70678432 18. question_behaviour->get_expected_qt_data() /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:135
2.1756 70678816 19. qbehaviour_interactive->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = NULL; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = NULL }) /home/sara/moodles/integration_403/moodle/question/behaviour/behaviourbase.php:238
2.1756 70678816 20. qtype_oumultiresponse_hint->adjust_display_options($options = class question_display_options { public $readonly = 16; public $clearwrong = FALSE; public $correctness = 1; public $marks = 2; public $markdp = 2; public $flags = 1; public $feedback = 1; public $numpartscorrect = TRUE; public $generalfeedback = 1; public $rightanswer = 1; public $manualcomment = 1; public $manualcommentlink = NULL; public $questionreviewlink = NULL; public $history = 0; public $extrainfocontent = ''; public $extrahistorycontent = ''; public $editquestionparams = []; public $context = NULL; public $userinfoinhistory = 0; public $questionidentifier = NULL; public ?bool $versioninfo = NULL }) /home/sara/moodles/integration_403/moodle/question/behaviour/interactive/behaviour.php:99
ERRORS!
Tests: 8, Assertions: 298, Errors: 2, Risky: 2.