ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
FastRoute\Dispatcher\MarkBasedTest Class Reference
+ Inheritance diagram for FastRoute\Dispatcher\MarkBasedTest:
+ Collaboration diagram for FastRoute\Dispatcher\MarkBasedTest:

Public Member Functions

 setUp ()
 
- Public Member Functions inherited from FastRoute\Dispatcher\DispatcherTest
 testFoundDispatches ($method, $uri, $callback, $handler, $argDict)
 provideFoundDispatchCases More...
 
 testNotFoundDispatches ($method, $uri, $callback)
 provideNotFoundDispatchCases More...
 
 testMethodNotAllowedDispatches ($method, $uri, $callback, $availableMethods)
 provideMethodNotAllowedDispatchCases More...
 
 testDuplicateVariableNameError ()
 Cannot use the same placeholder "test" twice More...
 
 testDuplicateVariableRoute ()
 Cannot register two routes matching "/user/([^/]+)" for method "GET" More...
 
 testDuplicateStaticRoute ()
 Cannot register two routes matching "/user" for method "GET" More...
 
 testShadowedStaticRoute ()
 Static route "/user/nikic" is shadowed by previously defined variable route "/user/([^/]+)" for method "GET" More...
 
 testCapturing ()
 Regex "(en|de)" for parameter "lang" contains a capturing group More...
 
 provideFoundDispatchCases ()
 
 provideNotFoundDispatchCases ()
 
 provideMethodNotAllowedDispatchCases ()
 

Protected Member Functions

 getDispatcherClass ()
 
 getDataGeneratorClass ()
 
- Protected Member Functions inherited from FastRoute\Dispatcher\DispatcherTest
 getDispatcherClass ()
 Delegate dispatcher selection to child test classes. More...
 
 getDataGeneratorClass ()
 Delegate dataGenerator selection to child test classes. More...
 

Detailed Description

Definition at line 5 of file MarkBasedTest.php.

Member Function Documentation

◆ getDataGeneratorClass()

FastRoute\Dispatcher\MarkBasedTest::getDataGeneratorClass ( )
protected

Definition at line 20 of file MarkBasedTest.php.

21  {
22  return 'FastRoute\\DataGenerator\\MarkBased';
23  }

◆ getDispatcherClass()

FastRoute\Dispatcher\MarkBasedTest::getDispatcherClass ( )
protected

Definition at line 15 of file MarkBasedTest.php.

16  {
17  return 'FastRoute\\Dispatcher\\MarkBased';
18  }

◆ setUp()

FastRoute\Dispatcher\MarkBasedTest::setUp ( )

Definition at line 7 of file MarkBasedTest.php.

8  {
9  preg_match('/(*MARK:A)a/', 'a', $matches);
10  if (!isset($matches['MARK'])) {
11  $this->markTestSkipped('PHP 5.6 required for MARK support');
12  }
13  }

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