angular-cn/modules/@angular/compiler/test
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
expression_parser chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
i18n chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
output fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
schema fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
compile_metadata_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
css_lexer_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
css_parser_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
css_visitor_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
directive_lifecycle_spec.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
directive_lifecycle_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
directive_normalizer_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
directive_resolver_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
html_ast_spec_utils.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
html_lexer_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
html_parser_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
metadata_resolver_fixture.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
metadata_resolver_fixture.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
metadata_resolver_spec.ts feat(core): split ChangeDetectorStrategy into ChangeDetectionStrategy and ChangeDetectorStatus 2016-06-27 20:19:20 -07:00
offline_compiler_codegen_typed.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
offline_compiler_codegen_untyped.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
offline_compiler_compa.css.shim.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
offline_compiler_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
offline_compiler_util.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
runtime_compiler_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
selector_spec.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
shadow_css_spec.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
spies.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
spies.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
style_url_resolver_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
template_parser_spec.ts fix(core): improve error message for broken bindings 2016-06-23 19:28:56 +02:00
template_preparser_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
test_bindings.ts chore(api): clean up compiler/testing api (#9520) 2016-06-23 15:52:18 -07:00
test_component_builder_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
url_resolver_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
view_resolver_mock_spec.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
view_resolver_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
xhr_mock_spec.ts chore(api): clean up compiler/testing api (#9520) 2016-06-23 15:52:18 -07:00