ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilECSTestSettingsTest 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 ilECSTestSettingsTest:
+ Collaboration diagram for ilECSTestSettingsTest:

Public Member Functions

 testConstruct ()
 
 testGetECSObjectType ()
 
- 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

ilECSTestSettings $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

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 ilECSTestSettingsTest.php.

Member Function Documentation

◆ setUp()

ilECSTestSettingsTest::setUp ( )
protected

Definition at line 23 of file ilECSTestSettingsTest.php.

References addGlobal_ilLoggerFactory(), and addGlobal_ilRbacAdmin().

23  : void
24  {
25  parent::setUp();
26 
27  $this->addGlobal_ilRbacAdmin();
29 
30  $this->testObj = new ilECSTestSettings($this->createMock(ilObject::class));
31  }
addGlobal_ilRbacAdmin()
Class ilECSTestSettings.
addGlobal_ilLoggerFactory()
+ Here is the call graph for this function:

◆ testConstruct()

ilECSTestSettingsTest::testConstruct ( )

Definition at line 33 of file ilECSTestSettingsTest.php.

33  : void
34  {
35  $this->assertInstanceOf(ilECSTestSettings::class, $this->testObj);
36  }

◆ testGetECSObjectType()

ilECSTestSettingsTest::testGetECSObjectType ( )

Definition at line 38 of file ilECSTestSettingsTest.php.

38  : void
39  {
40  $this->assertEquals('/campusconnect/tests', self::callMethod($this->testObj, 'getECSObjectType'));
41  }

Field Documentation

◆ $testObj

ilECSTestSettings ilECSTestSettingsTest::$testObj
private

Definition at line 21 of file ilECSTestSettingsTest.php.


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