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

Class ilTestRandomQuestionSetConfigGUITest. More...

+ Inheritance diagram for ilTestRandomQuestionSetConfigGUITest:
+ Collaboration diagram for ilTestRandomQuestionSetConfigGUITest:

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

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

ilTestRandomQuestionSetConfigGUITest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilTestRandomQuestionSetConfigGUITest.php.

29 : void
30 {
31 global $DIC;
32 parent::setUp();
33
34 $this->addGlobal_ilCtrl();
35 $this->addGlobal_http();
36 $this->addGlobal_ilUser();
37 $this->addGlobal_ilTabs();
38 $this->addGlobal_tree();
40
41 $this->testObj = new ilTestRandomQuestionSetConfigGUI(
42 $this->getTestObjMock(),
43 $DIC['ilCtrl'],
44 $DIC['ilUser'],
45 $DIC['ilAccess'],
46 $DIC['ui.factory'],
47 $DIC['ui.renderer'],
48 $this->createMock(ILIAS\Data\Factory::class),
49 $this->createMock(\ILIAS\Test\Presentation\TabsManager::class),
50 $DIC['lng'],
51 $this->createMock(ILIAS\Test\Logging\TestLogger::class),
52 $DIC['tpl'],
53 $DIC['ilDB'],
54 $DIC['tree'],
55 $DIC['component.repository'],
56 $DIC['objDefinition'],
57 $DIC['ilObjDataCache'],
58 $this->getMockBuilder(ilTestProcessLockerFactory::class)->disableOriginalConstructor()->getMock(),
59 $this->createMock(ILIAS\Test\RequestDataCollector::class),
60 $this->createMock(ILIAS\Test\Utilities\TitleColumnsBuilder::class),
61 $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class)
62 );
63 }
addGlobal_ilObjDataCache()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26

References $DIC, addGlobal_http(), addGlobal_ilCtrl(), addGlobal_ilObjDataCache(), addGlobal_ilTabs(), addGlobal_ilUser(), addGlobal_tree(), and getTestObjMock().

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestRandomQuestionSetConfigGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 65 of file ilTestRandomQuestionSetConfigGUITest.php.

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

Field Documentation

◆ $testObj

ilTestRandomQuestionSetConfigGUI ilTestRandomQuestionSetConfigGUITest::$testObj
private

Definition at line 27 of file ilTestRandomQuestionSetConfigGUITest.php.


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