@angular/core 8.2.1 → 8.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/core-testing.umd.js +94 -1
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +3 -2
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +394 -41
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +36 -55
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +5 -2
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +4 -4
- package/esm2015/src/metadata/directives.js +1 -1
- package/esm2015/src/version.js +1 -1
- package/esm5/src/metadata/directives.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/core.js +7323 -42
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +593 -2
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +295 -40
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +15 -2
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +5 -5
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
- package/schematics/migrations/injectable-pipe/angular/injectable_pipe_visitor.d.ts +0 -30
- package/schematics/migrations/injectable-pipe/angular/injectable_pipe_visitor.js +0 -68
- package/schematics/migrations/injectable-pipe/index.d.ts +0 -14
- package/schematics/migrations/injectable-pipe/index.js +0 -85
- package/schematics/migrations/injectable-pipe/util.d.ts +0 -19
- package/schematics/migrations/injectable-pipe/util.js +0 -44
package/fesm2015/testing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.2.
|
|
2
|
+
* @license Angular v8.2.5
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { getDebugNode, RendererFactory2, InjectionToken, ɵstringify, ɵReflectionCapabilities, Directive, Component, Pipe, NgModule, ɵgetInjectableDef, ɵNG_COMPONENT_DEF, ɵRender3NgModuleRef, LOCALE_ID, ɵDEFAULT_LOCALE_ID, ɵsetLocaleId, ApplicationInitStatus, ɵRender3ComponentFactory, ɵcompileComponent, ɵNG_DIRECTIVE_DEF, ɵcompileDirective, ɵNG_PIPE_DEF, ɵcompilePipe, ɵpatchComponentDefWithScope, ɵNG_INJECTOR_DEF, ɵNG_MODULE_DEF, ɵcompileNgModuleDefs, NgZone, Compiler, COMPILER_OPTIONS, ɵNgModuleFactory, ModuleWithComponentFactories,
|
|
7
|
+
import { getDebugNode, RendererFactory2, InjectionToken, ɵstringify, ɵReflectionCapabilities, Directive, Component, Pipe, NgModule, ɵgetInjectableDef, ɵNG_COMPONENT_DEF, ɵRender3NgModuleRef, LOCALE_ID, ɵDEFAULT_LOCALE_ID, ɵsetLocaleId, ApplicationInitStatus, ɵRender3ComponentFactory, ɵcompileComponent, ɵNG_DIRECTIVE_DEF, ɵcompileDirective, ɵNG_PIPE_DEF, ɵcompilePipe, ɵtransitiveScopesFor, ɵpatchComponentDefWithScope, ɵNG_INJECTOR_DEF, ɵNG_MODULE_DEF, ɵcompileNgModuleDefs, NgZone, Compiler, COMPILER_OPTIONS, ɵNgModuleFactory, ModuleWithComponentFactories, Injector, InjectFlags, ɵresetCompiledComponents, ɵflushModuleScopingQueueAsMuchAsPossible, Injectable, ɵclearOverrides, ɵoverrideComponentView, ɵAPP_ROOT, Optional, SkipSelf, ɵoverrideProvider, ɵivyEnabled } from '@angular/core';
|
|
8
8
|
import { __awaiter } from 'tslib';
|
|
9
9
|
import { ResourceLoader } from '@angular/compiler';
|
|
10
10
|
|
|
@@ -437,6 +437,87 @@ class ComponentFixture {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
+
if (false) {
|
|
441
|
+
/**
|
|
442
|
+
* The DebugElement associated with the root element of this component.
|
|
443
|
+
* @type {?}
|
|
444
|
+
*/
|
|
445
|
+
ComponentFixture.prototype.debugElement;
|
|
446
|
+
/**
|
|
447
|
+
* The instance of the root component class.
|
|
448
|
+
* @type {?}
|
|
449
|
+
*/
|
|
450
|
+
ComponentFixture.prototype.componentInstance;
|
|
451
|
+
/**
|
|
452
|
+
* The native element at the root of the component.
|
|
453
|
+
* @type {?}
|
|
454
|
+
*/
|
|
455
|
+
ComponentFixture.prototype.nativeElement;
|
|
456
|
+
/**
|
|
457
|
+
* The ElementRef for the element at the root of the component.
|
|
458
|
+
* @type {?}
|
|
459
|
+
*/
|
|
460
|
+
ComponentFixture.prototype.elementRef;
|
|
461
|
+
/**
|
|
462
|
+
* The ChangeDetectorRef for the component
|
|
463
|
+
* @type {?}
|
|
464
|
+
*/
|
|
465
|
+
ComponentFixture.prototype.changeDetectorRef;
|
|
466
|
+
/**
|
|
467
|
+
* @type {?}
|
|
468
|
+
* @private
|
|
469
|
+
*/
|
|
470
|
+
ComponentFixture.prototype._renderer;
|
|
471
|
+
/**
|
|
472
|
+
* @type {?}
|
|
473
|
+
* @private
|
|
474
|
+
*/
|
|
475
|
+
ComponentFixture.prototype._isStable;
|
|
476
|
+
/**
|
|
477
|
+
* @type {?}
|
|
478
|
+
* @private
|
|
479
|
+
*/
|
|
480
|
+
ComponentFixture.prototype._isDestroyed;
|
|
481
|
+
/**
|
|
482
|
+
* @type {?}
|
|
483
|
+
* @private
|
|
484
|
+
*/
|
|
485
|
+
ComponentFixture.prototype._resolve;
|
|
486
|
+
/**
|
|
487
|
+
* @type {?}
|
|
488
|
+
* @private
|
|
489
|
+
*/
|
|
490
|
+
ComponentFixture.prototype._promise;
|
|
491
|
+
/**
|
|
492
|
+
* @type {?}
|
|
493
|
+
* @private
|
|
494
|
+
*/
|
|
495
|
+
ComponentFixture.prototype._onUnstableSubscription;
|
|
496
|
+
/**
|
|
497
|
+
* @type {?}
|
|
498
|
+
* @private
|
|
499
|
+
*/
|
|
500
|
+
ComponentFixture.prototype._onStableSubscription;
|
|
501
|
+
/**
|
|
502
|
+
* @type {?}
|
|
503
|
+
* @private
|
|
504
|
+
*/
|
|
505
|
+
ComponentFixture.prototype._onMicrotaskEmptySubscription;
|
|
506
|
+
/**
|
|
507
|
+
* @type {?}
|
|
508
|
+
* @private
|
|
509
|
+
*/
|
|
510
|
+
ComponentFixture.prototype._onErrorSubscription;
|
|
511
|
+
/** @type {?} */
|
|
512
|
+
ComponentFixture.prototype.componentRef;
|
|
513
|
+
/** @type {?} */
|
|
514
|
+
ComponentFixture.prototype.ngZone;
|
|
515
|
+
/**
|
|
516
|
+
* @type {?}
|
|
517
|
+
* @private
|
|
518
|
+
*/
|
|
519
|
+
ComponentFixture.prototype._autoDetect;
|
|
520
|
+
}
|
|
440
521
|
/**
|
|
441
522
|
* @param {?} fn
|
|
442
523
|
* @return {?}
|
|
@@ -772,6 +853,23 @@ class AsyncTestCompleter {
|
|
|
772
853
|
*/
|
|
773
854
|
get promise() { return this._promise; }
|
|
774
855
|
}
|
|
856
|
+
if (false) {
|
|
857
|
+
/**
|
|
858
|
+
* @type {?}
|
|
859
|
+
* @private
|
|
860
|
+
*/
|
|
861
|
+
AsyncTestCompleter.prototype._resolve;
|
|
862
|
+
/**
|
|
863
|
+
* @type {?}
|
|
864
|
+
* @private
|
|
865
|
+
*/
|
|
866
|
+
AsyncTestCompleter.prototype._reject;
|
|
867
|
+
/**
|
|
868
|
+
* @type {?}
|
|
869
|
+
* @private
|
|
870
|
+
*/
|
|
871
|
+
AsyncTestCompleter.prototype._promise;
|
|
872
|
+
}
|
|
775
873
|
|
|
776
874
|
/**
|
|
777
875
|
* @fileoverview added by tsickle
|
|
@@ -799,6 +897,138 @@ const ComponentFixtureAutoDetect = new InjectionToken('ComponentFixtureAutoDetec
|
|
|
799
897
|
* @type {?}
|
|
800
898
|
*/
|
|
801
899
|
const ComponentFixtureNoNgZone = new InjectionToken('ComponentFixtureNoNgZone');
|
|
900
|
+
/**
|
|
901
|
+
* Static methods implemented by the `TestBedViewEngine` and `TestBedRender3`
|
|
902
|
+
*
|
|
903
|
+
* \@publicApi
|
|
904
|
+
* @record
|
|
905
|
+
*/
|
|
906
|
+
function TestBedStatic() { }
|
|
907
|
+
if (false) {
|
|
908
|
+
/* Skipping unhandled member: new (...args: any[]): TestBed;*/
|
|
909
|
+
/**
|
|
910
|
+
* @param {?} ngModule
|
|
911
|
+
* @param {?} platform
|
|
912
|
+
* @param {?=} aotSummaries
|
|
913
|
+
* @return {?}
|
|
914
|
+
*/
|
|
915
|
+
TestBedStatic.prototype.initTestEnvironment = function (ngModule, platform, aotSummaries) { };
|
|
916
|
+
/**
|
|
917
|
+
* Reset the providers for the test injector.
|
|
918
|
+
* @return {?}
|
|
919
|
+
*/
|
|
920
|
+
TestBedStatic.prototype.resetTestEnvironment = function () { };
|
|
921
|
+
/**
|
|
922
|
+
* @return {?}
|
|
923
|
+
*/
|
|
924
|
+
TestBedStatic.prototype.resetTestingModule = function () { };
|
|
925
|
+
/**
|
|
926
|
+
* Allows overriding default compiler providers and settings
|
|
927
|
+
* which are defined in test_injector.js
|
|
928
|
+
* @param {?} config
|
|
929
|
+
* @return {?}
|
|
930
|
+
*/
|
|
931
|
+
TestBedStatic.prototype.configureCompiler = function (config) { };
|
|
932
|
+
/**
|
|
933
|
+
* Allows overriding default providers, directives, pipes, modules of the test injector,
|
|
934
|
+
* which are defined in test_injector.js
|
|
935
|
+
* @param {?} moduleDef
|
|
936
|
+
* @return {?}
|
|
937
|
+
*/
|
|
938
|
+
TestBedStatic.prototype.configureTestingModule = function (moduleDef) { };
|
|
939
|
+
/**
|
|
940
|
+
* Compile components with a `templateUrl` for the test's NgModule.
|
|
941
|
+
* It is necessary to call this function
|
|
942
|
+
* as fetching urls is asynchronous.
|
|
943
|
+
* @return {?}
|
|
944
|
+
*/
|
|
945
|
+
TestBedStatic.prototype.compileComponents = function () { };
|
|
946
|
+
/**
|
|
947
|
+
* @param {?} ngModule
|
|
948
|
+
* @param {?} override
|
|
949
|
+
* @return {?}
|
|
950
|
+
*/
|
|
951
|
+
TestBedStatic.prototype.overrideModule = function (ngModule, override) { };
|
|
952
|
+
/**
|
|
953
|
+
* @param {?} component
|
|
954
|
+
* @param {?} override
|
|
955
|
+
* @return {?}
|
|
956
|
+
*/
|
|
957
|
+
TestBedStatic.prototype.overrideComponent = function (component, override) { };
|
|
958
|
+
/**
|
|
959
|
+
* @param {?} directive
|
|
960
|
+
* @param {?} override
|
|
961
|
+
* @return {?}
|
|
962
|
+
*/
|
|
963
|
+
TestBedStatic.prototype.overrideDirective = function (directive, override) { };
|
|
964
|
+
/**
|
|
965
|
+
* @param {?} pipe
|
|
966
|
+
* @param {?} override
|
|
967
|
+
* @return {?}
|
|
968
|
+
*/
|
|
969
|
+
TestBedStatic.prototype.overridePipe = function (pipe, override) { };
|
|
970
|
+
/**
|
|
971
|
+
* @param {?} component
|
|
972
|
+
* @param {?} template
|
|
973
|
+
* @return {?}
|
|
974
|
+
*/
|
|
975
|
+
TestBedStatic.prototype.overrideTemplate = function (component, template) { };
|
|
976
|
+
/**
|
|
977
|
+
* Overrides the template of the given component, compiling the template
|
|
978
|
+
* in the context of the TestingModule.
|
|
979
|
+
*
|
|
980
|
+
* Note: This works for JIT and AOTed components as well.
|
|
981
|
+
* @param {?} component
|
|
982
|
+
* @param {?} template
|
|
983
|
+
* @return {?}
|
|
984
|
+
*/
|
|
985
|
+
TestBedStatic.prototype.overrideTemplateUsingTestingModule = function (component, template) { };
|
|
986
|
+
/**
|
|
987
|
+
* Overwrites all providers for the given token with the given provider definition.
|
|
988
|
+
*
|
|
989
|
+
* Note: This works for JIT and AOTed components as well.
|
|
990
|
+
* @param {?} token
|
|
991
|
+
* @param {?} provider
|
|
992
|
+
* @return {?}
|
|
993
|
+
*/
|
|
994
|
+
TestBedStatic.prototype.overrideProvider = function (token, provider) { };
|
|
995
|
+
/**
|
|
996
|
+
* @param {?} token
|
|
997
|
+
* @param {?} provider
|
|
998
|
+
* @return {?}
|
|
999
|
+
*/
|
|
1000
|
+
TestBedStatic.prototype.overrideProvider = function (token, provider) { };
|
|
1001
|
+
/**
|
|
1002
|
+
* @param {?} token
|
|
1003
|
+
* @param {?} provider
|
|
1004
|
+
* @return {?}
|
|
1005
|
+
*/
|
|
1006
|
+
TestBedStatic.prototype.overrideProvider = function (token, provider) { };
|
|
1007
|
+
/**
|
|
1008
|
+
* @template T
|
|
1009
|
+
* @param {?} token
|
|
1010
|
+
* @param {?=} notFoundValue
|
|
1011
|
+
* @param {?=} flags
|
|
1012
|
+
* @return {?}
|
|
1013
|
+
*/
|
|
1014
|
+
TestBedStatic.prototype.get = function (token, notFoundValue, flags) { };
|
|
1015
|
+
/**
|
|
1016
|
+
* deprecated from v8.0.0 use Type<T> or InjectionToken<T>
|
|
1017
|
+
* This does not use the deprecated jsdoc tag on purpose
|
|
1018
|
+
* because it renders all overloads as deprecated in TSLint
|
|
1019
|
+
* due to https://github.com/palantir/tslint/issues/4522.
|
|
1020
|
+
* @param {?} token
|
|
1021
|
+
* @param {?=} notFoundValue
|
|
1022
|
+
* @return {?}
|
|
1023
|
+
*/
|
|
1024
|
+
TestBedStatic.prototype.get = function (token, notFoundValue) { };
|
|
1025
|
+
/**
|
|
1026
|
+
* @template T
|
|
1027
|
+
* @param {?} component
|
|
1028
|
+
* @return {?}
|
|
1029
|
+
*/
|
|
1030
|
+
TestBedStatic.prototype.createComponent = function (component) { };
|
|
1031
|
+
}
|
|
802
1032
|
|
|
803
1033
|
/**
|
|
804
1034
|
* @fileoverview added by tsickle
|
|
@@ -925,6 +1155,17 @@ let componentResourceResolutionQueue = new Map();
|
|
|
925
1155
|
// Track when existing ngComponentDef for a Type is waiting on resources.
|
|
926
1156
|
/** @type {?} */
|
|
927
1157
|
const componentDefPendingResolution = new Set();
|
|
1158
|
+
/**
|
|
1159
|
+
* @param {?} type
|
|
1160
|
+
* @param {?} metadata
|
|
1161
|
+
* @return {?}
|
|
1162
|
+
*/
|
|
1163
|
+
function maybeQueueResolutionOfComponentResources(type, metadata) {
|
|
1164
|
+
if (componentNeedsResolution(metadata)) {
|
|
1165
|
+
componentResourceResolutionQueue.set(type, metadata);
|
|
1166
|
+
componentDefPendingResolution.add(type);
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
928
1169
|
/**
|
|
929
1170
|
* @param {?} type
|
|
930
1171
|
* @return {?}
|
|
@@ -932,6 +1173,14 @@ const componentDefPendingResolution = new Set();
|
|
|
932
1173
|
function isComponentDefPendingResolution(type) {
|
|
933
1174
|
return componentDefPendingResolution.has(type);
|
|
934
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @param {?} component
|
|
1178
|
+
* @return {?}
|
|
1179
|
+
*/
|
|
1180
|
+
function componentNeedsResolution(component) {
|
|
1181
|
+
return !!((component.templateUrl && !component.hasOwnProperty('template')) ||
|
|
1182
|
+
component.styleUrls && component.styleUrls.length);
|
|
1183
|
+
}
|
|
935
1184
|
/**
|
|
936
1185
|
* @return {?}
|
|
937
1186
|
*/
|
|
@@ -955,6 +1204,12 @@ function restoreComponentResolutionQueue(queue) {
|
|
|
955
1204
|
(_, type) => componentDefPendingResolution.add(type)));
|
|
956
1205
|
componentResourceResolutionQueue = queue;
|
|
957
1206
|
}
|
|
1207
|
+
/**
|
|
1208
|
+
* @return {?}
|
|
1209
|
+
*/
|
|
1210
|
+
function isComponentResourceResolutionQueueEmpty() {
|
|
1211
|
+
return componentResourceResolutionQueue.size === 0;
|
|
1212
|
+
}
|
|
958
1213
|
/**
|
|
959
1214
|
* @param {?} response
|
|
960
1215
|
* @return {?}
|
|
@@ -1014,6 +1269,13 @@ class MetadataOverrider {
|
|
|
1014
1269
|
return new metadataClass((/** @type {?} */ (props)));
|
|
1015
1270
|
}
|
|
1016
1271
|
}
|
|
1272
|
+
if (false) {
|
|
1273
|
+
/**
|
|
1274
|
+
* @type {?}
|
|
1275
|
+
* @private
|
|
1276
|
+
*/
|
|
1277
|
+
MetadataOverrider.prototype._references;
|
|
1278
|
+
}
|
|
1017
1279
|
/**
|
|
1018
1280
|
* @param {?} metadata
|
|
1019
1281
|
* @param {?} remove
|
|
@@ -1160,6 +1422,30 @@ function _valueProps(obj) {
|
|
|
1160
1422
|
*/
|
|
1161
1423
|
/** @type {?} */
|
|
1162
1424
|
const reflection = new ɵReflectionCapabilities();
|
|
1425
|
+
/**
|
|
1426
|
+
* Base interface to resolve `\@Component`, `\@Directive`, `\@Pipe` and `\@NgModule`.
|
|
1427
|
+
* @record
|
|
1428
|
+
* @template T
|
|
1429
|
+
*/
|
|
1430
|
+
function Resolver() { }
|
|
1431
|
+
if (false) {
|
|
1432
|
+
/**
|
|
1433
|
+
* @param {?} type
|
|
1434
|
+
* @param {?} override
|
|
1435
|
+
* @return {?}
|
|
1436
|
+
*/
|
|
1437
|
+
Resolver.prototype.addOverride = function (type, override) { };
|
|
1438
|
+
/**
|
|
1439
|
+
* @param {?} overrides
|
|
1440
|
+
* @return {?}
|
|
1441
|
+
*/
|
|
1442
|
+
Resolver.prototype.setOverrides = function (overrides) { };
|
|
1443
|
+
/**
|
|
1444
|
+
* @param {?} type
|
|
1445
|
+
* @return {?}
|
|
1446
|
+
*/
|
|
1447
|
+
Resolver.prototype.resolve = function (type) { };
|
|
1448
|
+
}
|
|
1163
1449
|
/**
|
|
1164
1450
|
* Allows to override ivy metadata for tests (via the `TestBed`).
|
|
1165
1451
|
* @abstract
|
|
@@ -1247,6 +1533,23 @@ class OverrideResolver {
|
|
|
1247
1533
|
return resolved;
|
|
1248
1534
|
}
|
|
1249
1535
|
}
|
|
1536
|
+
if (false) {
|
|
1537
|
+
/**
|
|
1538
|
+
* @type {?}
|
|
1539
|
+
* @private
|
|
1540
|
+
*/
|
|
1541
|
+
OverrideResolver.prototype.overrides;
|
|
1542
|
+
/**
|
|
1543
|
+
* @type {?}
|
|
1544
|
+
* @private
|
|
1545
|
+
*/
|
|
1546
|
+
OverrideResolver.prototype.resolved;
|
|
1547
|
+
/**
|
|
1548
|
+
* @abstract
|
|
1549
|
+
* @return {?}
|
|
1550
|
+
*/
|
|
1551
|
+
OverrideResolver.prototype.type = function () { };
|
|
1552
|
+
}
|
|
1250
1553
|
class DirectiveResolver extends OverrideResolver {
|
|
1251
1554
|
/**
|
|
1252
1555
|
* @return {?}
|
|
@@ -1291,6 +1594,18 @@ function isTestingModuleOverride(value) {
|
|
|
1291
1594
|
return value === TestingModuleOverride.DECLARATION ||
|
|
1292
1595
|
value === TestingModuleOverride.OVERRIDE_TEMPLATE;
|
|
1293
1596
|
}
|
|
1597
|
+
/**
|
|
1598
|
+
* @record
|
|
1599
|
+
*/
|
|
1600
|
+
function CleanupOperation() { }
|
|
1601
|
+
if (false) {
|
|
1602
|
+
/** @type {?} */
|
|
1603
|
+
CleanupOperation.prototype.field;
|
|
1604
|
+
/** @type {?} */
|
|
1605
|
+
CleanupOperation.prototype.def;
|
|
1606
|
+
/** @type {?} */
|
|
1607
|
+
CleanupOperation.prototype.original;
|
|
1608
|
+
}
|
|
1294
1609
|
class R3TestBedCompiler {
|
|
1295
1610
|
/**
|
|
1296
1611
|
* @param {?} platform
|
|
@@ -2123,6 +2438,133 @@ class R3TestBedCompiler {
|
|
|
2123
2438
|
}
|
|
2124
2439
|
}
|
|
2125
2440
|
}
|
|
2441
|
+
if (false) {
|
|
2442
|
+
/**
|
|
2443
|
+
* @type {?}
|
|
2444
|
+
* @private
|
|
2445
|
+
*/
|
|
2446
|
+
R3TestBedCompiler.prototype.originalComponentResolutionQueue;
|
|
2447
|
+
/**
|
|
2448
|
+
* @type {?}
|
|
2449
|
+
* @private
|
|
2450
|
+
*/
|
|
2451
|
+
R3TestBedCompiler.prototype.declarations;
|
|
2452
|
+
/**
|
|
2453
|
+
* @type {?}
|
|
2454
|
+
* @private
|
|
2455
|
+
*/
|
|
2456
|
+
R3TestBedCompiler.prototype.imports;
|
|
2457
|
+
/**
|
|
2458
|
+
* @type {?}
|
|
2459
|
+
* @private
|
|
2460
|
+
*/
|
|
2461
|
+
R3TestBedCompiler.prototype.providers;
|
|
2462
|
+
/**
|
|
2463
|
+
* @type {?}
|
|
2464
|
+
* @private
|
|
2465
|
+
*/
|
|
2466
|
+
R3TestBedCompiler.prototype.schemas;
|
|
2467
|
+
/**
|
|
2468
|
+
* @type {?}
|
|
2469
|
+
* @private
|
|
2470
|
+
*/
|
|
2471
|
+
R3TestBedCompiler.prototype.pendingComponents;
|
|
2472
|
+
/**
|
|
2473
|
+
* @type {?}
|
|
2474
|
+
* @private
|
|
2475
|
+
*/
|
|
2476
|
+
R3TestBedCompiler.prototype.pendingDirectives;
|
|
2477
|
+
/**
|
|
2478
|
+
* @type {?}
|
|
2479
|
+
* @private
|
|
2480
|
+
*/
|
|
2481
|
+
R3TestBedCompiler.prototype.pendingPipes;
|
|
2482
|
+
/**
|
|
2483
|
+
* @type {?}
|
|
2484
|
+
* @private
|
|
2485
|
+
*/
|
|
2486
|
+
R3TestBedCompiler.prototype.seenComponents;
|
|
2487
|
+
/**
|
|
2488
|
+
* @type {?}
|
|
2489
|
+
* @private
|
|
2490
|
+
*/
|
|
2491
|
+
R3TestBedCompiler.prototype.seenDirectives;
|
|
2492
|
+
/**
|
|
2493
|
+
* @type {?}
|
|
2494
|
+
* @private
|
|
2495
|
+
*/
|
|
2496
|
+
R3TestBedCompiler.prototype.existingComponentStyles;
|
|
2497
|
+
/**
|
|
2498
|
+
* @type {?}
|
|
2499
|
+
* @private
|
|
2500
|
+
*/
|
|
2501
|
+
R3TestBedCompiler.prototype.resolvers;
|
|
2502
|
+
/**
|
|
2503
|
+
* @type {?}
|
|
2504
|
+
* @private
|
|
2505
|
+
*/
|
|
2506
|
+
R3TestBedCompiler.prototype.componentToModuleScope;
|
|
2507
|
+
/**
|
|
2508
|
+
* @type {?}
|
|
2509
|
+
* @private
|
|
2510
|
+
*/
|
|
2511
|
+
R3TestBedCompiler.prototype.initialNgDefs;
|
|
2512
|
+
/**
|
|
2513
|
+
* @type {?}
|
|
2514
|
+
* @private
|
|
2515
|
+
*/
|
|
2516
|
+
R3TestBedCompiler.prototype.defCleanupOps;
|
|
2517
|
+
/**
|
|
2518
|
+
* @type {?}
|
|
2519
|
+
* @private
|
|
2520
|
+
*/
|
|
2521
|
+
R3TestBedCompiler.prototype._injector;
|
|
2522
|
+
/**
|
|
2523
|
+
* @type {?}
|
|
2524
|
+
* @private
|
|
2525
|
+
*/
|
|
2526
|
+
R3TestBedCompiler.prototype.compilerProviders;
|
|
2527
|
+
/**
|
|
2528
|
+
* @type {?}
|
|
2529
|
+
* @private
|
|
2530
|
+
*/
|
|
2531
|
+
R3TestBedCompiler.prototype.providerOverrides;
|
|
2532
|
+
/**
|
|
2533
|
+
* @type {?}
|
|
2534
|
+
* @private
|
|
2535
|
+
*/
|
|
2536
|
+
R3TestBedCompiler.prototype.rootProviderOverrides;
|
|
2537
|
+
/**
|
|
2538
|
+
* @type {?}
|
|
2539
|
+
* @private
|
|
2540
|
+
*/
|
|
2541
|
+
R3TestBedCompiler.prototype.providerOverridesByToken;
|
|
2542
|
+
/**
|
|
2543
|
+
* @type {?}
|
|
2544
|
+
* @private
|
|
2545
|
+
*/
|
|
2546
|
+
R3TestBedCompiler.prototype.moduleProvidersOverridden;
|
|
2547
|
+
/**
|
|
2548
|
+
* @type {?}
|
|
2549
|
+
* @private
|
|
2550
|
+
*/
|
|
2551
|
+
R3TestBedCompiler.prototype.testModuleType;
|
|
2552
|
+
/**
|
|
2553
|
+
* @type {?}
|
|
2554
|
+
* @private
|
|
2555
|
+
*/
|
|
2556
|
+
R3TestBedCompiler.prototype.testModuleRef;
|
|
2557
|
+
/**
|
|
2558
|
+
* @type {?}
|
|
2559
|
+
* @private
|
|
2560
|
+
*/
|
|
2561
|
+
R3TestBedCompiler.prototype.platform;
|
|
2562
|
+
/**
|
|
2563
|
+
* @type {?}
|
|
2564
|
+
* @private
|
|
2565
|
+
*/
|
|
2566
|
+
R3TestBedCompiler.prototype.additionalModuleTypes;
|
|
2567
|
+
}
|
|
2126
2568
|
/**
|
|
2127
2569
|
* @return {?}
|
|
2128
2570
|
*/
|
|
@@ -2285,6 +2727,13 @@ class R3TestCompiler {
|
|
|
2285
2727
|
return meta && meta.id || undefined;
|
|
2286
2728
|
}
|
|
2287
2729
|
}
|
|
2730
|
+
if (false) {
|
|
2731
|
+
/**
|
|
2732
|
+
* @type {?}
|
|
2733
|
+
* @private
|
|
2734
|
+
*/
|
|
2735
|
+
R3TestCompiler.prototype.testBed;
|
|
2736
|
+
}
|
|
2288
2737
|
|
|
2289
2738
|
/**
|
|
2290
2739
|
* @fileoverview added by tsickle
|
|
@@ -2734,6 +3183,32 @@ class TestBedRender3 {
|
|
|
2734
3183
|
this._activeFixtures = [];
|
|
2735
3184
|
}
|
|
2736
3185
|
}
|
|
3186
|
+
if (false) {
|
|
3187
|
+
/** @type {?} */
|
|
3188
|
+
TestBedRender3.prototype.platform;
|
|
3189
|
+
/** @type {?} */
|
|
3190
|
+
TestBedRender3.prototype.ngModule;
|
|
3191
|
+
/**
|
|
3192
|
+
* @type {?}
|
|
3193
|
+
* @private
|
|
3194
|
+
*/
|
|
3195
|
+
TestBedRender3.prototype._compiler;
|
|
3196
|
+
/**
|
|
3197
|
+
* @type {?}
|
|
3198
|
+
* @private
|
|
3199
|
+
*/
|
|
3200
|
+
TestBedRender3.prototype._testModuleRef;
|
|
3201
|
+
/**
|
|
3202
|
+
* @type {?}
|
|
3203
|
+
* @private
|
|
3204
|
+
*/
|
|
3205
|
+
TestBedRender3.prototype._activeFixtures;
|
|
3206
|
+
/**
|
|
3207
|
+
* @type {?}
|
|
3208
|
+
* @private
|
|
3209
|
+
*/
|
|
3210
|
+
TestBedRender3.prototype._globalCompilationChecked;
|
|
3211
|
+
}
|
|
2737
3212
|
/** @type {?} */
|
|
2738
3213
|
let testBed;
|
|
2739
3214
|
/**
|
|
@@ -2830,6 +3305,14 @@ TestingCompiler.decorators = [
|
|
|
2830
3305
|
*/
|
|
2831
3306
|
class TestingCompilerFactory {
|
|
2832
3307
|
}
|
|
3308
|
+
if (false) {
|
|
3309
|
+
/**
|
|
3310
|
+
* @abstract
|
|
3311
|
+
* @param {?=} options
|
|
3312
|
+
* @return {?}
|
|
3313
|
+
*/
|
|
3314
|
+
TestingCompilerFactory.prototype.createTestingCompiler = function (options) { };
|
|
3315
|
+
}
|
|
2833
3316
|
|
|
2834
3317
|
/**
|
|
2835
3318
|
* @fileoverview added by tsickle
|
|
@@ -3469,6 +3952,107 @@ class TestBedViewEngine {
|
|
|
3469
3952
|
return fixture;
|
|
3470
3953
|
}
|
|
3471
3954
|
}
|
|
3955
|
+
if (false) {
|
|
3956
|
+
/**
|
|
3957
|
+
* @type {?}
|
|
3958
|
+
* @private
|
|
3959
|
+
*/
|
|
3960
|
+
TestBedViewEngine.prototype._instantiated;
|
|
3961
|
+
/**
|
|
3962
|
+
* @type {?}
|
|
3963
|
+
* @private
|
|
3964
|
+
*/
|
|
3965
|
+
TestBedViewEngine.prototype._compiler;
|
|
3966
|
+
/**
|
|
3967
|
+
* @type {?}
|
|
3968
|
+
* @private
|
|
3969
|
+
*/
|
|
3970
|
+
TestBedViewEngine.prototype._moduleRef;
|
|
3971
|
+
/**
|
|
3972
|
+
* @type {?}
|
|
3973
|
+
* @private
|
|
3974
|
+
*/
|
|
3975
|
+
TestBedViewEngine.prototype._moduleFactory;
|
|
3976
|
+
/**
|
|
3977
|
+
* @type {?}
|
|
3978
|
+
* @private
|
|
3979
|
+
*/
|
|
3980
|
+
TestBedViewEngine.prototype._compilerOptions;
|
|
3981
|
+
/**
|
|
3982
|
+
* @type {?}
|
|
3983
|
+
* @private
|
|
3984
|
+
*/
|
|
3985
|
+
TestBedViewEngine.prototype._moduleOverrides;
|
|
3986
|
+
/**
|
|
3987
|
+
* @type {?}
|
|
3988
|
+
* @private
|
|
3989
|
+
*/
|
|
3990
|
+
TestBedViewEngine.prototype._componentOverrides;
|
|
3991
|
+
/**
|
|
3992
|
+
* @type {?}
|
|
3993
|
+
* @private
|
|
3994
|
+
*/
|
|
3995
|
+
TestBedViewEngine.prototype._directiveOverrides;
|
|
3996
|
+
/**
|
|
3997
|
+
* @type {?}
|
|
3998
|
+
* @private
|
|
3999
|
+
*/
|
|
4000
|
+
TestBedViewEngine.prototype._pipeOverrides;
|
|
4001
|
+
/**
|
|
4002
|
+
* @type {?}
|
|
4003
|
+
* @private
|
|
4004
|
+
*/
|
|
4005
|
+
TestBedViewEngine.prototype._providers;
|
|
4006
|
+
/**
|
|
4007
|
+
* @type {?}
|
|
4008
|
+
* @private
|
|
4009
|
+
*/
|
|
4010
|
+
TestBedViewEngine.prototype._declarations;
|
|
4011
|
+
/**
|
|
4012
|
+
* @type {?}
|
|
4013
|
+
* @private
|
|
4014
|
+
*/
|
|
4015
|
+
TestBedViewEngine.prototype._imports;
|
|
4016
|
+
/**
|
|
4017
|
+
* @type {?}
|
|
4018
|
+
* @private
|
|
4019
|
+
*/
|
|
4020
|
+
TestBedViewEngine.prototype._schemas;
|
|
4021
|
+
/**
|
|
4022
|
+
* @type {?}
|
|
4023
|
+
* @private
|
|
4024
|
+
*/
|
|
4025
|
+
TestBedViewEngine.prototype._activeFixtures;
|
|
4026
|
+
/**
|
|
4027
|
+
* @type {?}
|
|
4028
|
+
* @private
|
|
4029
|
+
*/
|
|
4030
|
+
TestBedViewEngine.prototype._testEnvAotSummaries;
|
|
4031
|
+
/**
|
|
4032
|
+
* @type {?}
|
|
4033
|
+
* @private
|
|
4034
|
+
*/
|
|
4035
|
+
TestBedViewEngine.prototype._aotSummaries;
|
|
4036
|
+
/**
|
|
4037
|
+
* @type {?}
|
|
4038
|
+
* @private
|
|
4039
|
+
*/
|
|
4040
|
+
TestBedViewEngine.prototype._templateOverrides;
|
|
4041
|
+
/**
|
|
4042
|
+
* @type {?}
|
|
4043
|
+
* @private
|
|
4044
|
+
*/
|
|
4045
|
+
TestBedViewEngine.prototype._isRoot;
|
|
4046
|
+
/**
|
|
4047
|
+
* @type {?}
|
|
4048
|
+
* @private
|
|
4049
|
+
*/
|
|
4050
|
+
TestBedViewEngine.prototype._rootProviderOverrides;
|
|
4051
|
+
/** @type {?} */
|
|
4052
|
+
TestBedViewEngine.prototype.platform;
|
|
4053
|
+
/** @type {?} */
|
|
4054
|
+
TestBedViewEngine.prototype.ngModule;
|
|
4055
|
+
}
|
|
3472
4056
|
/**
|
|
3473
4057
|
* \@description
|
|
3474
4058
|
* Configures and initializes environment for unit testing and provides methods for
|
|
@@ -3599,6 +4183,13 @@ class InjectSetupWrapper {
|
|
|
3599
4183
|
});
|
|
3600
4184
|
}
|
|
3601
4185
|
}
|
|
4186
|
+
if (false) {
|
|
4187
|
+
/**
|
|
4188
|
+
* @type {?}
|
|
4189
|
+
* @private
|
|
4190
|
+
*/
|
|
4191
|
+
InjectSetupWrapper.prototype._moduleDef;
|
|
4192
|
+
}
|
|
3602
4193
|
/**
|
|
3603
4194
|
* @param {?} moduleDef
|
|
3604
4195
|
* @param {?=} fn
|