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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilObjTestListGUITest:
+ Collaboration diagram for ilObjTestListGUITest:

Public Member Functions

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

Static Public Member Functions

static createDefaultCommandDataProvider ()
 
- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 

Protected Member Functions

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

Private Attributes

ilObjTestListGUI $testObj
 

Additional Inherited Members

- 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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file ilObjTestListGUITest.php.

Member Function Documentation

◆ createDefaultCommandDataProvider()

static ilObjTestListGUITest::createDefaultCommandDataProvider ( )
static

Definition at line 49 of file ilObjTestListGUITest.php.

50 {
51 return [
52 [[]],
53 [[1]],
54 [[1, 2]],
55 [[1, 2, 3]]
56 ];
57 }

◆ setUp()

ilObjTestListGUITest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 23 of file ilObjTestListGUITest.php.

23 : void
24 {
25 parent::setUp();
26
27 $this->addGlobal_ilAccess();
28 $this->addGlobal_ilSetting();
29 $this->addGlobal_rbacsystem();
30 $this->addGlobal_filesystem();
31 $this->addGlobal_rbacreview();
34 $this->addGlobal_user();
35
36 $this->testObj = new ilObjTestListGUI(1);
37 }
Class ilObjTestListGUI.
addGlobal_filesystem()
addGlobal_ilObjDataCache()
addGlobal_ilLoggerFactory()
addGlobal_rbacsystem()
addGlobal_rbacreview()

References addGlobal_filesystem(), addGlobal_ilAccess(), addGlobal_ilLoggerFactory(), addGlobal_ilObjDataCache(), addGlobal_ilSetting(), addGlobal_rbacreview(), addGlobal_rbacsystem(), and addGlobal_user().

+ Here is the call graph for this function:

◆ testConstruct()

ilObjTestListGUITest::testConstruct ( )

Definition at line 38 of file ilObjTestListGUITest.php.

38 : void
39 {
40 $this->assertInstanceOf(ilObjTestListGUI::class, $this->testObj);
41 }

◆ testCreateDefaultCommand()

ilObjTestListGUITest::testCreateDefaultCommand ( array  $IO)

Definition at line 44 of file ilObjTestListGUITest.php.

44 : void
45 {
46 $this->assertEquals($IO, $this->testObj->createDefaultCommand($IO));
47 }

Field Documentation

◆ $testObj

ilObjTestListGUI ilObjTestListGUITest::$testObj
private

Definition at line 21 of file ilObjTestListGUITest.php.


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