angular/packages/core/test
Kristiyan Kostadinov c885178d5f refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953)
Reworks the compiler to output the factories for directives, components and pipes under a new static field called `ngFactoryFn`, instead of the usual `factory` property in their respective defs. This should eventually allow us to inject any kind of decorated class (e.g. a pipe).

**Note:** these changes are the first part of the refactor and they don't include injectables. I decided to leave injectables for a follow-up PR, because there's some more cases we need to handle when it comes to their factories. Furthermore, directives, components and pipes make up most of the compiler output tests that need to be refactored and it'll make follow-up PRs easier to review if the tests are cleaned up now.

This is part of the larger refactor for FW-1468.

PR Close #31953
2019-08-27 13:57:00 -07:00
..
acceptance fix(ivy): reset binding index before executing a template in refreshView call (#32201) 2019-08-22 10:16:24 -07:00
animation refactor(core): remove innerHTML and outerHTML testing utilities from DomAdapters (#32278) 2019-08-26 10:39:09 -07:00
bundling refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953) 2019-08-27 13:57:00 -07:00
change_detection refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
debug fix(ivy): debug node names should match user declaration (#32328) 2019-08-27 13:55:59 -07:00
di fix(ivy): call factory functions with correct type for derived classes (#30855) 2019-06-11 14:27:17 -07:00
dom refactor(core): remove misc dom utils from DomAdapters (#32278) 2019-08-26 10:39:09 -07:00
linker refactor(core): remove misc dom utils from DomAdapters (#32278) 2019-08-26 10:39:09 -07:00
metadata test(core): update query-specific tests in core (#30626) 2019-05-23 10:31:32 -07:00
reflection fix(core): handle undefined meta in injectArgs (#31333) 2019-07-01 10:11:08 -07:00
render3 refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953) 2019-08-27 13:57:00 -07:00
sanitization perf(core): make sanitization tree-shakable in Ivy mode (#31934) 2019-08-15 10:30:12 -07:00
strict_types build(core): add missing tsconfig-build.json dependency (#31943) 2019-08-14 11:56:13 -07:00
testability build: update zone.js to 0.9.0 (#28219) 2019-03-26 12:50:38 -07:00
util refactor(ivy): remove duplicated flatten util (#29547) 2019-03-27 12:36:23 -07:00
view feat(ivy): require 'token' for ngInjectableDef (#30855) 2019-06-11 14:27:16 -07:00
zone build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
application_init_spec.ts fix(ivy): Enable AoT tests to run on CI; disable failing tests (#26975) 2018-11-07 10:35:20 -08:00
application_module_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
application_ref_integration_spec.ts test(ivy): finish root cause analysis for @angular/core TestBed failing tests (#27510) 2018-12-06 13:41:02 -08:00
application_ref_spec.ts refactor(core): remove misc dom utils from DomAdapters (#32278) 2019-08-26 10:39:09 -07:00
BUILD.bazel build: enable shard_count for some jasmine tests that have many specs (#31009) 2019-06-18 12:11:30 -07:00
component_fixture_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27370) 2018-11-30 13:41:21 -08:00
dev_mode_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
directive_lifecycle_integration_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27419) 2018-12-03 08:19:56 -08:00
error_handler_spec.ts refactor(ivy): refactor more files in DI to prepare it for bazel packages (#28098) 2019-01-14 09:55:30 -08:00
event_emitter_spec.ts fix(core): fix proper propagation of subscriptions in EventEmitter (#22016) 2018-02-06 07:56:33 -08:00
fake_async_spec.ts fix(ivy): update token used for fakeAsync test (#28383) 2019-01-29 16:39:14 -08:00
forward_ref_integration_spec.ts build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
spies.ts refactor(core): remove innerHTML and outerHTML testing utilities from DomAdapters (#32278) 2019-08-26 10:39:09 -07:00
test_bed_async_spec.ts fix(ivy): stub TestBed.compileComponents implementation (#26506) 2018-10-17 13:08:14 -07:00
test_bed_spec.ts refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953) 2019-08-27 13:57:00 -07:00
testing_internal_spec.ts build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
util_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00