angular-cn/packages/core/test/acceptance
Olivier Combe 00cc905b98 feat(ivy): support `ng-content` in runtime i18n translations (#30782)
Added a new syntax for projections (`¤` will represent `ng-content` nodes) so that we can treat them specifically.
When we enter an i18n block with the instruction `i18nStart`, a new `delayProjection` variable is set to true to prevent the instruction `projection` from projecting the nodes. Once we reach the `i18nEnd` instruction and encounter a projection in the translation we will project its nodes.
If a projection was removed from a translation, then its nodes won't be projected at all.
The variable `delayProjection` is restored to `false` at the end of `i18nEnd` so that it doesn't stop projections outside of i18n blocks.

FW-1261 #resolve
PR Close #30782
2019-06-05 09:04:13 -07:00
..
BUILD.bazel fix(ivy): module with providers are processed too early (#30688) 2019-05-31 09:48:39 -07:00
attributes_spec.ts test(ivy): add attribute interpolation test (#30503) 2019-05-22 16:30:28 -07:00
change_detection_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
common_integration_spec.ts test(ivy): move common integration tests to acceptance (#30213) 2019-05-14 11:37:50 -07:00
component_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
content_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
di_spec.ts fix(ivy): module with providers are processed too early (#30688) 2019-05-31 09:48:39 -07:00
directive_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
discover_utils_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
exports_spec.ts refactor(ivy): move exports tests to acceptance (#30157) 2019-04-26 16:37:34 -07:00
host_binding_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
i18n_spec.ts feat(ivy): support `ng-content` in runtime i18n translations (#30782) 2019-06-05 09:04:13 -07:00
inherit_definition_feature_spec.ts test(ivy): Add TODOs (#30522) 2019-05-17 09:56:49 -07:00
integration_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
lifecycle_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
listener_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
outputs_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
pipe_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
property_binding_spec.ts test(ivy): move property render3 tests to acceptance (#30426) 2019-05-14 09:39:22 -07:00
property_interpolation_spec.ts test(ivy): move property and attribute tests to acceptance (#30321) 2019-05-09 11:23:35 -07:00
providers_spec.ts fix(ivy): support injection flags for provider deps without new (#30216) 2019-04-30 20:37:56 -07:00
pure_function_spec.ts test(ivy): pure function acceptance tests (#30406) 2019-05-13 10:55:59 -07:00
query_spec.ts test(core): update query-specific tests in core (#30626) 2019-05-23 10:31:32 -07:00
renderer_factory_spec.ts test(ivy): move render3 renderer_factory tests to acceptance (#30435) 2019-05-14 09:36:24 -07:00
router_integration_spec.ts fix(ivy): module with providers are processed too early (#30688) 2019-05-31 09:48:39 -07:00
styling_next_spec.ts feat(ivy): in `ngDevMode` use named object literals and arrays for easier debugging/profiling (#30542) 2019-06-04 12:01:46 -07:00
styling_spec.ts fix(ivy): unable to bind SafeValue to clip-path (#30491) 2019-05-16 14:40:21 -07:00
template_ref_spec.ts test(core): update core tests (unrelated to queries) to use static flag (#30626) 2019-05-23 10:31:32 -07:00
text_spec.ts feat(ivy): add ɵɵtextInterpolateX instructions (#30011) 2019-05-29 12:38:58 -04:00
view_container_ref_spec.ts fix(ivy): unable to project into multiple slots with default selector (#30561) 2019-05-31 09:52:32 -07:00
view_ref_spec.ts test(ivy): fix failing view ref test (#29178) 2019-03-07 18:56:22 -08:00