ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestProcessLockFileStorageTest 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 ilTestProcessLockFileStorageTest:
+ Collaboration diagram for ilTestProcessLockFileStorageTest:

Public Member Functions

 testConstruct ()
 
 testGetPathPrefix ()
 
 testGetPathPostfix ()
 

Protected Member Functions

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

Private Attributes

ilTestProcessLockFileStorage $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 ilTestProcessLockFileStorageTest.php.

Member Function Documentation

◆ setUp()

ilTestProcessLockFileStorageTest::setUp ( )
protected

Definition at line 23 of file ilTestProcessLockFileStorageTest.php.

23  : void
24  {
25  parent::setUp();
26 
27  $this->addGlobal_filesystem();
28 
29  $this->testObj = new ilTestProcessLockFileStorage(0);
30  }

◆ testConstruct()

ilTestProcessLockFileStorageTest::testConstruct ( )

Definition at line 31 of file ilTestProcessLockFileStorageTest.php.

31  : void
32  {
33  $this->assertInstanceOf(ilTestProcessLockFileStorage::class, $this->testObj);
34  }

◆ testGetPathPostfix()

ilTestProcessLockFileStorageTest::testGetPathPostfix ( )

Definition at line 41 of file ilTestProcessLockFileStorageTest.php.

41  : void
42  {
43  $this->assertEquals('context', self::callMethod($this->testObj, 'getPathPostfix'));
44  }

◆ testGetPathPrefix()

ilTestProcessLockFileStorageTest::testGetPathPrefix ( )

Definition at line 36 of file ilTestProcessLockFileStorageTest.php.

36  : void
37  {
38  $this->assertEquals('ilTestProcessLocks', self::callMethod($this->testObj, 'getPathPrefix'));
39  }

Field Documentation

◆ $testObj

ilTestProcessLockFileStorage ilTestProcessLockFileStorageTest::$testObj
private

Definition at line 21 of file ilTestProcessLockFileStorageTest.php.


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