3 declare(strict_types=1);
29 protected function setUp(): void
33 $this->markTestSkipped(
"DB causing issues");
61 $this->assertInstanceOf(ilObjTestGUI::class, $this->testObj);
66 $this->assertNull($this->testObj->getTestAccess());
67 $testAccess_mock = $this->createMock(ilTestAccess::class);
69 $this->testObj->setTestAccess($testAccess_mock);
70 $this->assertEquals($testAccess_mock, $this->testObj->getTestAccess());
75 $this->assertNull($this->testObj->getTabsManager());
76 $testTabsManager_mock = $this->createMock(ilTestTabsManager::class);
78 $this->testObj->setTabsManager($testTabsManager_mock);
79 $this->assertEquals($testTabsManager_mock, $this->testObj->getTabsManager());
84 $ctrl_mock = $this->createMock(ilCtrl::class);
86 ->expects($this->once())
88 ->with($this->testObj,
"infoScreen");
98 $ctrl_mock = $this->createMock(ilCtrl::class);
100 ->expects($this->once())
101 ->method(
"redirectByClass")
102 ->with(
"iltestevaluationgui",
"outEvaluation");
112 $ctrl_mock = $this->createMock(ilCtrl::class);
114 ->expects($this->once())
116 ->with($this->testObj,
"questions");
126 $ctrl_mock = $this->createMock(ilCtrl::class);
128 ->expects($this->once())
130 ->with($this->testObj,
"questions");
140 $ctrl_mock = $this->createMock(ilCtrl::class);
142 ->expects($this->once())
144 ->with($this->testObj,
"questions");
154 $ctrl_mock = $this->createMock(ilCtrl::class);
156 ->expects($this->once())
158 ->with($this->testObj,
"questions");
170 $ctrl_mock = $this->createMock(ilCtrl::class);
172 ->expects($this->once())
174 ->with($this->testObj,
"questions");
addGlobal_objDefinition()
cancelCreateQuestionObject()
Called when the creation of a new question is cancelled.
testMoveQuestionsObject()
testCancelRandomSelectObject()
addGlobal_ilComponentRepository()
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
cancelRemoveQuestionsObject()
Cancels the removal of questions from the test.
testCancelCreateQuestionObject()
testCancelRemoveQuestionsObject()
setGlobalVariable(string $name, $value)
cancelRandomSelectObject()
moveQuestionsObject()
Marks selected questions for moving.
testOutEvaluationObject()
backObject()
Called when the back button in the question browser was pressed.