ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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

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.

23  : void
24  {
25  parent::setUp();
26 
27  $this->addGlobal_ilRbacAdmin();
28  $this->addGlobal_ilLoggerFactory();
29 
30  $this->testObj = new ilECSTestSettings($this->createMock(ilObject::class));
31  }
Class ilECSTestSettings.

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