ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ilTestResultsGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
30
31 protected function setUp(): void
32 {
33 global $DIC;
34 parent::setUp();
35
36 $this->addGlobal_ilTabs();
37 $this->addGlobal_ilToolbar();
38
39 $this->testObj = new ilTestResultsGUI(
40 $this->getTestObjMock(),
41 $DIC['ilCtrl'],
42 $this->createMock(ilTestAccess::class),
43 $DIC['ilDB'],
44 $DIC['refinery'],
45 $DIC['ilUser'],
46 $DIC['lng'],
47 $this->createMock(\ILIAS\Test\Logging\TestLogger::class),
48 $DIC['component.repository'],
49 $this->createMock(ILIAS\Test\Presentation\TabsManager::class),
50 $DIC['ilToolbar'],
51 $DIC['tpl'],
52 $DIC['ui.factory'],
53 $DIC['ui.renderer'],
54 $this->createMock(ILIAS\Skill\Service\SkillService::class),
55 $this->createMock(ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
56 $this->createMock(\ILIAS\Test\Results\Toplist\TestTopListRepository::class),
57 $this->createMock(ILIAS\Test\RequestDataCollector::class),
58 $DIC['http'],
59 $this->createMock(ILIAS\Data\Factory::class),
60 $this->createMock(ilTestSession::class),
61 $this->createMock(ilTestObjectiveOrientedContainer::class),
62 $this->createMock(ParticipantRepository::class)
63 );
64 }
65
67 {
68 $this->assertInstanceOf(ilTestResultsGUI::class, $this->testObj);
69 }
70}
Class ilTestBaseClass.
Class ilTestResultsGUITest.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26