angular/modules/@angular/core/test/linker
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
..
change_detection_integration_spec.ts refactor(core): use ngOnDestroy in providers 2016-08-02 11:23:26 -07:00
dynamic_component_loader_spec.ts fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
entry_components_integration_spec.ts refactor(testing): introduce new testing api to support ng modules 2016-07-29 04:47:18 -07:00
integration_spec.ts fix: Better error message in case of unknown property binding 2016-08-02 09:28:04 -07:00
ng_container_integration_spec.ts refactor(testing): introduce new testing api to support ng modules 2016-07-29 04:47:18 -07:00
ng_module_integration_spec.ts feat(core): introduce NgModuleRef.destroy and call ngOnDestroy on all providers 2016-08-02 11:23:26 -07:00
projection_integration_spec.ts fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
query_integration_spec.ts fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
query_list_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
regression_integration_spec.ts refactor(testing): introduce new testing api to support ng modules 2016-07-29 04:47:18 -07:00
security_integration_spec.ts refactor(testing): introduce new testing api to support ng modules 2016-07-29 04:47:18 -07:00
view_injector_integration_spec.ts refactor(core): use ngOnDestroy in providers 2016-08-02 11:23:26 -07:00