Class ilCtrlPathFactoryTest.  
 More...
◆ setUp()
  
  
      
        
          | ilCtrlPathFactoryTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testPathFactoryExistingPath()
      
        
          | ilCtrlPathFactoryTest::testPathFactoryExistingPath  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 69 of file ilCtrlPathFactoryTest.php.
References $path.
   71         $path = $this->factory->existing(
'foo');
    73         $this->assertEquals(
'foo', 
$path->getCidPath());
    74         $this->assertInstanceOf(
    75             ilCtrlExistingPath::class,
 
 
 
 
◆ testPathFactoryFindArrayClassTargetPath()
      
        
          | ilCtrlPathFactoryTest::testPathFactoryFindArrayClassTargetPath  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 43 of file ilCtrlPathFactoryTest.php.
References $context, and $path.
   45         $context = $this->createMock(ilCtrlContextInterface::class);
    47             ilCtrlBaseClass1TestGUI::class,
    48             ilCtrlCommandClass1TestGUI::class,
    51         $this->assertEquals(
'0:2', 
$path->getCidPath());
    52         $this->assertInstanceOf(
    53             ilCtrlArrayClassPath::class,
 
 
 
 
◆ testPathFactoryFindSingleClassTargetPath()
      
        
          | ilCtrlPathFactoryTest::testPathFactoryFindSingleClassTargetPath  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 31 of file ilCtrlPathFactoryTest.php.
References $context, and $path.
   33         $context = $this->createMock(ilCtrlContextInterface::class);
    34         $path = $this->factory->find(
$context, ilCtrlBaseClass1TestGUI::class);
    36         $this->assertEquals(
'0', 
$path->getCidPath());
    37         $this->assertInstanceOf(
    38             ilCtrlSingleClassPath::class,
 
 
 
 
◆ testPathFactoryNullPath()
      
        
          | ilCtrlPathFactoryTest::testPathFactoryNullPath  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ $factory
The documentation for this class was generated from the following file: