ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestProcessLockFileStorageTest.php
Go to the documentation of this file.
1<?php
2
20{
22
23 protected function setUp(): void
24 {
25 parent::setUp();
26
27 $this->addGlobal_filesystem();
28
29 $this->testObj = new ilTestProcessLockFileStorage(0);
30 }
31 public function testConstruct(): void
32 {
33 $this->assertInstanceOf(ilTestProcessLockFileStorage::class, $this->testObj);
34 }
35
36 public function testGetPathPrefix(): void
37 {
38 $this->assertEquals('ilTestProcessLocks', self::callMethod($this->testObj, 'getPathPrefix'));
39 }
40
41 public function testGetPathPostfix(): void
42 {
43 $this->assertEquals('context', self::callMethod($this->testObj, 'getPathPostfix'));
44 }
45}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addGlobal_filesystem()