ILIAS  release_8 Revision v8.24
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 22 of file ilCtrlExistingPathTest.php.

22 : void
23 {
24 $path = new ilCtrlExistingPath($this->structure, '');
25 $this->assertNull($path->getCidPath());
26 }
Class ilCtrlExistingPath.
$path
Definition: ltiservices.php:32

References $path.

◆ testExistingPathWithString()

ilCtrlExistingPathTest::testExistingPathWithString ( )

Definition at line 16 of file ilCtrlExistingPathTest.php.

16 : void
17 {
18 $path = new ilCtrlExistingPath($this->structure, 'foo');
19 $this->assertEquals('foo', $path->getCidPath());
20 }

References $path.


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