angular-cn/modules/@angular/core/testing
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
..
animation chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
async.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
async.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
async_test_completer.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
component_fixture.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
fake_async.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
fake_async.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
lang_utils.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
lang_utils.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
logger.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
mock_application_ref.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
ng_zone_mock.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
test_component_builder.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
test_injector.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
testing.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
testing.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
testing_internal.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
testing_internal.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00