ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
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 () | |
Delegate dispatcher selection to child test classes. More... | |
getDataGeneratorClass () | |
Delegate dataGenerator selection to child test classes. More... | |
Private Member Functions | |
generateDispatcherOptions () | |
Set appropriate options for the specific Dispatcher class we're testing. More... | |
Definition at line 8 of file DispatcherTest.php.
|
private |
Set appropriate options for the specific Dispatcher class we're testing.
Definition at line 23 of file DispatcherTest.php.
References FastRoute\Dispatcher\DispatcherTest\getDataGeneratorClass(), and FastRoute\Dispatcher\DispatcherTest\getDispatcherClass().
Referenced by FastRoute\Dispatcher\DispatcherTest\testCapturing(), FastRoute\Dispatcher\DispatcherTest\testDuplicateStaticRoute(), FastRoute\Dispatcher\DispatcherTest\testDuplicateVariableNameError(), FastRoute\Dispatcher\DispatcherTest\testDuplicateVariableRoute(), FastRoute\Dispatcher\DispatcherTest\testFoundDispatches(), FastRoute\Dispatcher\DispatcherTest\testMethodNotAllowedDispatches(), FastRoute\Dispatcher\DispatcherTest\testNotFoundDispatches(), and FastRoute\Dispatcher\DispatcherTest\testShadowedStaticRoute().
|
abstractprotected |
Delegate dataGenerator selection to child test classes.
Referenced by FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
|
abstractprotected |
Delegate dispatcher selection to child test classes.
Referenced by FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::provideFoundDispatchCases | ( | ) |
Definition at line 130 of file DispatcherTest.php.
FastRoute\Dispatcher\DispatcherTest::provideMethodNotAllowedDispatchCases | ( | ) |
FastRoute\Dispatcher\DispatcherTest::provideNotFoundDispatchCases | ( | ) |
FastRoute\Dispatcher\DispatcherTest::testCapturing | ( | ) |
Regex "(en|de)" for parameter "lang" contains a capturing group
Definition at line 123 of file DispatcherTest.php.
References $r, FastRoute\RouteCollector\addRoute(), and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testDuplicateStaticRoute | ( | ) |
Cannot register two routes matching "/user" for method "GET"
Definition at line 99 of file DispatcherTest.php.
References $r, FastRoute\RouteCollector\addRoute(), and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testDuplicateVariableNameError | ( | ) |
Cannot use the same placeholder "test" twice
Definition at line 76 of file DispatcherTest.php.
References $r, FastRoute\RouteCollector\addRoute(), and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testDuplicateVariableRoute | ( | ) |
Cannot register two routes matching "/user/([^/]+)" for method "GET"
Definition at line 87 of file DispatcherTest.php.
References $r, FastRoute\RouteCollector\addRoute(), and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testFoundDispatches | ( | $method, | |
$uri, | |||
$callback, | |||
$handler, | |||
$argDict | |||
) |
provideFoundDispatchCases
Definition at line 34 of file DispatcherTest.php.
References $handler, $info, and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testMethodNotAllowedDispatches | ( | $method, | |
$uri, | |||
$callback, | |||
$availableMethods | |||
) |
provideMethodNotAllowedDispatchCases
Definition at line 59 of file DispatcherTest.php.
References FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testNotFoundDispatches | ( | $method, | |
$uri, | |||
$callback | |||
) |
provideNotFoundDispatchCases
Definition at line 46 of file DispatcherTest.php.
References FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().
FastRoute\Dispatcher\DispatcherTest::testShadowedStaticRoute | ( | ) |
Static route "/user/nikic" is shadowed by previously defined variable route "/user/([^/]+)" for method "GET"
Definition at line 111 of file DispatcherTest.php.
References $r, FastRoute\RouteCollector\addRoute(), and FastRoute\Dispatcher\DispatcherTest\generateDispatcherOptions().