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)
 @dataProvider provideFoundDispatchCases More...
 
 testNotFoundDispatches ($method, $uri, $callback)
 @dataProvider provideNotFoundDispatchCases More...
 
 testMethodNotAllowedDispatches ($method, $uri, $callback, $availableMethods)
 @dataProvider provideMethodNotAllowedDispatchCases More...
 
 testDuplicateVariableNameError ()
 @expectedException \FastRoute\BadRouteException @expectedExceptionMessage Cannot use the same placeholder "test" twice More...
 
 testDuplicateVariableRoute ()
 @expectedException \FastRoute\BadRouteException @expectedExceptionMessage Cannot register two routes matching "/user/([^/]+)" for method "GET" More...
 
 testDuplicateStaticRoute ()
 @expectedException \FastRoute\BadRouteException @expectedExceptionMessage Cannot register two routes matching "/user" for method "GET" More...
 
 testShadowedStaticRoute ()
 @expectedException \FastRoute\BadRouteException @expectedExceptionMessage Static route "/user/nikic" is shadowed by previously defined variable route "/user/([^/]+)" for method "GET" More...
 
 testCapturing ()
 @expectedException \FastRoute\BadRouteException @expectedExceptionMessage Regex "(en|de)" for parameter "lang" contains a capturing group More...
 
 provideFoundDispatchCases ()
 
 provideNotFoundDispatchCases ()
 
 provideMethodNotAllowedDispatchCases ()
 

Protected Member Functions

 getDispatcherClass ()
 Delegate dispatcher selection to child test classes. More...
 
 getDataGeneratorClass ()
 Delegate dataGenerator selection to child test classes. More...
 
 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

Delegate dataGenerator selection to child test classes.

Reimplemented from FastRoute\Dispatcher\DispatcherTest.

Definition at line 20 of file MarkBasedTest.php.

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

◆ getDispatcherClass()

FastRoute\Dispatcher\MarkBasedTest::getDispatcherClass ( )
protected

Delegate dispatcher selection to child test classes.

Reimplemented from FastRoute\Dispatcher\DispatcherTest.

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: