angular-cn/modules/angular2/test/router
David Reher 6f1ef33e32 fix(router): fix url path for star segment in path recognizer
Url path of star segments should equal the original path.

If you register the route `/app/*location` and invoke a url like `/app/foo/bar`
the PathRecognizer should return a url path equal to the invoked url.

Before this patch, everything after `foo` was ignored, which resulted in a
redirect to `/app/foo` which was probably not intended (at least in the angular
1.5 component router).

Closes #6976
2016-02-09 21:45:06 +00:00
..
integration fix(router): don't prepend `/` unnecessarily to Location paths 2016-02-08 16:18:13 -08:00
component_recognizer_spec.ts refactor(router): improve recognition and generation pipeline 2015-11-30 17:06:03 +00:00
hash_location_strategy_spec.ts feat(router): add support for APP_BASE_HREF to HashLocationStrategy 2015-11-25 22:29:43 +00:00
location_spec.ts refactor(tests): rename beforeEachBindings -> beforeEachProviders 2015-12-02 14:09:13 -08:00
path_location_strategy_spec.ts feat(router): add support for APP_BASE_HREF to HashLocationStrategy 2015-11-25 22:29:43 +00:00
path_recognizer_spec.ts fix(router): fix url path for star segment in path recognizer 2016-02-09 21:45:06 +00:00
route_config_spec.dart style(dart): Run dartfmt v0.1.8+2 on all pure Dart code 2015-07-28 12:44:03 -07:00
route_config_spec.ts feat(core): enable dev mode by default 2015-12-15 08:34:44 -08:00
route_registry_spec.ts fix(router): correctly sort route matches with children by specificity 2015-12-21 10:38:13 +00:00
router_link_spec.ts fix(router): correctly sort route matches with children by specificity 2015-12-21 10:38:13 +00:00
router_link_transform_spec.ts feat(router): implement router link DSL 2015-12-04 00:47:20 +00:00
router_spec.ts fix(router): fix incorrect url param value coercion of 1 to true 2016-02-03 15:00:24 +00:00
spies.dart refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
spies.ts feat(router): add support for APP_BASE_HREF to HashLocationStrategy 2015-11-25 22:29:43 +00:00
url_parser_spec.ts test(router): add missing tests for the url parser 2015-10-13 12:06:22 -07:00