1..121 # ->getRoutes() ok 1 - ->getRoutes() returns all current routes ok 2 - ->getRoutes() returns a hash indexed by route names ok 3 - ->getRoutes() returns a hash indexed by route names # ->setRoutes() ok 4 - ->setRoutes() takes a routes array as its first parameter # ->clearRoutes() ok 5 - ->clearRoutes() clears all current routing rules # ->hasRoutes() ok 6 - ->hasRoutes() returns false if there is no route ok 7 - ->hasRoutes() returns true if some routes are registered # ->connect() # route syntax ok 8 - parse /:module/:action route ok 9 - generate /:module/:action url # route order ok 10 - ->parse() takes the first matching route ok 11 - ->generate() takes the first matching route ok 12 - ->parse() takes the first matching route ok 13 - ->generate() takes the first matching route ok 14 - ->parse() takes the first matching route ok 15 - ->generate() takes the first matching route # suffix ok 16 - ->generate() creates URL suffixed by sf_suffix parameter ok 17 - ->generate() creates URL with no suffix when route ends with . ok 18 - ->generate() creates URL with no suffix when route ends with / ok 19 - ->generate() creates URL with special suffix when route ends with .suffix ok 20 - ->generate() creates URL with no special suffix when route ends with .:suffix ok 21 - ->parse() finds route from URL suffixed by sf_suffix ok 22 - ->parse() finds route with no suffix when route ends with . ok 23 - ->parse() finds route with no suffix when route ends with / ok 24 - ->parse() finds route with special suffix when route ends with .suffix ok 25 - ->parse() finds route with special suffix when route ends with .:suffix # query string ok 26 - ->parse() does not take query string into account # default values ok 27 - ->generate() creates URL for route with missing parameter if parameter is set in the default values ok 28 - ->parse() finds route for URL with missing parameter if parameter is set in the default values ok 29 - ->generate() creates URL for route with more than one missing parameter if default values are set ok 30 - ->parse() finds route for URL with more than one missing parameter if default values are set ok 31 - ->generate() parameters override the route default values ok 32 - ->parse() finds route with parameters distinct from the default values ok 33 - ->generate() creates URL even if there is no default value ok 34 - ->parse() finds route even when route has no default value ok 35 - ->generate() routes have default parameters value that can be overriden ok 36 - ->parse() routes have default parameters value that can be overriden ok 37 - ->generate() does not remove the last parameter if the parameter is default value ok 38 - ->parse() removes the last parameter if the parameter is default value ok 39 - ->generate() does not remove last parameters if they have default values ok 40 - ->parse() removes last parameters if they have default values ok 41 - ->generate() merges parameters with defaults from sf_routing_defaults # unnamed wildcard * ok 42 - ->parse() finds route for URL with no additional parameters when route ends with unnamed wildcard * ok 43 - ->generate() creates URL for route with no additional parameters when route ends with unnamed wildcard * ok 44 - ->parse() finds route for URL with no additional parameters and trailing slash when route ends with unnamed wildcard * ok 45 - ->parse() finds route for URL with additional parameters and trailing slash when route ends with unnamed wildcard * ok 46 - ->parse() finds route for URL with additional parameters when route ends with unnamed wildcard * ok 47 - ->generate() creates URL for route with additional parameters when route ends with unnamed wildcard * ok 48 - ->parse() does not override named wildcards with parameters passed in unnamed wildcard * ok 49 - ->parse() considers multiple separators as single in unnamed wildcard * ok 50 - ->parse() takes the first matching route but takes * into accounts ok 51 - ->generate() takes the first matching route but takes * into accounts ok 52 - ->parse() takes the first matching route but takes * into accounts ok 53 - ->generate() takes the first matching route but takes * into accounts # unnamed wildcard * in the middle of a rule ok 54 - ->parse() finds route for URL when no extra parameters are present in the URL ok 55 - ->generate() creates URL for route when no extra parameters are added to the internal URI ok 56 - ->parse() finds route for URL when extra parameters are present in the URL ok 57 - ->generate() creates URL for route when extra parameters are added to the internal URI ok 58 - ->parse() finds route for URL when no extra parameters are present in the URL ok 59 - ->generate() creates URL for route when no extra parameters are added to the internal URI ok 60 - ->parse() finds route for URL when extra parameters are present in the URL ok 61 - ->generate() creates URL for route when extra parameters are added to the internal URI # requirements ok 62 - ->parse() finds route for URL when parameters meet requirements ok 63 - ->generate() creates URL for route when parameters meet requirements ok 64 - ->parse() ignore routes when parameters don't meet requirements ok 65 - ->generate() ignore routes when parameters don't meet requirements ok 66 - ->parse() finds route for URL when parameters meet requirements ok 67 - ->generate() creates URL for route when parameters meet requirements # separators ok 68 - ->parse() recognizes parameters separated by / ok 69 - ->generate() creates routes with / separator ok 70 - ->parse() recognizes parameters separated by ; ok 71 - ->generate() creates routes with ; separator ok 72 - ->parse() recognizes parameters separated by : ok 73 - ->generate() creates routes with : separator ok 74 - ->parse() recognizes parameters separated by + ok 75 - ->generate() creates routes with + separator ok 76 - ->parse() recognizes parameters separated by | ok 77 - ->generate() creates routes with | separator ok 78 - ->parse() recognizes parameters separated by . ok 79 - ->generate() creates routes with . separator ok 80 - ->parse() recognizes parameters separated by - ok 81 - ->generate() creates routes with - separator ok 82 - ->parse() recognizes parameters separated by mixed separators ok 83 - ->generate() creates routes with mixed separators # token names ok 84 - ->parse() accepts token names composed of letters, digits and _ ok 85 - ->generate() accepts token names composed of letters, digits and _ # token prefix ok 86 - ->parse() accepts token names starting with : ok 87 - ->generate() accepts token names starting with : ok 88 - ->parse() accepts token names starting with $ ok 89 - ->generate() accepts token names starting with $ ok 90 - ->parse() accepts token names starting with mixed : and $ ok 91 - ->generate() accepts token names starting with mixed : and $ # named routes ok 92 - ->generate() can take an empty route name as its first parameter ok 93 - ->generate() can take a route name as its first parameter ok 94 - ->generate() with named routes needs only parameters not defined in route default # ->appendRoute() ok 95 - ->appendRoute() is an alias for ->connect() # ->prependRoute() ok 96 - ->prependRoute() adds new routes at the beginning of the existings ones # ->insertRouteBefore() ok 97 - ->insertRouteBefore() adds a new route before another existings one ok 98 - ->insertRouteBefore() throws an sfConfigurationException when trying to insert a route before a non existent one # ->getCurrentInternalUri() ok 99 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 100 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 101 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 102 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 103 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 104 - ->getCurrentInternalUri() returns the internal URI for last parsed URL ok 105 - ->getCurrentInternalUri() returns the internal URI for last parsed URL using cache ok 106 - ->getCurrentInternalUri() returns the internal URI for last parsed URL using cache ok 107 - ->getCurrentInternalUri() returns the internal URI for last parsed URL using cache ok 108 - ->findRoute() returns information about matching route ok 109 - ->findRoute() does not change the internal URI of sfPatternRouting ok 110 - ->findRoute() returns null on non-matching route # defaults ok 111 - ->generate() routes takes default values into account when matching a route ok 112 - ->generate() routes takes default values into account when matching a route ok 113 - ->generate() throws a sfConfigurationException if no route matches the params # mandatory parameters ok 114 - ->generate() throws a InvalidArgumentException if some mandatory parameters are not provided # module/action overriding ok 115 - ->parse() overrides the default module/action if provided in the defaults ok 116 - ->generate() overrides the default module/action if provided in the defaults # parameter values decoding ok 117 - ->parse() decodes parameter values ok 118 - ->parse() decodes parameter values ok 119 - parse /:module/:action route ok 120 - parse /customer/:param1/:action/* route ok 121 - ->generate() first replaces the longest variable names Looks like everything went fine.