Class ilTestQuestionNavigationGUITest.
More...
◆ setUp()
| ilTestQuestionNavigationGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 29 of file ilTestQuestionNavigationGUITest.php.
34 $ui_factory = $test_helper->factory();
35 $ui_renderer = $test_helper->renderer();
38 $this->createMock(ilLanguage::class),
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
◆ test_instantiateObject_shouldReturnInstance()
| ilTestQuestionNavigationGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testAnswerFreezingEnabled()
| ilTestQuestionNavigationGUITest::testAnswerFreezingEnabled |
( |
| ) |
|
Definition at line 97 of file ilTestQuestionNavigationGUITest.php.
99 $this->testObj->setAnswerFreezingEnabled(
false);
100 $this->assertFalse($this->testObj->isAnswerFreezingEnabled());
102 $this->testObj->setAnswerFreezingEnabled(
true);
103 $this->assertTrue($this->testObj->isAnswerFreezingEnabled());
◆ testAnythingRendered()
| ilTestQuestionNavigationGUITest::testAnythingRendered |
( |
| ) |
|
Definition at line 151 of file ilTestQuestionNavigationGUITest.php.
153 $this->assertFalse($this->testObj->isAnythingRendered());
155 $this->testObj->setAnythingRendered();
156 $this->assertTrue($this->testObj->isAnythingRendered());
◆ testDiscardSolutionButtonEnabled()
| ilTestQuestionNavigationGUITest::testDiscardSolutionButtonEnabled |
( |
| ) |
|
Definition at line 76 of file ilTestQuestionNavigationGUITest.php.
78 $this->testObj->setDiscardSolutionButtonEnabled(
false);
79 $this->assertFalse($this->testObj->isDiscardSolutionButtonEnabled());
81 $this->testObj->setDiscardSolutionButtonEnabled(
true);
82 $this->assertTrue($this->testObj->isDiscardSolutionButtonEnabled());
◆ testEditSolutionCommand()
| ilTestQuestionNavigationGUITest::testEditSolutionCommand |
( |
| ) |
|
Definition at line 49 of file ilTestQuestionNavigationGUITest.php.
51 $this->testObj->setEditSolutionCommand(
"test");
52 $this->assertEquals(
"test", $this->testObj->getEditSolutionCommand());
◆ testForceInstantResponseEnabled()
| ilTestQuestionNavigationGUITest::testForceInstantResponseEnabled |
( |
| ) |
|
Definition at line 106 of file ilTestQuestionNavigationGUITest.php.
108 $this->testObj->setForceInstantResponseEnabled(
false);
109 $this->assertFalse($this->testObj->isForceInstantResponseEnabled());
111 $this->testObj->setForceInstantResponseEnabled(
true);
112 $this->assertTrue($this->testObj->isForceInstantResponseEnabled());
◆ testHintRequestsExist()
| ilTestQuestionNavigationGUITest::testHintRequestsExist |
( |
| ) |
|
Definition at line 127 of file ilTestQuestionNavigationGUITest.php.
129 $this->testObj->setHintRequestsExist(
false);
130 $this->assertFalse($this->testObj->hintRequestsExist());
132 $this->testObj->setHintRequestsExist(
true);
133 $this->assertTrue($this->testObj->hintRequestsExist());
◆ testInstantFeedbackCommand()
| ilTestQuestionNavigationGUITest::testInstantFeedbackCommand |
( |
| ) |
|
Definition at line 91 of file ilTestQuestionNavigationGUITest.php.
93 $this->testObj->setInstantFeedbackCommand(
"test");
94 $this->assertEquals(
"test", $this->testObj->getInstantFeedbackCommand());
◆ testQuestionMarked()
| ilTestQuestionNavigationGUITest::testQuestionMarked |
( |
| ) |
|
Definition at line 142 of file ilTestQuestionNavigationGUITest.php.
144 $this->testObj->setQuestionMarked(
false);
145 $this->assertFalse($this->testObj->isQuestionMarked());
147 $this->testObj->setQuestionMarked(
true);
148 $this->assertTrue($this->testObj->isQuestionMarked());
◆ testQuestionMarkLinkTarget()
| ilTestQuestionNavigationGUITest::testQuestionMarkLinkTarget |
( |
| ) |
|
Definition at line 136 of file ilTestQuestionNavigationGUITest.php.
138 $this->testObj->setQuestionMarkLinkTarget(
"test");
139 $this->assertEquals(
"test", $this->testObj->getQuestionMarkLinkTarget());
◆ testQuestionWorkedThrough()
| ilTestQuestionNavigationGUITest::testQuestionWorkedThrough |
( |
| ) |
|
Definition at line 55 of file ilTestQuestionNavigationGUITest.php.
57 $this->testObj->setQuestionWorkedThrough(
false);
58 $this->assertFalse($this->testObj->isQuestionWorkedThrough());
60 $this->testObj->setQuestionWorkedThrough(
true);
61 $this->assertTrue($this->testObj->isQuestionWorkedThrough());
◆ testRequestHintCommand()
| ilTestQuestionNavigationGUITest::testRequestHintCommand |
( |
| ) |
|
Definition at line 115 of file ilTestQuestionNavigationGUITest.php.
117 $this->testObj->setRequestHintCommand(
"test");
118 $this->assertEquals(
"test", $this->testObj->getRequestHintCommand());
◆ testRevertChangesLinkTarget()
| ilTestQuestionNavigationGUITest::testRevertChangesLinkTarget |
( |
| ) |
|
Definition at line 70 of file ilTestQuestionNavigationGUITest.php.
72 $this->testObj->setRevertChangesLinkTarget(
"test");
73 $this->assertEquals(
"test", $this->testObj->getRevertChangesLinkTarget());
◆ testShowHintsCommand()
| ilTestQuestionNavigationGUITest::testShowHintsCommand |
( |
| ) |
|
◆ testSkipQuestionLinkTarget()
| ilTestQuestionNavigationGUITest::testSkipQuestionLinkTarget |
( |
| ) |
|
Definition at line 85 of file ilTestQuestionNavigationGUITest.php.
87 $this->testObj->setSkipQuestionLinkTarget(
"test");
88 $this->assertEquals(
"test", $this->testObj->getSkipQuestionLinkTarget());
◆ testSubmitSolutionCommand()
| ilTestQuestionNavigationGUITest::testSubmitSolutionCommand |
( |
| ) |
|
Definition at line 64 of file ilTestQuestionNavigationGUITest.php.
66 $this->testObj->setSubmitSolutionCommand(
"test");
67 $this->assertEquals(
"test", $this->testObj->getSubmitSolutionCommand());
◆ $testObj
The documentation for this class was generated from the following file: