angular-docs-cn/packages/core/test/linker
Miško Hevery e94975d109 fix(ivy): check semantics of NgModule for consistency (#27604)
`NgModule` requires that `Component`s/`Directive`s/`Pipe`s are listed in
declarations, and that each `Component`s/`Directive`s/`Pipe` is declared
in exactly one `NgModule`. This change adds runtime checks to ensure
that these sementics are true at runtime.

There will need to be seperate set of checks for the AoT path of the
codebase to verify that same set of semantics hold. Due to current
design there does not seem to be an easy way to share the two checks
because JIT deal with references where as AoT deals with AST nodes.

PR Close #27604
2018-12-17 14:49:51 -08:00
..
change_detection_integration_spec.ts fix(ivy): properly destroy views created by ComponentFactory (#27676) 2018-12-14 15:22:11 -08:00
entry_components_integration_spec.ts test(ivy): finish root cause analysis for @angular/core TestBed failing tests (#27510) 2018-12-06 13:41:02 -08:00
integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
jit_summaries_integration_spec.ts test(ivy): update fixmes in packages/core/test/linker/jit_summaries_integration_spec.ts (#27639) 2018-12-14 10:20:18 -08:00
ng_container_integration_spec.ts test(ivy): update test status for cases modified in ivy (#27652) 2018-12-13 14:55:38 -08:00
ng_module_integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
projection_integration_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27650) 2018-12-13 14:56:00 -08:00
query_integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
query_list_spec.ts fix(core): ensure initial value of QueryList length (#21980) (#21982) 2018-02-07 12:08:44 -08:00
regression_integration_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27650) 2018-12-13 14:56:00 -08:00
security_integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
source_map_integration_node_only_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
system_ng_module_factory_loader_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
view_injector_integration_spec.ts test(ivy): run browser-specific @angular/core tests on CI (#27545) 2018-12-07 09:24:15 -08:00