angular-cn/modules/@angular/common/test/forms-deprecated
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 fix(forms): improve no value accessor error message (#10051) 2016-07-13 14:13:02 -07:00
form_builder_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
integration_spec.ts refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
model_spec.ts refactor: IS_DART === false 2016-08-01 11:34:51 -07:00
validators_spec.ts chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00