angular/packages/compiler-cli/test/compliance/test_cases
Dylan Hunn 422a3db2a8 refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950)
A couple tests were already passing, and just needed to be enabled. This includes tests pertaining to:
* ng-template
* host binding styling slots
* and host animation bindings
* some literal tests (which were missing some $foo$ escaped names)

We add pipeline-specific versions of the following tests, and enable them:
* A local refs test. The consts for the element attributes and the consts for local reference are collected in the reverse order, but the emitted template is functionally the same.
* A safe accesstest. Consider the expression `$any(val)?.foo`. `TemplateDefinitionBuilder` extracts a temporary variable: `($tmp_0_0$ = $ctx$.val) == null ? null : $tmp_0_0$.foo`. It presumably does this because it considers the `$any(...)` to be a function call. However, this is not a real call, so Template Pipeline safely ignores it and declines to generate a temporary.
* Another local refs test. AttributeMarker.Template is emitted at the end of the const array (instead of the middle)

PR Close #51950
2023-10-04 09:00:54 -07:00
..
r3_compiler_compliance refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
r3_view_compiler refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
r3_view_compiler_bindings refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
r3_view_compiler_control_flow feat(core): enable block syntax (#51994) 2023-10-03 15:26:05 -07:00
r3_view_compiler_deferred refactor(compiler): Implement basic support for defer in Template Pipeline (#51942) 2023-10-03 19:40:04 -07:00
r3_view_compiler_di/di perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
r3_view_compiler_directives perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
r3_view_compiler_i18n perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
r3_view_compiler_input_outputs fix(compiler-cli): enforce a minimum version to be used when a library uses input transform (#51413) 2023-08-18 07:58:53 -07:00
r3_view_compiler_listener refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
r3_view_compiler_providers fix(compiler-cli): libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714) 2023-06-14 16:27:59 +02:00
r3_view_compiler_styling refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
r3_view_compiler_template refactor(compiler): Enable passing and nearly-passing Template Pipeline tests (#51950) 2023-10-04 09:00:54 -07:00
source_mapping perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
BUILD.bazel test: refactor compiler-cli compliance test to work on windows (#45431) 2022-03-25 12:18:34 -07:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
test_case_schema.json test(compiler): allow alternate expected file for template pipeline (#51100) 2023-08-01 13:45:34 -07:00