ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 ()
 
 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.

References $path.

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

◆ testExistingPathWithString()

ilCtrlExistingPathTest::testExistingPathWithString ( )

Definition at line 16 of file ilCtrlExistingPathTest.php.

References $path.

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

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