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