ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCtrlExistingPathTest Class Reference

Class ilCtrlExistingPathTest. More...

+ Inheritance diagram for ilCtrlExistingPathTest:
+ Collaboration diagram for ilCtrlExistingPathTest:

Public Member Functions

 testExistingPathWithString ()
 
 testExistingPathWithEmptyString ()
 

Additional Inherited Members

- Protected Member Functions inherited from ilCtrlPathTestBase
 setUp ()
 @inheritDoc More...
 
 getPath (?string $cid_path=null)
 
- Protected Attributes inherited from ilCtrlPathTestBase
ilCtrlStructureInterface $structure
 

Detailed Description

Member Function Documentation

◆ testExistingPathWithEmptyString()

ilCtrlExistingPathTest::testExistingPathWithEmptyString ( )

Definition at line 36 of file ilCtrlExistingPathTest.php.

36 : void
37 {
38 $path = new ilCtrlExistingPath($this->structure, '');
39 $this->assertNull($path->getCidPath());
40 }
Class ilCtrlExistingPath.
$path
Definition: ltiservices.php:30

References $path.

◆ testExistingPathWithString()

ilCtrlExistingPathTest::testExistingPathWithString ( )

Definition at line 30 of file ilCtrlExistingPathTest.php.

30 : void
31 {
32 $path = new ilCtrlExistingPath($this->structure, 'foo');
33 $this->assertEquals('foo', $path->getCidPath());
34 }

References $path.


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