Definition at line 27 of file FactoriesCrawlerTest.php.
 
◆ setUp()
  
  
      
        
          | FactoriesCrawlerTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testAccessInvalidEntry()
      
        
          | FactoriesCrawlerTest::testAccessInvalidEntry  | 
          ( | 
           | ) | 
           | 
        
      
 
- Exceptions
 - 
  
  
 
Definition at line 39 of file FactoriesCrawlerTest.php.
References Vendor\Package\$e.
   42             $entries = $this->crawler->crawlFactory(__DIR__ . 
"/Fixture/ComponentsTreeFixture/RootFactory.php");
    43             $entries->getEntryById(
"NonExistent")->getChildren();
    44             $entries->getParentsOfEntry(
"NonExistent");
    45             $this->assertFalse(
"This should not happen");
    47             $this->assertEquals(
Crawler\
Exception\CrawlerException::INVALID_ID, $e->getCode());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ testLoopFactory()
      
        
          | FactoriesCrawlerTest::testLoopFactory  | 
          ( | 
           | ) | 
           | 
        
      
 
- Exceptions
 - 
  
  
 
Definition at line 83 of file FactoriesCrawlerTest.php.
References Vendor\Package\$e.
   86             $this->crawler->crawlFactory(
"components/ILIAS/UI/tests/Crawler/Fixture/LoopFactory.php");
    88             $this->assertFalse(
"This should not happen");
    90             $this->assertEquals(
Crawler\
Exception\CrawlerException::CRAWL_MAX_NESTING_REACHED, $e->getCode());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ testNoClosingDescriptionFactory()
      
        
          | FactoriesCrawlerTest::testNoClosingDescriptionFactory  | 
          ( | 
           | ) | 
           | 
        
      
 
- Exceptions
 - 
  
  
 
Definition at line 110 of file FactoriesCrawlerTest.php.
References Vendor\Package\$e.
  113             $this->crawler->crawlFactory(
"components/ILIAS/UI/tests/Crawler/Fixture/NoClosingDescriptionFactory.php");
   115             $this->assertFalse(
"This should not happen");
   117             $this->assertEquals(
Crawler\
Exception\CrawlerException::ENTRY_WITH_NO_YAML_DESCRIPTION, $e->getCode());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ testNoNamespaceFactory()
      
        
          | FactoriesCrawlerTest::testNoNamespaceFactory  | 
          ( | 
           | ) | 
           | 
        
      
 
- Exceptions
 - 
  
  
 
Definition at line 97 of file FactoriesCrawlerTest.php.
References Vendor\Package\$e.
  100             $this->crawler->crawlFactory(
"components/ILIAS/UI/tests/Crawler/Fixture/NoNamespaceFactory.php");
   101             $this->assertFalse(
"This should not happen");
   103             $this->assertEquals(
Crawler\
Exception\CrawlerException::ENTRY_WITH_NO_VALID_RETURN_STATEMENT, $e->getCode());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ testParseValidFile()
      
        
          | FactoriesCrawlerTest::testParseValidFile  | 
          ( | 
           | ) | 
           | 
        
      
 
- Exceptions
 - 
  
  
 
Definition at line 54 of file FactoriesCrawlerTest.php.
   56         $entries = $this->crawler->crawlFactory(__DIR__ . 
"/../../../../../components/ILIAS/UI/tests/Crawler/Fixture/ComponentsTreeFixture/RootFactory.php");
    57         $this->assertCount(6, $entries);
    60             $entries->getEntryById(
"testsUICrawlerFixtureComponentsTreeFixtureComponent1FactoryComponent1")->getChildren()
    64             $entries->getDescendantsOfEntry(
"testsUICrawlerFixtureComponentsTreeFixtureComponent1FactoryComponent1")
    68             $entries->getEntryById(
"testsUICrawlerFixtureComponentsTreeFixtureComponent2FactoryComponent2")->getChildren()
    72             $entries->getParentsOfEntry(
"testsUICrawlerFixtureComponentsTreeFixtureComponent1FactoryComponent1")
    76             $entries->getParentsOfEntry(
"testsUICrawlerFixtureComponentsTreeFixtureComponent1component12component121Component121")
  
 
 
◆ $crawler
  
  
      
        
          | Crawler FactoriesCrawler FactoriesCrawlerTest::$crawler | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: