Method | Description | |
---|---|---|
check ( $str = '' ) | Checks if a route was matched with a given output | |
ok ( ) | Simple output | |
routeRequest ( ) | ||
setUp ( ) | ||
testCaseSensitivity ( ) | Test case sensitivity | |
testDefaultRoute ( ) | Default route | |
testGetPostRoute ( ) | Either GET or POST route | |
testNotFound ( ) | Test not found | |
testOptionalParameters ( ) | Optional parameters | |
testPathRoute ( ) | Simple path | |
testPostRoute ( ) | POST route | |
testRegEx ( ) | Test regular expression matching | |
testRegExParameters ( ) | Passing URL parameters matched with regular expression | |
testRegexEmptyOptionalParameters ( ) | Regex in optional parameters | |
testRegexOptionalParameters ( ) | Regex in optional parameters | |
testRouteObjectPassing ( ) | Check if route object was passed | |
testRouteWithParameters ( ) | ||
testSplatNamedPlusWildcard ( ) | Test splat with named parameters | |
testSplatWildcard ( ) | Test splat | |
testSplatWildcardTrailingSlash ( ) | Test splat without trailing slash | |
testUrlParameters ( ) | Passing URL parameters | |
testWildcard ( ) | Wildcard matching |
public testRegExParameters ( ) |
public testRegexEmptyOptionalParameters ( ) |
public testRegexOptionalParameters ( ) |
public testRouteObjectPassing ( ) |
public testSplatNamedPlusWildcard ( ) |
public testSplatWildcardTrailingSlash ( ) |