ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 29 of file ilTestResultsGUITest.php.

29 : 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 }
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 63 of file ilTestResultsGUITest.php.

63 : void
64 {
65 $this->assertInstanceOf(ilTestResultsGUI::class, $this->testObj);
66 }

Field Documentation

◆ $testObj

ilTestResultsGUI ilTestResultsGUITest::$testObj
private

Definition at line 27 of file ilTestResultsGUITest.php.


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