angular-cn/modules/@angular/forms/test
Tobias Bosch 8e6091de6c refactor(core): use `ngOnDestroy` in providers
Note about the addition of `beforeEach(fakeAsync(inject(…))))` in some tests:
`ApplicationRef` is now using `ngOnDestroy` and there is eager,
including all of its dependencies which contain `NgZone`.
The additional `fakeAsync` in `beforeEach` ensures that `NgZone`
uses the fake async zone as parent, and not the root zone.

BREAKING CHANGE (via deprecations):
- `ApplicationRef.dispose` is deprecated. Destroy the module that was
   created during bootstrap instead by calling `NgModuleRef.destroy`.
- `AplicationRef.registerDisposeListener` is deprecated.
   Use the `ngOnDestroy` lifecycle hook for providers or
   `NgModuleRef.onDestroy` instead.
- `disposePlatform` is deprecated. Use `destroyPlatform` instead.
- `PlatformRef.dipose()` is deprecated. Use `PlatformRef.destroy()`
   instead.
- `PlatformRef.registerDisposeListener` is deprecated. Use
  `PlatformRef.onDestroy` instead.
- `PlaformRef.diposed` is deprecated. Use `PlatformRef.destroyed`
  instead.
2016-08-02 11:23:26 -07:00
..
directives_spec.ts feat(forms): add invalid prop to abstract controls (#10439) 2016-08-01 18:41:25 -07:00
form_builder_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
model_spec.ts feat(forms): add get method for easy access to child controls (#10428) 2016-08-01 14:22:50 -07:00
reactive_integration_spec.ts refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
spies.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
template_integration_spec.ts refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
validators_spec.ts chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00