ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ilTestResultsGUITest Class Reference

Class ilTestResultsGUITest. More...

+ Inheritance diagram for ilTestResultsGUITest:
+ Collaboration diagram for ilTestResultsGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
- Public Member Functions inherited from ilTestBaseTestCase
 createInstanceOf (string $class_name, array $explicit_parameters=[])
 
 createTraitInstanceOf (string $class_name, array $explicit_parameters=[])
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

ilTestResultsGUI $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 
- Data Fields inherited from ilTestBaseTestCase
const string MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT'
 
const string DYNAMIC_CLASS = 'DynamicClass'
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 
Container $backup_dic = null
 
- Static Protected Attributes inherited from ilTestBaseTestCase
static int $DYNAMIC_CLASS_COUNT = 0
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestResultsGUITest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 31 of file ilTestResultsGUITest.php.

31 : 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 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26

References $DIC, addGlobal_ilTabs(), addGlobal_ilToolbar(), and getTestObjMock().

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestResultsGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 66 of file ilTestResultsGUITest.php.

66 : void
67 {
68 $this->assertInstanceOf(ilTestResultsGUI::class, $this->testObj);
69 }

Field Documentation

◆ $testObj

ilTestResultsGUI ilTestResultsGUITest::$testObj
private

Definition at line 29 of file ilTestResultsGUITest.php.


The documentation for this class was generated from the following file: