ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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 48 of file ilObjTestListGUITest.php.

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

◆ setUp()

ilObjTestListGUITest::setUp ( )
protected

Definition at line 23 of file ilObjTestListGUITest.php.

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

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();
32  $this->addGlobal_ilObjDataCache();
34 
35  $this->testObj = new ilObjTestListGUI(1);
36  }
addGlobal_filesystem()
addGlobal_rbacsystem()
addGlobal_rbacreview()
Class ilObjTestListGUI.
addGlobal_ilLoggerFactory()
addGlobal_ilObjDataCache()
+ Here is the call graph for this function:

◆ testConstruct()

ilObjTestListGUITest::testConstruct ( )

Definition at line 37 of file ilObjTestListGUITest.php.

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

◆ testCreateDefaultCommand()

ilObjTestListGUITest::testCreateDefaultCommand ( array  $IO)

Definition at line 43 of file ilObjTestListGUITest.php.

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

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: