| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ExamplesTest Checks if all examples are implemented and properly returning strings. More...
 Inheritance diagram for ExamplesTest:
 Collaboration diagram for ExamplesTest:Public Member Functions | |
| setUp () | |
| testAllNonAbstractComponentsShowcaseExamples () | |
| testAllExamplesRenderAString (string $example_function_name, string $example_path) | |
| getFullFunctionNamesAndPathExample  More... | |
| testAllExamplesHaveExpectedOutcomeInDocs (string $example_function_name, string $example_path) | |
| getFullFunctionNamesAndPathExample  More... | |
| testFullscreenModeExamples (string $example_function_name, string $example_path) | |
| getListOfFullscreenExamples  More... | |
Static Public Member Functions | |
| static | getFullFunctionNamesAndPathExample () | 
| static | getListOfFullscreenExamples () | 
Protected Member Functions | |
| setUpMockDependencies () | |
| Some wiring up of dependencies to get all the examples running.  More... | |
Static Protected Member Functions | |
| static | getEntriesFromCrawler () | 
Protected Attributes | |
| const | MAY_NOT_HAVE_EXAMPLES | 
| Container | $dic | 
| Crawler ExamplesYamlParser | $example_parser | 
Static Protected Attributes | |
| static string | $path_to_base_factory = "components/ILIAS/UI/src/Factory.php" | 
Class ExamplesTest Checks if all examples are implemented and properly returning strings.
Definition at line 32 of file ExamplesTest.php.
      
  | 
  staticprotected | 
| Crawler | 
Definition at line 160 of file ExamplesTest.php.
Referenced by testAllNonAbstractComponentsShowcaseExamples().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 166 of file ExamplesTest.php.
      
  | 
  static | 
Definition at line 196 of file ExamplesTest.php.
| ExamplesTest::setUp | ( | ) | 
Definition at line 47 of file ExamplesTest.php.
References $_POST, $_SERVER, and setUpMockDependencies().
 Here is the call graph for this function:
      
  | 
  protected | 
Some wiring up of dependencies to get all the examples running.
If you examples needs additional dependencies, please add them here. However, please check carefully if those deps are really needed. Even if the examples, we try to keep them minimal. Note the most deps are wired up here as mocks only.
Definition at line 68 of file ExamplesTest.php.
References getLanguage(), and init().
Referenced by setUp().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ExamplesTest::testAllExamplesHaveExpectedOutcomeInDocs | ( | string | $example_function_name, | 
| string | $example_path | ||
| ) | 
getFullFunctionNamesAndPathExample
Definition at line 151 of file ExamplesTest.php.
| ExamplesTest::testAllExamplesRenderAString | ( | string | $example_function_name, | 
| string | $example_path | ||
| ) | 
getFullFunctionNamesAndPathExample
Definition at line 135 of file ExamplesTest.php.
References $DIC, $dic, and Vendor\Package\$e.
| ExamplesTest::testAllNonAbstractComponentsShowcaseExamples | ( | ) | 
| Crawler | 
Definition at line 112 of file ExamplesTest.php.
References $DIC, $dic, and getEntriesFromCrawler().
 Here is the call graph for this function:| ExamplesTest::testFullscreenModeExamples | ( | string | $example_function_name, | 
| string | $example_path | ||
| ) | 
getListOfFullscreenExamples
Definition at line 183 of file ExamplesTest.php.
References $DIC, $dic, and Vendor\Package\$e.
      
  | 
  protected | 
Definition at line 44 of file ExamplesTest.php.
Referenced by testAllExamplesRenderAString(), testAllNonAbstractComponentsShowcaseExamples(), and testFullscreenModeExamples().
      
  | 
  protected | 
Definition at line 45 of file ExamplesTest.php.
      
  | 
  staticprotected | 
Definition at line 43 of file ExamplesTest.php.
      
  | 
  protected | 
Definition at line 38 of file ExamplesTest.php.