ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestParticipantsGUITest Class Reference

Class ilTestParticipantsGUITest. More...

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

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 

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=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestParticipantsGUITest::setUp ( )
protected

Definition at line 29 of file ilTestParticipantsGUITest.php.

References $DIC.

29  : void
30  {
31  global $DIC;
32  parent::setUp();
33  $this->addGlobal_ilAccess();
34  $this->addGlobal_ilTabs();
35  $this->addGlobal_ilToolbar();
36  $this->addGlobal_ilComponentFactory();
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  }
Interface Observer Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:22
Class ilTestParticipantsGUI.

◆ 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: