angular/packages/compiler-cli/test/compliance/test_helpers
Payam Valadkhan c1d46b8c08 refactor(compiler-cli): add local option to compliance test infra (#50577)
The option 'local compile' is added for the test cases, and the locally compiled file for an input `abc.ts` is compared by default with the file `abc.local.js`. This allows to use the same input `abc.ts` for both full compilation (compared with `abc.js`) and local compilation (compared with `abc.local.js`). An example is provided in the next commit when compliance tests are added for the NgModule local compilation.

PR Close #50577
2023-06-30 11:38:35 -07:00
..
BUILD.bazel test(compiler): Prevent back-sliding on already passing template pipeline tests (#50582) 2023-06-12 18:25:41 +02:00
check_errors.ts test(compiler-cli): log unexpected compilation errors in compliance test runner (#39862) 2020-12-02 14:56:38 -08:00
check_expectations.ts refactor(compiler-cli): update to use new file-system interfaces (#40281) 2021-01-08 09:34:44 -08:00
compile_test.ts feat(core): add support for TypeScript 5.0 (#49126) 2023-02-28 08:24:47 -08:00
di_checks.ts test(compiler-cli): convert di compliance tests (#39863) 2020-11-30 11:21:23 -08:00
expect_emit.ts refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
expected_file_macros.ts refactor(compiler): add original_code to goog.getMsg() options (#45606) 2022-04-18 09:26:16 -07:00
function_checks.ts test(compiler-cli): migrate template compliance tests (#39871) 2020-12-01 14:58:11 -08:00
get_compliance_tests.ts refactor(compiler-cli): add local option to compliance test infra (#50577) 2023-06-30 11:38:35 -07:00
golden_partials.ts test(compiler-cli): ensure that golden partial files are parsed accurately (#39939) 2020-12-07 16:21:02 -08:00
i18n_checks.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
i18n_helpers.ts refactor(compiler): add original_code to goog.getMsg() options (#45606) 2022-04-18 09:26:16 -07:00
sourcemap_helpers.ts refactor(localize): update version of Babel (#44931) 2022-02-24 21:42:54 +00:00
test_runner.ts refactor(compiler-cli): add local option to compliance test infra (#50577) 2023-06-30 11:38:35 -07:00