Class ilTestResultsGUITest.
More...
◆ setUp()
| ilTestResultsGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 29 of file ilTestResultsGUITest.php.
References $DIC, ilTestBaseTestCase\addGlobal_http(), ilTestBaseTestCase\addGlobal_ilAccess(), ilTestBaseTestCase\addGlobal_ilComponentRepository(), ilTestBaseTestCase\addGlobal_ilCtrl(), ilTestBaseTestCase\addGlobal_ilLoggerFactory(), ilTestBaseTestCase\addGlobal_ilTabs(), ilTestBaseTestCase\addGlobal_ilToolbar(), ilTestBaseTestCase\addGlobal_ilUser(), ilTestBaseTestCase\addGlobal_lng(), ilTestBaseTestCase\addGlobal_tpl(), ilTestBaseTestCase\addGlobal_uiFactory(), and ilTestBaseTestCase\addGlobal_uiRenderer().
48 $this->createMock(ilObjTest::class),
49 $this->createMock(ilTestQuestionSetConfig::class),
56 $this->createMock(\
ILIAS\
DI\LoggingServices::class),
57 $DIC[
'component.repository'],
63 $this->createMock(
ILIAS\Skill\Service\SkillService::class),
64 $this->createMock(
ILIAS\
Test\InternalRequestService::class),
65 $this->createMock(\
ILIAS\TestQuestionPool\QuestionInfoService::class),
addGlobal_ilLoggerFactory()
Class ChatMainBarProvider .
addGlobal_ilComponentRepository()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_instantiateObject_shouldReturnInstance()
| ilTestResultsGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testObjectiveParent()
| ilTestResultsGUITest::testObjectiveParent |
( |
| ) |
|
Definition at line 75 of file ilTestResultsGUITest.php.
77 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
78 $this->testObj->setObjectiveParent($mock);
79 $this->assertEquals($mock, $this->testObj->getObjectiveParent());
◆ testQuestionSetConfig()
| ilTestResultsGUITest::testQuestionSetConfig |
( |
| ) |
|
Definition at line 89 of file ilTestResultsGUITest.php.
91 $mock = $this->createMock(ilTestQuestionSetConfig::class);
92 $this->testObj->setQuestionSetConfig($mock);
93 $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
◆ testTestAccess()
| ilTestResultsGUITest::testTestAccess |
( |
| ) |
|
Definition at line 96 of file ilTestResultsGUITest.php.
98 $mock = $this->createMock(ilTestAccess::class);
99 $this->testObj->setTestAccess($mock);
100 $this->assertEquals($mock, $this->testObj->getTestAccess());
◆ testTestObj()
| ilTestResultsGUITest::testTestObj |
( |
| ) |
|
Definition at line 82 of file ilTestResultsGUITest.php.
84 $mock = $this->createMock(ilObjTest::class);
85 $this->testObj->setTestObj($mock);
86 $this->assertEquals($mock, $this->testObj->getTestObj());
◆ testTestSession()
| ilTestResultsGUITest::testTestSession |
( |
| ) |
|
Definition at line 103 of file ilTestResultsGUITest.php.
105 $mock = $this->createMock(ilTestSession::class);
106 $this->testObj->setTestSession($mock);
107 $this->assertEquals($mock, $this->testObj->getTestSession());
◆ testTestTabs()
| ilTestResultsGUITest::testTestTabs |
( |
| ) |
|
Definition at line 110 of file ilTestResultsGUITest.php.
112 $mock = $this->createMock(ilTestTabsManager::class);
113 $this->testObj->setTestTabs($mock);
114 $this->assertEquals($mock, $this->testObj->getTestTabs());
◆ $testObj
The documentation for this class was generated from the following file: