ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestParticipantsGUITest Class Reference

Class ilTestParticipantsGUITest. More...

+ Inheritance diagram for ilTestParticipantsGUITest:
+ Collaboration diagram for ilTestParticipantsGUITest:

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

ilTestParticipantsGUI $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()

ilTestParticipantsGUITest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilTestParticipantsGUITest.php.

29 : void
30 {
31 global $DIC;
32 parent::setUp();
33 $this->addGlobal_ilAccess();
34 $this->addGlobal_ilTabs();
35 $this->addGlobal_ilToolbar();
37
38 $this->testObj = new ilTestParticipantsGUI(
39 $this->getTestObjMock(),
40 $this->createMock(\ilObjUser::class),
41 $this->createMock(ilTestObjectiveOrientedContainer::class),
42 $this->createMock(ilTestQuestionSetConfig::class),
43 $DIC['ilAccess'],
44 $this->createMock(ilTestAccess::class),
45 $DIC['tpl'],
46 $DIC['ui.factory'],
47 $DIC['ui.renderer'],
48 $this->createMock(ilUIService::class),
49 $this->createMock(ILIAS\Data\Factory::class),
50 $DIC['lng'],
51 $DIC['ilCtrl'],
52 $DIC['refinery'],
53 $DIC['ilDB'],
54 $this->createMock(\ILIAS\Test\Presentation\TabsManager::class),
55 $DIC['ilToolbar'],
56 $DIC['component.factory'],
57 $this->createMock(\ILIAS\Test\ExportImport\Factory::class),
58 $this->createMock(\ILIAS\Test\RequestDataCollector::class),
59 $this->createMock(\ILIAS\Test\ResponseHandler::class),
60 $this->createMock(\ILIAS\Test\Participants\ParticipantRepository::class),
61 $this->createMock(ILIAS\Test\Results\Data\Factory::class),
62 $this->createMock(ILIAS\Test\Results\Presentation\Factory::class),
63 $this->createMock(\ILIAS\Test\Results\Data\Repository::class)
64 );
65 }
Class ilTestParticipantsGUI.
addGlobal_ilComponentFactory()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26

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

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestParticipantsGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 67 of file ilTestParticipantsGUITest.php.

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

Field Documentation

◆ $testObj

ilTestParticipantsGUI ilTestParticipantsGUITest::$testObj
private

Definition at line 27 of file ilTestParticipantsGUITest.php.


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