angular-cn/modules/angular2/test/router
Brian Ford a038bb9ae3 fix(router): preserve specificity for redirects
Previously when comparing which of multiple possible routes to choose in
an ambiguous case, we looked at the specificity of the target of redirect
matches rather than the original match. This meant that if a redirect
used a whilecard, but redirected to a target that was a static path,
we'd cound the static path's specificity instead of the wildcard.

This change stores the specificity of the redirect on the RedirectInstruction.

Closes #5933
2016-01-04 20:06:21 +00:00
..
integration fix(router): preserve specificity for redirects 2016-01-04 20:06:21 +00: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 refactor(router): improve recognition and generation pipeline 2015-11-30 17:06:03 +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): set correct redirect/default URL from hashchange 2015-12-08 22:34:19 +00:00
spies.dart feat(router): add support for APP_BASE_HREF to HashLocationStrategy 2015-11-25 22:29:43 +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