angular/modules/@angular/core/test/linker
Tobias Bosch bf598d6b8b feat(compiler): support sync runtime compile
Adds new abstraction `Compiler` with methods
`compileComponentAsync` and `compileComponentSync`.
This is in preparation of deprecating `ComponentResolver`.

`compileComponentSync` is able to compile components
synchronously given all components either have an inline
template or they have been compiled before.

Also changes `TestComponentBuilder.createSync` to
take a `Type` and use the new `compileComponentSync` method.

Also supports overriding the component metadata even if
the component has already been compiled.

Also fixes #7084 in a better way.

BREAKING CHANGE:
`TestComponentBuilder.createSync` now takes a component type
and throws if not all templates are either inlined
are compiled before via `createAsync`.

Closes #9594
2016-06-28 10:26:16 -07:00
..
change_detection_integration_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
dynamic_component_loader_spec.ts fix(core/testing): move ComponentFixture to core (#9386) 2016-06-24 12:41:49 -07:00
integration_dart_spec.dart refactor(chore): Replace all 'bindings' with 'providers' 2016-05-23 13:31:08 -07:00
integration_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
ng_container_integration_spec.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
precompile_integration_spec.ts feat(core): add @Component.precompile and ComponentFactoryResolver 2016-06-23 12:10:04 -07:00
projection_integration_spec.ts fix(core/testing): move ComponentFixture to core (#9386) 2016-06-24 12:41:49 -07:00
query_integration_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
query_list_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
reflector_component_resolver_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
regression_integration_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
security_integration_spec.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
view_injector_integration_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00