ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 36 of file ilCtrlExistingPathTest.php.

References $path.

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

◆ testExistingPathWithString()

ilCtrlExistingPathTest::testExistingPathWithString ( )

Definition at line 30 of file ilCtrlExistingPathTest.php.

References $path.

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

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