angular-cn/modules/angular2/test/platform/browser
Vikram Subramanian bab81a9831 feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js.
Update the version of zone.js to @0.6.12 that contains the new FakeAsyncTestZoneSpec.

The new fakeAsync zone handles errors better and clearPendingTimers() is no longer required to be called after handling an error and is deprecated.

The fakeAsync test zone will now throw an error if an XHR is attemtped within the test since that cannot be controlled synchronously in the test(Need to be mocked out with a service implementation that doesn't involve XHRs).

This commit also allows fakeAsync to wrap inject to make it consistent with async test zone.

BREAKING CHANGE:

inject can no longer wrap fakeAsync while fakeAsync can wrap inject. So the order in existing tests with inject and fakeAsync has to be switched as follows:

Before:
```
inject([...], fakeAsync((...) => {...}))
```

After:
```
fakeAsync(inject([...], (...) => {...}))
```

Closes #8142
2016-04-21 22:11:00 +00:00
..
static_assets refactor(core): move render/dom from core 2015-11-17 15:53:55 -08:00
tools refactor(core): separate reflective injector from Injector interface 2016-04-20 11:28:13 -07:00
bootstrap_spec.ts refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
rectangle_mock.dart refactor(core): move render/dom from core 2015-11-17 15:53:55 -08:00
rectangle_mock.ts refactor(core): move render/dom from core 2015-11-17 15:53:55 -08:00
ruler_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
title_spec.ts cleanup: move DomAdapter from angular2/core into angular2/platform/common_dom 2015-11-20 00:14:24 +00:00
xhr_cache_setter.dart feat(compiler): Add an implementation for XHR that uses a template cache to load template files. 2016-04-08 19:05:05 +00:00
xhr_cache_setter.ts feat(compiler): Add an implementation for XHR that uses a template cache to load template files. 2016-04-08 19:05:05 +00:00
xhr_cache_spec.ts feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. 2016-04-21 22:11:00 +00:00
xhr_impl_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00