Initialising Moodle PHPUnit test environment... PHPUnit test environment setup complete. Moodle 4.2.6+ (Build: 20240308), 275be8990350086614e32177905ddcdb4d6360ad Php: 8.2.8, pgsql: 13.10 (Ubuntu 13.10-1.pgdg20.04+1), OS: Linux 5.4.0-173-generic x86_64 PHPUnit 9.5.28 by Sebastian Bergmann and contributors. ..E Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 1.7662 45638752 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 1.7662 45638752 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_behaviour'; 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 = FALSE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 3; private $time = 0.151021401; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'rXLXAF1F4N'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 1.7663 45639208 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 1.7665 45644968 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 1.7666 45663120 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 1.7666 45663120 12. qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 1.8213 46389568 13. qbehaviour_walkthrough_test_base->check_current_output(class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; 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 = '/
You have correctly selected zero options\\./'; public $message = '' }, class question_pattern_expectation { public $pattern = '/That is not right at all\\./'; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice0']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice1']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice2']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice3']; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:127 1.8213 46389568 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 1.8213 46389568 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 1.8224 46390736 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 }, $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 = 'default'; 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-3cJuDyADdh%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-3cJuDyADdh%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - 3cJuDyADdh]'; protected $language = NULL; 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 = 'default'; 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-3cJuDyADdh%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-3cJuDyADdh%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - 3cJuDyADdh]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 1.8228 46391704 17. 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 = 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 1.8229 46391704 18. 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 = 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 1.7662 45638752 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 1.7662 45638752 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_behaviour'; 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 = FALSE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 3; private $time = 0.151021401; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'rXLXAF1F4N'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 1.7663 45639208 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 1.7665 45644968 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 1.7666 45663120 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 1.7666 45663120 12. qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 1.8333 46449400 13. qbehaviour_walkthrough_test_base->process_submission($data = ['-tryagain' => 1]) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:147 1.8334 46450288 14. question_usage_by_activity->process_all_actions($timestamp = 1710241144, $postdata = ['slots' => 1, 'qrXLXAF1F4N:1_:sequencecheck' => 3, 'qrXLXAF1F4N:1_-tryagain' => 1]) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:851 1.8334 46450504 15. question_usage_by_activity->extract_responses($slot = '1', $postdata = ['slots' => 1, 'qrXLXAF1F4N:1_:sequencecheck' => 3, 'qrXLXAF1F4N:1_-tryagain' => 1]) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:642 1.8334 46450504 16. question_attempt->get_submitted_data($postdata = ['slots' => 1, 'qrXLXAF1F4N:1_:sequencecheck' => 3, 'qrXLXAF1F4N:1_-tryagain' => 1]) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:708 1.8334 46450920 17. qbehaviour_interactive->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:1256 1.8334 46450920 18. question_behaviour->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:135 1.8334 46451304 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:238 1.8335 46451304 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 1.7662 45638752 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 = FALSE; private $errors = []; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 3; private $time = 0.151021401; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 1.7662 45638752 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_behaviour'; 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 = FALSE; private $errors = [...]; private $failures = [...]; private $warnings = [...]; private $notImplemented = [...]; private $risky = [...]; private $skipped = [...]; private $listeners = [...]; private $runTests = 3; private $time = 0.151021401; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'rXLXAF1F4N'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 1.7663 45639208 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 1.7665 45644968 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 1.7666 45663120 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 1.7666 45663120 12. qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 1.8478 46475152 13. qbehaviour_walkthrough_test_base->check_current_output(class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N: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' => 'qrXLXAF1F4N:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; 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 = '/
You have correctly selected one option\\./'; 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' => 'qrXLXAF1F4N:1_choice0', 'value' => '1']; public $forbiddenvalues = []; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice1']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice2']; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qrXLXAF1F4N:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:170 1.8478 46475152 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 1.8479 46475152 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 1.8496 46476320 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 }, $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 = 'default'; 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-3cJuDyADdh%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-3cJuDyADdh%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - 3cJuDyADdh]'; protected $language = NULL; 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 = 'default'; 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-3cJuDyADdh%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-3cJuDyADdh%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - 3cJuDyADdh]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 1.8507 46478624 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 1.8508 46478624 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 E Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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 { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 4; private $time = 0.515604926; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.1314 67847736 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 { ... }]; private $failures = []; private $warnings = []; private $notImplemented = []; private $risky = []; private $skipped = []; private $listeners = [0 => class PHPUnit\TextUI\DefaultResultPrinter { ... }]; private $runTests = 4; private $time = 0.515604926; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.1314 67847736 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_behaviour2'; 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 = 4; private $time = 0.515604926; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = '7c0CnF3TCT'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.1315 67848192 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.1317 67853952 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.1319 67872104 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.1319 67872104 12. qtype_oumultiresponse\walkthrough_test->test_interactive_behaviour2() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.1899 68479896 13. qbehaviour_walkthrough_test_base->check_current_output(class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'q7c0CnF3TCT: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' => 'q7c0CnF3TCT: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' => 'q7c0CnF3TCT:1_choice2', 'value' => 1, 'type' => 'checkbox', 'disabled' => 'disabled', 'checked' => 'checked']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['name' => 'q7c0CnF3TCT: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' => 'q7c0CnF3TCT:1_-tryagain']; public $forbiddenvalues = ['disabled' => 'disabled']; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/class=\\"correctness/'; 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 = '/You have selected too many options\\./'; public $message = '' }, class question_no_pattern_expectation { public $pattern = '/Three is odd/'; public $message = '' }, class question_pattern_expectation { public $pattern = '/Parts, but only parts, of your response are correct\\./'; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'q7c0CnF3TCT:1_choice0']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'q7c0CnF3TCT:1_choice1']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'q7c0CnF3TCT:1_choice2']; public $message = '' }, class question_does_not_contain_tag_with_attributes { public $tag = 'input'; public $attributes = ['type' => 'hidden', 'name' => 'q7c0CnF3TCT:1_choice3']; public $message = '' }, class question_pattern_expectation { public $pattern = '/Select one or more\\:/'; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:260 2.1899 68479896 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 2.1899 68479896 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 2.1910 68481064 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 }, $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 = 'default'; 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-LhJAmvTFMM%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-LhJAmvTFMM%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - LhJAmvTFMM]'; protected $language = NULL; 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 = 'default'; 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-LhJAmvTFMM%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-LhJAmvTFMM%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - LhJAmvTFMM]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 2.1914 68482032 17. 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 = 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 2.1914 68482192 18. 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 = 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 R Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.2189 68121136 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.2189 68121136 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.602858816; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'x3ZsjPqbi5'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.2190 68121592 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.2195 68127352 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.2197 68145504 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.2198 68145504 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.2850 68754640 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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5:1_choice1', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qx3ZsjPqbi5:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:318 2.2850 68754640 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 2.2850 68754640 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 2.2862 68755808 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 }, $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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; 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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 2.2866 68756776 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 2.2867 68756776 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.2189 68121136 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.2189 68121136 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.602858816; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'x3ZsjPqbi5'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.2190 68121592 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.2195 68127352 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.2197 68145504 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.2198 68145504 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.3055 68784568 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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5:1_choice0', 'value' => '1']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qx3ZsjPqbi5:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:359 2.3055 68784568 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 2.3055 68784568 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 2.3077 68785736 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 }, $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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; 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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 2.3085 68788040 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 2.3086 68788040 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 R Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.730203521; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.3470 68470312 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.730203521; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.3470 68470312 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.730203521; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = '2G3lYkw2tH'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.3471 68470768 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.3476 68476528 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.3478 68494680 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.3479 68494680 12. qtype_oumultiresponse\walkthrough_test->test_interactive_bug_11263() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.3931 69094792 13. qbehaviour_walkthrough_test_base->process_submission($data = ['choice0' => '0', 'choice1' => '0', 'choice2' => '0', 'choice3' => '0', 'choice4' => '0', '-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:453 2.3931 69095920 14. question_usage_by_activity->process_all_actions($timestamp = 1710241144, $postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:851 2.3931 69096136 15. question_usage_by_activity->extract_responses($slot = '1', $postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:642 2.3931 69096136 16. question_attempt->get_submitted_data($postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:708 2.3931 69096552 17. qbehaviour_interactive->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:1256 2.3932 69096552 18. question_behaviour->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:135 2.3932 69096936 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:238 2.3932 69096936 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 .. 8 / 8 (100%) Time: 00:00.925, Memory: 70.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 403 of /question/engine/renderer.php: call to qtype_multichoice_renderer_base->formulation_and_controls() * line 108 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 908 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_402/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 403 of /question/engine/renderer.php: call to qtype_multichoice_renderer_base->formulation_and_controls() * line 108 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 908 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_402/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_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.2189 68121136 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.2189 68121136 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.602858816; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'x3ZsjPqbi5'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.2190 68121592 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.2195 68127352 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.2197 68145504 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.2198 68145504 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.2850 68754640 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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5:1_choice1', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qx3ZsjPqbi5:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:318 2.2850 68754640 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 2.2850 68754640 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 2.2862 68755808 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 }, $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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; 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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 2.2866 68756776 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 2.2867 68756776 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 Deprecated: Creation of dynamic property question_display_options::$suppresschoicefeedback is deprecated in /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.2189 68121136 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.602858816; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.2189 68121136 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.602858816; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = 'x3ZsjPqbi5'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.2190 68121592 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.2195 68127352 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.2197 68145504 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.2198 68145504 12. qtype_oumultiresponse\walkthrough_test->test_interactive_clear_wrong() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.3055 68784568 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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5: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' => 'qx3ZsjPqbi5:1_choice0', 'value' => '1']; public $forbiddenvalues = []; public $message = '' }, class question_contains_tag_with_attributes { public $tag = 'input'; public $expectedvalues = ['type' => 'hidden', 'name' => 'qx3ZsjPqbi5:1_choice3', 'value' => '0']; public $forbiddenvalues = []; public $message = '' }) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:359 2.3055 68784568 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 }, $number = ???) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:1008 2.3055 68784568 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 }, $number = NULL, $page = ???) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:483 2.3077 68785736 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 }, $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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; 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 = 'default'; 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-I1gVO0csqc%%'; protected $unique_performance_info_token = '%%PERFORMANCEINFO-I1gVO0csqc%%'; protected $unique_main_content_token = '[MAIN CONTENT GOES HERE - I1gVO0csqc]'; protected $language = NULL; private $progressmaximums = [...] } }) /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:908 2.3085 68788040 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:112 2.3086 68788040 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 }) /home/sara/moodles/integration_402/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_402/moodle/question/type/oumultiresponse/questiontype.php on line 408 Call Stack: 0.0005 422920 1. {main}() /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:0 0.0007 434144 2. include('/home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit') /home/sara/moodles/integration_402/moodle/vendor/bin/phpunit:122 0.0134 1233896 3. PHPUnit\TextUI\Command::main($exit = ???) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/phpunit:98 0.0134 1234008 4. PHPUnit\TextUI\Command->run($argv = [0 => 'vendor/bin/phpunit', 1 => 'question/type/oumultiresponse/tests/walkthrough_test.php'], $exit = TRUE) /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:97 1.6075 40956272 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 = 641; 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_402/moodle/phpunit.xml', 'configurationObject' => class PHPUnit\TextUI\XmlConfiguration\Configuration { private $filename = '/home/sara/moodles/integration_402/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_402/moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:144 1.6121 41217232 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.730203521; 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_402/moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:653 2.3470 68470312 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.730203521; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 2.3470 68470312 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.730203521; 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 = 1710241144; 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 }; protected $quba = class question_usage_by_activity { protected $id = '2G3lYkw2tH'; 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_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:904 2.3471 68470768 9. advanced_testcase->runBare() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 2.3476 68476528 10. PHPUnit\Framework\TestCase->runBare() /home/sara/moodles/integration_402/moodle/lib/phpunit/classes/advanced_testcase.php:81 2.3478 68494680 11. PHPUnit\Framework\TestCase->runTest() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1154 2.3479 68494680 12. qtype_oumultiresponse\walkthrough_test->test_interactive_bug_11263() /home/sara/moodles/integration_402/moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:1548 2.3931 69094792 13. qbehaviour_walkthrough_test_base->process_submission($data = ['choice0' => '0', 'choice1' => '0', 'choice2' => '0', 'choice3' => '0', 'choice4' => '0', '-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/type/oumultiresponse/tests/walkthrough_test.php:453 2.3931 69095920 14. question_usage_by_activity->process_all_actions($timestamp = 1710241144, $postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/tests/helpers.php:851 2.3931 69096136 15. question_usage_by_activity->extract_responses($slot = '1', $postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:642 2.3931 69096136 16. question_attempt->get_submitted_data($postdata = ['slots' => 1, 'q2G3lYkw2tH:1_:sequencecheck' => 4, 'q2G3lYkw2tH:1_choice0' => '0', 'q2G3lYkw2tH:1_choice1' => '0', 'q2G3lYkw2tH:1_choice2' => '0', 'q2G3lYkw2tH:1_choice3' => '0', 'q2G3lYkw2tH:1_choice4' => '0', 'q2G3lYkw2tH:1_-tryagain' => '1']) /home/sara/moodles/integration_402/moodle/question/engine/questionusage.php:708 2.3931 69096552 17. qbehaviour_interactive->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/engine/questionattempt.php:1256 2.3932 69096552 18. question_behaviour->get_expected_qt_data() /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:135 2.3932 69096936 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/behaviourbase.php:238 2.3932 69096936 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 }) /home/sara/moodles/integration_402/moodle/question/behaviour/interactive/behaviour.php:99 ERRORS! Tests: 8, Assertions: 298, Errors: 2, Risky: 2.