From 23a942ddec682abb8cc38817b4b92f2fe923b7df Mon Sep 17 00:00:00 2001 From: Jason Choi Date: Fri, 26 Aug 2016 12:02:42 -0700 Subject: [PATCH] test boundary refactoring and main() invocation (0826) --- .../common/test/directives/ng_class_spec.ts | 4 ++- .../common/test/directives/ng_for_spec.ts | 4 ++- .../common/test/directives/ng_if_spec.ts | 2 ++ .../common/test/directives/ng_plural_spec.ts | 2 ++ .../common/test/directives/ng_style_spec.ts | 2 ++ .../common/test/directives/ng_switch_spec.ts | 2 ++ .../directives/ng_template_outlet_spec.ts | 2 ++ .../test/directives/non_bindable_spec.ts | 2 ++ .../@angular/common/test/localization_spec.ts | 5 ++-- .../common/test/pipes/async_pipe_spec.ts | 6 +++-- .../common/test/pipes/date_pipe_spec.ts | 4 ++- .../test/pipes/i18n_plural_pipe_spec.ts | 2 ++ .../test/pipes/i18n_select_pipe_spec.ts | 2 ++ .../common/test/pipes/json_pipe_spec.ts | 4 ++- .../common/test/pipes/lowercase_pipe_spec.ts | 2 ++ .../common/test/pipes/number_pipe_spec.ts | 2 ++ .../common/test/pipes/slice_pipe_spec.ts | 2 ++ .../common/test/pipes/uppercase_pipe_spec.ts | 2 ++ modules/@angular/compiler-cli/test/mocks.ts | 2 +- .../compiler-cli/test/reflector_host_spec.ts | 2 +- .../test/animation/animation_compiler_spec.ts | 10 ++++--- .../test/animation/animation_parser_spec.ts | 12 +++++---- .../test/css_parser/css_lexer_spec.ts | 8 +++--- .../test/css_parser/css_parser_spec.ts | 10 ++++--- .../test/css_parser/css_visitor_spec.ts | 10 ++++--- .../compiler/test/directive_lifecycle_spec.ts | 2 ++ .../test/directive_normalizer_spec.ts | 2 ++ .../test/directive_resolver_mock_spec.ts | 6 +++-- .../compiler/test/directive_resolver_spec.ts | 2 ++ .../test/expression_parser/lexer_spec.ts | 2 ++ .../test/expression_parser/parser_spec.ts | 4 ++- .../test/expression_parser/unparser.ts | 6 ++--- .../test/expression_parser/validator.ts | 2 +- .../compiler/test/i18n/digest_spec.ts | 4 ++- .../test/i18n/extractor_merger_spec.ts | 16 +++++++----- .../compiler/test/i18n/i18n_parser_spec.ts | 8 +++--- .../compiler/test/i18n/integration_spec.ts | 2 ++ .../compiler/test/i18n/message_bundle_spec.ts | 11 ++++---- .../test/i18n/serializers/placeholder_spec.ts | 5 ++-- .../test/i18n/serializers/xliff_spec.ts | 9 ++++--- .../test/i18n/serializers/xmb_spec.ts | 8 +++--- .../test/i18n/serializers/xml_helper_spec.ts | 5 ++-- .../test/i18n/serializers/xtb_spec.ts | 13 +++++----- .../compiler/test/metadata_overrider_spec.ts | 4 ++- .../compiler/test/metadata_resolver_spec.ts | 6 +++-- .../test/ml_parser/ast_serializer_spec.ts | 8 +++--- .../compiler/test/ml_parser/ast_spec_utils.ts | 6 ++--- .../test/ml_parser/html_parser_spec.ts | 12 +++++---- .../test/ml_parser/icu_ast_expander_spec.ts | 12 +++++---- .../compiler/test/ml_parser/lexer_spec.ts | 12 +++++---- .../test/ng_module_resolver_mock_spec.ts | 6 +++-- .../compiler/test/ng_module_resolver_spec.ts | 4 ++- .../test/output/abstract_emitter_spec.ts | 2 ++ .../compiler/test/output/js_emitter_spec.ts | 4 ++- .../output/output_emitter_codegen_typed.ts | 4 +-- .../output/output_emitter_codegen_untyped.ts | 4 +-- .../test/output/output_emitter_spec.ts | 2 ++ .../test/output/output_emitter_util.ts | 2 +- .../compiler/test/output/ts_emitter_spec.ts | 4 ++- .../compiler/test/pipe_resolver_mock_spec.ts | 6 +++-- .../test/resource_loader_mock_spec.ts | 4 ++- .../compiler/test/runtime_compiler_spec.ts | 6 +++-- .../dom_element_schema_registry_spec.ts | 6 +++-- .../compiler/test/schema/schema_extractor.ts | 2 +- .../@angular/compiler/test/selector_spec.ts | 2 ++ .../@angular/compiler/test/shadow_css_spec.ts | 4 ++- .../compiler/test/style_url_resolver_spec.ts | 2 ++ .../template_parser/template_parser_spec.ts | 6 +++-- .../template_preparser_spec.ts | 10 ++++--- .../compiler/test/url_resolver_spec.ts | 2 ++ modules/@angular/compiler/test/util_spec.ts | 4 ++- .../active_animations_players_map_spec.ts | 12 +++++---- .../animation/animation_group_player_spec.ts | 10 ++++--- .../animation/animation_integration_spec.ts | 22 +++++++++------- .../test/animation/animation_player_spec.ts | 8 +++--- .../animation_sequence_player_spec.ts | 12 +++++---- .../animation/animation_style_util_spec.ts | 14 +++++----- .../core/test/application_init_spec.ts | 6 +++-- .../core/test/application_module_spec.ts | 5 ++-- .../core/test/application_ref_spec.ts | 4 ++- .../change_detector_util_spec.ts | 2 ++ .../differs/default_iterable_differ_spec.ts | 6 +++-- .../differs/default_keyvalue_differ_spec.ts | 2 ++ .../differs/iterable_differs_spec.ts | 2 ++ .../core/test/change_detection/iterable.ts | 2 +- .../core/test/change_detection/util.ts | 2 +- .../core/test/component_fixture_spec.ts | 2 ++ .../core/test/debug/debug_node_spec.ts | 4 ++- modules/@angular/core/test/dev_mode_spec.ts | 2 ++ .../@angular/core/test/di/forward_ref_spec.ts | 2 ++ .../@angular/core/test/di/injector_spec.ts | 2 ++ .../core/test/di/reflective_injector_spec.ts | 4 ++- .../core/test/di/reflective_key_spec.ts | 2 ++ .../directive_lifecycle_integration_spec.ts | 2 ++ .../core/test/dom/dom_adapter_spec.ts | 2 ++ modules/@angular/core/test/dom/shim_spec.ts | 2 ++ .../@angular/core/test/error_handler_spec.ts | 6 +++-- .../core/test/facade/observable_spec.ts | 4 ++- modules/@angular/core/test/fake_async_spec.ts | 4 ++- .../core/test/forward_ref_integration_spec.ts | 2 ++ .../change_detection_integration_spec.ts | 8 +++--- .../entry_components_integration_spec.ts | 4 ++- .../core/test/linker/integration_spec.ts | 6 +++-- .../linker/ng_container_integration_spec.ts | 2 ++ .../test/linker/ng_module_integration_spec.ts | 6 +++-- .../linker/projection_integration_spec.ts | 2 ++ .../test/linker/query_integration_spec.ts | 4 ++- .../core/test/linker/query_list_spec.ts | 6 +++-- .../linker/regression_integration_spec.ts | 2 ++ .../test/linker/security_integration_spec.ts | 2 ++ .../system_ng_module_factory_loader_spec.ts | 2 ++ .../linker/view_injector_integration_spec.ts | 2 ++ .../core/test/metadata/decorators_spec.ts | 2 ++ .../@angular/core/test/metadata/di_spec.ts | 2 ++ .../core/test/reflection/reflector_spec.ts | 2 ++ .../core/test/testability/testability_spec.ts | 6 +++-- .../core/test/testing_internal_spec.ts | 4 ++- .../core/test/util/decorators_spec.ts | 4 ++- .../@angular/core/test/zone/ng_zone_spec.ts | 6 +++-- modules/@angular/facade/test/async_spec.ts | 4 ++- .../@angular/facade/test/collection_spec.ts | 4 ++- modules/@angular/facade/test/lang_spec.ts | 4 ++- .../@angular/forms/test/directives_spec.ts | 2 ++ .../@angular/forms/test/form_array_spec.ts | 6 +++-- .../@angular/forms/test/form_builder_spec.ts | 2 ++ .../@angular/forms/test/form_control_spec.ts | 8 +++--- .../@angular/forms/test/form_group_spec.ts | 6 +++-- .../forms/test/reactive_integration_spec.ts | 6 +++-- .../forms/test/template_integration_spec.ts | 4 ++- .../@angular/forms/test/validators_spec.ts | 6 +++-- .../http/test/backends/jsonp_backend_spec.ts | 20 +++++++------- .../http/test/backends/mock_backend_spec.ts | 12 +++++---- .../http/test/backends/xhr_backend_spec.ts | 26 ++++++++++--------- .../http/test/base_request_options_spec.ts | 6 +++-- modules/@angular/http/test/headers_spec.ts | 8 +++--- modules/@angular/http/test/http_spec.ts | 10 ++++--- .../@angular/http/test/static_request_spec.ts | 10 ++++--- .../http/test/static_response_spec.ts | 6 +++-- .../http/test/url_search_params_spec.ts | 4 ++- .../resource_loader_cache_spec.ts | 4 ++- .../resource_loader_impl_spec.ts | 4 ++- .../test/testing_public_browser_spec.ts | 4 ++- .../test/browser/bootstrap_spec.ts | 4 ++- .../test/browser/browser_adapter_spec.ts | 4 ++- .../test/browser/title_spec.ts | 2 ++ .../test/browser/tools/spies.ts | 2 +- .../test/browser/tools/tools_spec.ts | 2 ++ .../test/browser_util_spec.ts | 6 +++-- .../test/dom/dom_renderer_integration_spec.ts | 2 ++ .../test/dom/events/event_manager_spec.ts | 6 +++-- .../test/dom/events/key_events_spec.ts | 2 ++ .../test/dom/shared_styles_host_spec.ts | 2 ++ .../test/dom/web_animations_driver_spec.ts | 14 +++++----- .../test/dom/web_animations_player_spec.ts | 8 +++--- .../security/dom_sanitization_service_spec.ts | 4 ++- .../test/security/html_sanitizer_spec.ts | 6 +++-- .../test/security/style_sanitizer_spec.ts | 6 +++-- .../test/security/url_sanitizer_spec.ts | 6 +++-- .../test/testing_public_spec.ts | 4 ++- .../web_workers/shared/message_bus_spec.ts | 2 ++ .../web_workers/shared/mock_event_emitter.ts | 2 +- .../web_workers/shared/render_store_spec.ts | 2 ++ .../shared/service_message_broker_spec.ts | 2 ++ .../shared/web_worker_test_util.ts | 4 +-- .../worker/platform_location_spec.ts | 2 ++ .../worker/renderer_integration_spec.ts | 4 ++- .../platform-server/test/integration_spec.ts | 2 ++ .../router/test/apply_redirects.spec.ts | 8 +++--- modules/@angular/router/test/config.spec.ts | 2 +- .../router/test/create_router_state.spec.ts | 14 +++++----- .../router/test/create_url_tree.spec.ts | 8 +++--- .../@angular/router/test/integration.spec.ts | 4 +-- .../@angular/router/test/recognize.spec.ts | 10 +++---- modules/@angular/router/test/router.spec.ts | 10 +++---- .../@angular/router/test/router_state.spec.ts | 4 +-- .../router/test/url_serializer.spec.ts | 4 +-- modules/@angular/router/test/url_tree.spec.ts | 2 +- .../@angular/router/test/utils/tree.spec.ts | 2 +- .../@angular/upgrade/test/metadata_spec.ts | 2 ++ modules/@angular/upgrade/test/upgrade_spec.ts | 2 ++ .../src/model_driven_forms/index.ts | 2 +- .../playground/src/order_management/index.ts | 2 +- .../playground/src/routing/app/inbox-app.ts | 2 +- .../src/template_driven_forms/index.ts | 2 +- modules/playground/src/todo/app/TodoStore.ts | 2 +- .../src/web_workers/images/index_common.ts | 2 +- .../web_workers/kitchen_sink/index_common.ts | 2 +- .../web_workers/todo/services/TodoStore.ts | 2 +- 188 files changed, 618 insertions(+), 315 deletions(-) diff --git a/modules/@angular/common/test/directives/ng_class_spec.ts b/modules/@angular/common/test/directives/ng_class_spec.ts index 4c4bcda6a5..f243fa3806 100644 --- a/modules/@angular/common/test/directives/ng_class_spec.ts +++ b/modules/@angular/common/test/directives/ng_class_spec.ts @@ -11,7 +11,7 @@ import {Component} from '@angular/core'; import {ComponentFixture, TestBed, async} from '@angular/core/testing'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {ListWrapper, StringMapWrapper} from '../../src/facade/collection'; +import {ListWrapper, StringMapWrapper} from '@angular/facade/src/collection'; function detectChangesAndCheck(fixture: ComponentFixture, classes: string) { fixture.detectChanges(); @@ -389,3 +389,5 @@ class TestComponent { constructor() { this.setExpr.add('foo'); } } + +main(); diff --git a/modules/@angular/common/test/directives/ng_for_spec.ts b/modules/@angular/common/test/directives/ng_for_spec.ts index c9997388e0..a7098ce843 100644 --- a/modules/@angular/common/test/directives/ng_for_spec.ts +++ b/modules/@angular/common/test/directives/ng_for_spec.ts @@ -12,7 +12,7 @@ import {TestBed, async} from '@angular/core/testing'; import {By} from '@angular/platform-browser/src/dom/debug/by'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {ListWrapper} from '../../src/facade/collection'; +import {ListWrapper} from '@angular/facade/src/collection'; let thisArg: any; @@ -433,3 +433,5 @@ class ComponentUsingTestComponent { items: any; constructor() { this.items = [1, 2]; } } + +main(); diff --git a/modules/@angular/common/test/directives/ng_if_spec.ts b/modules/@angular/common/test/directives/ng_if_spec.ts index 79b5b2428a..8216eaa742 100644 --- a/modules/@angular/common/test/directives/ng_if_spec.ts +++ b/modules/@angular/common/test/directives/ng_if_spec.ts @@ -183,3 +183,5 @@ class TestComponent { this.functionCondition = function(s: any, n: any): boolean { return s == 'foo' && n == 1; }; } } + +main(); diff --git a/modules/@angular/common/test/directives/ng_plural_spec.ts b/modules/@angular/common/test/directives/ng_plural_spec.ts index c827b784c9..6aea6c1707 100644 --- a/modules/@angular/common/test/directives/ng_plural_spec.ts +++ b/modules/@angular/common/test/directives/ng_plural_spec.ts @@ -143,3 +143,5 @@ class TestLocalization extends NgLocalization { class TestComponent { switchValue: number = null; } + +main(); diff --git a/modules/@angular/common/test/directives/ng_style_spec.ts b/modules/@angular/common/test/directives/ng_style_spec.ts index 375b60dd9f..c1dcddc861 100644 --- a/modules/@angular/common/test/directives/ng_style_spec.ts +++ b/modules/@angular/common/test/directives/ng_style_spec.ts @@ -153,3 +153,5 @@ export function main() { class TestComponent { expr: any; } + +main(); diff --git a/modules/@angular/common/test/directives/ng_switch_spec.ts b/modules/@angular/common/test/directives/ng_switch_spec.ts index 38b1455ede..a78d0ca53f 100644 --- a/modules/@angular/common/test/directives/ng_switch_spec.ts +++ b/modules/@angular/common/test/directives/ng_switch_spec.ts @@ -158,3 +158,5 @@ class TestComponent { this.when2 = null; } } + +main(); diff --git a/modules/@angular/common/test/directives/ng_template_outlet_spec.ts b/modules/@angular/common/test/directives/ng_template_outlet_spec.ts index f38eb9c8be..cfd8808109 100644 --- a/modules/@angular/common/test/directives/ng_template_outlet_spec.ts +++ b/modules/@angular/common/test/directives/ng_template_outlet_spec.ts @@ -163,3 +163,5 @@ class TestComponent { currentTplRef: TemplateRef; context: any = {foo: 'bar'}; } + +main(); diff --git a/modules/@angular/common/test/directives/non_bindable_spec.ts b/modules/@angular/common/test/directives/non_bindable_spec.ts index ba925aeef9..663bbcdce9 100644 --- a/modules/@angular/common/test/directives/non_bindable_spec.ts +++ b/modules/@angular/common/test/directives/non_bindable_spec.ts @@ -62,3 +62,5 @@ class TestComponent { text: string; constructor() { this.text = 'foo'; } } + +main(); diff --git a/modules/@angular/common/test/localization_spec.ts b/modules/@angular/common/test/localization_spec.ts index 75b29d3b3e..49426ec91c 100644 --- a/modules/@angular/common/test/localization_spec.ts +++ b/modules/@angular/common/test/localization_spec.ts @@ -11,7 +11,7 @@ import {TestBed} from '@angular/core/testing'; import {AsyncTestCompleter, afterEach, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {NgLocaleLocalization, NgLocalization, getPluralCategory} from '../src/localization'; +import {NgLocaleLocalization, NgLocalization, getPluralCategory} from '@angular/common/src/localization'; export function main() { @@ -155,4 +155,5 @@ class FrLocalization extends NgLocalization { return 'other'; } } -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/common/test/pipes/async_pipe_spec.ts b/modules/@angular/common/test/pipes/async_pipe_spec.ts index a0240a89e1..0ab45670cb 100644 --- a/modules/@angular/common/test/pipes/async_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/async_pipe_spec.ts @@ -12,8 +12,8 @@ import {AsyncTestCompleter, afterEach, beforeEach, ddescribe, describe, expect, import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {EventEmitter} from '../../src/facade/async'; -import {isBlank} from '../../src/facade/lang'; +import {EventEmitter} from '@angular/facade/src/async'; +import {isBlank} from '@angular/facade/src/lang'; import {SpyChangeDetectorRef} from '../spies'; export function main() { @@ -216,3 +216,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/common/test/pipes/date_pipe_spec.ts b/modules/@angular/common/test/pipes/date_pipe_spec.ts index 09e359641b..47a74bfe79 100644 --- a/modules/@angular/common/test/pipes/date_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/date_pipe_spec.ts @@ -11,7 +11,7 @@ import {PipeResolver} from '@angular/compiler/src/pipe_resolver'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {DateWrapper} from '../../src/facade/lang'; +import {DateWrapper} from '@angular/facade/src/lang'; export function main() { describe('DatePipe', () => { @@ -104,3 +104,5 @@ export function main() { } }); } + +main(); diff --git a/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts b/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts index 5f0198bc13..7075fa3387 100644 --- a/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts @@ -66,3 +66,5 @@ export function main() { class TestLocalization extends NgLocalization { getPluralCategory(value: number): string { return value > 1 && value < 6 ? 'many' : 'other'; } } + +main(); diff --git a/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts b/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts index bd4874deda..d1b2e6e070 100644 --- a/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts @@ -47,3 +47,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/common/test/pipes/json_pipe_spec.ts b/modules/@angular/common/test/pipes/json_pipe_spec.ts index edb6fa9ca0..00a5f2531f 100644 --- a/modules/@angular/common/test/pipes/json_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/json_pipe_spec.ts @@ -11,7 +11,7 @@ import {Component} from '@angular/core'; import {TestBed, async} from '@angular/core/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {Json, StringWrapper} from '../../src/facade/lang'; +import {Json, StringWrapper} from '@angular/facade/src/lang'; export function main() { describe('JsonPipe', () => { @@ -79,3 +79,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts b/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts index 31d699007c..04fbb5e3d4 100644 --- a/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts @@ -40,3 +40,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/common/test/pipes/number_pipe_spec.ts b/modules/@angular/common/test/pipes/number_pipe_spec.ts index b52812f057..30702cfa64 100644 --- a/modules/@angular/common/test/pipes/number_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/number_pipe_spec.ts @@ -82,3 +82,5 @@ export function main() { } }); } + +main(); diff --git a/modules/@angular/common/test/pipes/slice_pipe_spec.ts b/modules/@angular/common/test/pipes/slice_pipe_spec.ts index 74f5789262..c956941fe5 100644 --- a/modules/@angular/common/test/pipes/slice_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/slice_pipe_spec.ts @@ -111,3 +111,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts b/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts index e8bb9a4694..538c79358d 100644 --- a/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts @@ -41,3 +41,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/compiler-cli/test/mocks.ts b/modules/@angular/compiler-cli/test/mocks.ts index 49f9d87630..6c30d7a661 100644 --- a/modules/@angular/compiler-cli/test/mocks.ts +++ b/modules/@angular/compiler-cli/test/mocks.ts @@ -8,7 +8,7 @@ import * as ts from 'typescript'; -import {ReflectorHostContext} from '../src/reflector_host'; +import {ReflectorHostContext} from '@angular/compiler-cli/src/reflector_host'; export type Entry = string | Directory; diff --git a/modules/@angular/compiler-cli/test/reflector_host_spec.ts b/modules/@angular/compiler-cli/test/reflector_host_spec.ts index 3385ba137f..dbed4861d6 100644 --- a/modules/@angular/compiler-cli/test/reflector_host_spec.ts +++ b/modules/@angular/compiler-cli/test/reflector_host_spec.ts @@ -9,7 +9,7 @@ import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; import * as ts from 'typescript'; -import {ReflectorHost} from '../src/reflector_host'; +import {ReflectorHost} from '@angular/compiler-cli/src/reflector_host'; import {Directory, Entry, MockCompilerHost, MockContext} from './mocks'; diff --git a/modules/@angular/compiler/test/animation/animation_compiler_spec.ts b/modules/@angular/compiler/test/animation/animation_compiler_spec.ts index 094a3da956..dfdd90192d 100644 --- a/modules/@angular/compiler/test/animation/animation_compiler_spec.ts +++ b/modules/@angular/compiler/test/animation/animation_compiler_spec.ts @@ -9,10 +9,10 @@ import {AnimationMetadata, animate, group, sequence, style, transition, trigger} from '@angular/core'; import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {StringMapWrapper} from '../../../platform-browser-dynamic/src/facade/collection'; -import {AnimationCompiler, CompiledAnimationTriggerResult} from '../../src/animation/animation_compiler'; -import {CompileAnimationEntryMetadata, CompileDirectiveMetadata, CompileTemplateMetadata, CompileTypeMetadata} from '../../src/compile_metadata'; -import {CompileMetadataResolver} from '../../src/metadata_resolver'; +import {StringMapWrapper} from '@angular/platform-browser-dynamic/src/facade/collection'; +import {AnimationCompiler, CompiledAnimationTriggerResult} from '@angular/compiler/src/animation/animation_compiler'; +import {CompileAnimationEntryMetadata, CompileDirectiveMetadata, CompileTemplateMetadata, CompileTypeMetadata} from '@angular/compiler/src/compile_metadata'; +import {CompileMetadataResolver} from '@angular/compiler/src/metadata_resolver'; export function main() { describe('RuntimeAnimationCompiler', () => { @@ -77,3 +77,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/animation/animation_parser_spec.ts b/modules/@angular/compiler/test/animation/animation_parser_spec.ts index a138028eb3..42e36623a7 100644 --- a/modules/@angular/compiler/test/animation/animation_parser_spec.ts +++ b/modules/@angular/compiler/test/animation/animation_parser_spec.ts @@ -10,11 +10,11 @@ import {AnimationAnimateMetadata, AnimationGroupMetadata, AnimationMetadata, Ani import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {FILL_STYLE_FLAG, flattenStyles} from '../../core_private'; -import {AnimationAst, AnimationEntryAst, AnimationGroupAst, AnimationKeyframeAst, AnimationSequenceAst, AnimationStateTransitionAst, AnimationStepAst, AnimationStylesAst} from '../../src/animation/animation_ast'; -import {parseAnimationEntry} from '../../src/animation/animation_parser'; -import {StringMapWrapper} from '../../src/facade/collection'; -import {CompileMetadataResolver} from '../../src/metadata_resolver'; +import {FILL_STYLE_FLAG, flattenStyles} from '@angular/compiler/core_private'; +import {AnimationAst, AnimationEntryAst, AnimationGroupAst, AnimationKeyframeAst, AnimationSequenceAst, AnimationStateTransitionAst, AnimationStepAst, AnimationStylesAst} from '@angular/compiler/src/animation/animation_ast'; +import {parseAnimationEntry} from '@angular/compiler/src/animation/animation_parser'; +import {StringMapWrapper} from '@angular/facade/src/collection'; +import {CompileMetadataResolver} from '@angular/compiler/src/metadata_resolver'; export function main() { describe('parseAnimationEntry', () => { @@ -416,3 +416,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/css_parser/css_lexer_spec.ts b/modules/@angular/compiler/test/css_parser/css_lexer_spec.ts index 04539fbdde..20ed50a74b 100644 --- a/modules/@angular/compiler/test/css_parser/css_lexer_spec.ts +++ b/modules/@angular/compiler/test/css_parser/css_lexer_spec.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../../core/testing/testing_internal'; -import {CssLexer, CssLexerMode, CssScannerError, CssToken, CssTokenType} from '../../src/css_parser/css_lexer'; -import {isPresent} from '../../src/facade/lang'; +import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; +import {CssLexer, CssLexerMode, CssScannerError, CssToken, CssTokenType} from '@angular/compiler/src/css_parser/css_lexer'; +import {isPresent} from '@angular/facade/src/lang'; export function main() { function tokenize( @@ -375,3 +375,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/css_parser/css_parser_spec.ts b/modules/@angular/compiler/test/css_parser/css_parser_spec.ts index 86710adfb9..8cd5be8e80 100644 --- a/modules/@angular/compiler/test/css_parser/css_parser_spec.ts +++ b/modules/@angular/compiler/test/css_parser/css_parser_spec.ts @@ -7,10 +7,10 @@ */ -import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../../core/testing/testing_internal'; -import {CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssSelectorRuleAst, CssStyleSheetAst, CssStyleValueAst} from '../../src/css_parser/css_ast'; -import {BlockType, CssParseError, CssParser, CssToken, ParsedCssResult} from '../../src/css_parser/css_parser'; -import {ParseLocation} from '../../src/parse_util'; +import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; +import {CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssSelectorRuleAst, CssStyleSheetAst, CssStyleValueAst} from '@angular/compiler/src/css_parser/css_ast'; +import {BlockType, CssParseError, CssParser, CssToken, ParsedCssResult} from '@angular/compiler/src/css_parser/css_parser'; +import {ParseLocation} from '@angular/compiler/src/parse_util'; export function assertTokens(tokens: CssToken[], valuesArr: string[]) { for (var i = 0; i < tokens.length; i++) { @@ -800,3 +800,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/css_parser/css_visitor_spec.ts b/modules/@angular/compiler/test/css_parser/css_visitor_spec.ts index e59014822e..faa2332788 100644 --- a/modules/@angular/compiler/test/css_parser/css_visitor_spec.ts +++ b/modules/@angular/compiler/test/css_parser/css_visitor_spec.ts @@ -7,10 +7,10 @@ */ -import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../../core/testing/testing_internal'; -import {CssAst, CssAstVisitor, CssAtRulePredicateAst, CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssPseudoSelectorAst, CssRuleAst, CssSelectorAst, CssSelectorRuleAst, CssSimpleSelectorAst, CssStyleSheetAst, CssStyleValueAst, CssStylesBlockAst, CssUnknownRuleAst, CssUnknownTokenListAst} from '../../src/css_parser/css_ast'; -import {BlockType, CssParseError, CssParser, CssToken} from '../../src/css_parser/css_parser'; -import {isPresent} from '../../src/facade/lang'; +import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; +import {CssAst, CssAstVisitor, CssAtRulePredicateAst, CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssPseudoSelectorAst, CssRuleAst, CssSelectorAst, CssSelectorRuleAst, CssSimpleSelectorAst, CssStyleSheetAst, CssStyleValueAst, CssStylesBlockAst, CssUnknownRuleAst, CssUnknownTokenListAst} from '@angular/compiler/src/css_parser/css_ast'; +import {BlockType, CssParseError, CssParser, CssToken} from '@angular/compiler/src/css_parser/css_parser'; +import {isPresent} from '@angular/facade/src/lang'; function _assertTokens(tokens: CssToken[], valuesArr: string[]): void { expect(tokens.length).toEqual(valuesArr.length); @@ -320,3 +320,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/directive_lifecycle_spec.ts b/modules/@angular/compiler/test/directive_lifecycle_spec.ts index cc96e77dfe..98dd5e56ee 100644 --- a/modules/@angular/compiler/test/directive_lifecycle_spec.ts +++ b/modules/@angular/compiler/test/directive_lifecycle_spec.ts @@ -141,3 +141,5 @@ class DirectiveWithAfterViewInitMethod { class DirectiveWithAfterViewCheckedMethod { ngAfterViewChecked() {} } + +main(); diff --git a/modules/@angular/compiler/test/directive_normalizer_spec.ts b/modules/@angular/compiler/test/directive_normalizer_spec.ts index 839b0be862..744ba14ce5 100644 --- a/modules/@angular/compiler/test/directive_normalizer_spec.ts +++ b/modules/@angular/compiler/test/directive_normalizer_spec.ts @@ -444,3 +444,5 @@ function programResourceLoaderSpy(spy: SpyResourceLoader, results: {[key: string } }); } + +main(); diff --git a/modules/@angular/compiler/test/directive_resolver_mock_spec.ts b/modules/@angular/compiler/test/directive_resolver_mock_spec.ts index 9855ee4f97..25a816ca69 100644 --- a/modules/@angular/compiler/test/directive_resolver_mock_spec.ts +++ b/modules/@angular/compiler/test/directive_resolver_mock_spec.ts @@ -9,8 +9,8 @@ import {Component, ComponentMetadata, Directive, Injector} from '@angular/core'; import {TestBed, inject} from '@angular/core/testing'; -import {ViewMetadata} from '../core_private'; -import {MockDirectiveResolver} from '../testing'; +import {ViewMetadata} from '@angular/compiler/core_private'; +import {MockDirectiveResolver} from '@angular/compiler/testing'; export function main() { describe('MockDirectiveResolver', () => { @@ -95,3 +95,5 @@ class SomeComponent { @Directive({selector: 'some-other-directive'}) class SomeOtherDirective { } + +main(); diff --git a/modules/@angular/compiler/test/directive_resolver_spec.ts b/modules/@angular/compiler/test/directive_resolver_spec.ts index ab53062f00..c28aad191e 100644 --- a/modules/@angular/compiler/test/directive_resolver_spec.ts +++ b/modules/@angular/compiler/test/directive_resolver_spec.ts @@ -232,3 +232,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/expression_parser/lexer_spec.ts b/modules/@angular/compiler/test/expression_parser/lexer_spec.ts index eba3bdf604..135575a4f2 100644 --- a/modules/@angular/compiler/test/expression_parser/lexer_spec.ts +++ b/modules/@angular/compiler/test/expression_parser/lexer_spec.ts @@ -246,3 +246,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/expression_parser/parser_spec.ts b/modules/@angular/compiler/test/expression_parser/parser_spec.ts index 8ac33093c1..1bbb81f131 100644 --- a/modules/@angular/compiler/test/expression_parser/parser_spec.ts +++ b/modules/@angular/compiler/test/expression_parser/parser_spec.ts @@ -11,7 +11,7 @@ import {Lexer} from '@angular/compiler/src/expression_parser/lexer'; import {Parser, TemplateBindingParseResult} from '@angular/compiler/src/expression_parser/parser'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {isBlank, isPresent} from '../../src/facade/lang'; +import {isBlank, isPresent} from '@angular/facade/src/lang'; import {unparse} from './unparser'; import {validate} from './validator'; @@ -541,3 +541,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/expression_parser/unparser.ts b/modules/@angular/compiler/test/expression_parser/unparser.ts index 6d1c835d9c..07f3d47656 100644 --- a/modules/@angular/compiler/test/expression_parser/unparser.ts +++ b/modules/@angular/compiler/test/expression_parser/unparser.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import {AST, AstVisitor, Binary, BindingPipe, Chain, Conditional, EmptyExpr, FunctionCall, ImplicitReceiver, Interpolation, KeyedRead, KeyedWrite, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, PrefixNot, PropertyRead, PropertyWrite, Quote, SafeMethodCall, SafePropertyRead} from '../../src/expression_parser/ast'; -import {StringWrapper, isPresent, isString} from '../../src/facade/lang'; -import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '../../src/ml_parser/interpolation_config'; +import {AST, AstVisitor, Binary, BindingPipe, Chain, Conditional, EmptyExpr, FunctionCall, ImplicitReceiver, Interpolation, KeyedRead, KeyedWrite, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, PrefixNot, PropertyRead, PropertyWrite, Quote, SafeMethodCall, SafePropertyRead} from '@angular/compiler/src/expression_parser/ast'; +import {StringWrapper, isPresent, isString} from '@angular/facade/src/lang'; +import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '@angular/compiler/src/ml_parser/interpolation_config'; class Unparser implements AstVisitor { private static _quoteRegExp = /"/g; diff --git a/modules/@angular/compiler/test/expression_parser/validator.ts b/modules/@angular/compiler/test/expression_parser/validator.ts index e6e916db6b..1679940b7c 100644 --- a/modules/@angular/compiler/test/expression_parser/validator.ts +++ b/modules/@angular/compiler/test/expression_parser/validator.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {AST, Binary, BindingPipe, Chain, Conditional, EmptyExpr, FunctionCall, ImplicitReceiver, Interpolation, KeyedRead, KeyedWrite, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, ParseSpan, PrefixNot, PropertyRead, PropertyWrite, Quote, RecursiveAstVisitor, SafeMethodCall, SafePropertyRead} from '../../src/expression_parser/ast'; +import {AST, Binary, BindingPipe, Chain, Conditional, EmptyExpr, FunctionCall, ImplicitReceiver, Interpolation, KeyedRead, KeyedWrite, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, ParseSpan, PrefixNot, PropertyRead, PropertyWrite, Quote, RecursiveAstVisitor, SafeMethodCall, SafePropertyRead} from '@angular/compiler/src/expression_parser/ast'; import {unparse} from './unparser'; diff --git a/modules/@angular/compiler/test/i18n/digest_spec.ts b/modules/@angular/compiler/test/i18n/digest_spec.ts index 08e45480a6..f52e791594 100644 --- a/modules/@angular/compiler/test/i18n/digest_spec.ts +++ b/modules/@angular/compiler/test/i18n/digest_spec.ts @@ -8,7 +8,7 @@ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {sha1} from '../../src/i18n/digest'; +import {sha1} from '@angular/compiler/src/i18n/digest'; export function main(): void { describe('sha1', () => { @@ -56,3 +56,5 @@ export function main(): void { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/i18n/extractor_merger_spec.ts b/modules/@angular/compiler/test/i18n/extractor_merger_spec.ts index fc51c963a2..55c9bf2946 100644 --- a/modules/@angular/compiler/test/i18n/extractor_merger_spec.ts +++ b/modules/@angular/compiler/test/i18n/extractor_merger_spec.ts @@ -8,13 +8,13 @@ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {digestMessage, serializeNodes as serializeI18nNodes} from '../../src/i18n/digest'; -import {extractMessages, mergeTranslations} from '../../src/i18n/extractor_merger'; -import * as i18n from '../../src/i18n/i18n_ast'; -import {TranslationBundle} from '../../src/i18n/translation_bundle'; -import * as html from '../../src/ml_parser/ast'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../src/ml_parser/interpolation_config'; +import {digestMessage, serializeNodes as serializeI18nNodes} from '@angular/compiler/src/i18n/digest'; +import {extractMessages, mergeTranslations} from '@angular/compiler/src/i18n/extractor_merger'; +import * as i18n from '@angular/compiler/src/i18n/i18n_ast'; +import {TranslationBundle} from '@angular/compiler/src/i18n/translation_bundle'; +import * as html from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; import {serializeNodes as serializeHtmlNodes} from '../ml_parser/ast_serializer_spec'; export function main() { @@ -443,3 +443,5 @@ function extractErrors( return errors.map((e): [string, string] => [e.msg, e.span.toString()]); } + +main(); diff --git a/modules/@angular/compiler/test/i18n/i18n_parser_spec.ts b/modules/@angular/compiler/test/i18n/i18n_parser_spec.ts index 7a0063ed35..2233cd94d2 100644 --- a/modules/@angular/compiler/test/i18n/i18n_parser_spec.ts +++ b/modules/@angular/compiler/test/i18n/i18n_parser_spec.ts @@ -10,9 +10,9 @@ import {extractMessages} from '@angular/compiler/src/i18n/extractor_merger'; import {Message} from '@angular/compiler/src/i18n/i18n_ast'; import {ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; -import {serializeNodes} from '../../src/i18n/digest'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../src/ml_parser/interpolation_config'; +import {serializeNodes} from '@angular/compiler/src/i18n/digest'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; export function main() { describe('I18nParser', () => { @@ -332,3 +332,5 @@ function _extractMessages( parseResult.rootNodes, DEFAULT_INTERPOLATION_CONFIG, implicitTags, implicitAttrs) .messages; } + +main(); diff --git a/modules/@angular/compiler/test/i18n/integration_spec.ts b/modules/@angular/compiler/test/i18n/integration_spec.ts index 945b466bb4..2d54de0055 100644 --- a/modules/@angular/compiler/test/i18n/integration_spec.ts +++ b/modules/@angular/compiler/test/i18n/integration_spec.ts @@ -201,3 +201,5 @@ const XMB = ` it <b>should</b> work `; + +main(); diff --git a/modules/@angular/compiler/test/i18n/message_bundle_spec.ts b/modules/@angular/compiler/test/i18n/message_bundle_spec.ts index 2848bda17c..a98143c1c2 100644 --- a/modules/@angular/compiler/test/i18n/message_bundle_spec.ts +++ b/modules/@angular/compiler/test/i18n/message_bundle_spec.ts @@ -10,10 +10,10 @@ import * as i18n from '@angular/compiler/src/i18n/i18n_ast'; import {Serializer} from '@angular/compiler/src/i18n/serializers/serializer'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {serializeNodes} from '../../src/i18n/digest'; -import {MessageBundle} from '../../src/i18n/message_bundle'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../src/ml_parser/interpolation_config'; +import {serializeNodes} from '@angular/compiler/src/i18n/digest'; +import {MessageBundle} from '@angular/compiler/src/i18n/message_bundle'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; export function main(): void { describe('MessageBundle', () => { @@ -55,4 +55,5 @@ class _TestSerializer implements Serializer { function humanizeMessages(catalog: MessageBundle): string[] { return catalog.write(new _TestSerializer()).split('//'); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/compiler/test/i18n/serializers/placeholder_spec.ts b/modules/@angular/compiler/test/i18n/serializers/placeholder_spec.ts index 3d24f7a3d7..7ac89427ac 100644 --- a/modules/@angular/compiler/test/i18n/serializers/placeholder_spec.ts +++ b/modules/@angular/compiler/test/i18n/serializers/placeholder_spec.ts @@ -8,7 +8,7 @@ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {PlaceholderRegistry} from '../../../src/i18n/serializers/placeholder'; +import {PlaceholderRegistry} from '@angular/compiler/src/i18n/serializers/placeholder'; export function main(): void { describe('PlaceholderRegistry', () => { @@ -89,4 +89,5 @@ export function main(): void { }); }); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/compiler/test/i18n/serializers/xliff_spec.ts b/modules/@angular/compiler/test/i18n/serializers/xliff_spec.ts index 93457db3f0..b71477487c 100644 --- a/modules/@angular/compiler/test/i18n/serializers/xliff_spec.ts +++ b/modules/@angular/compiler/test/i18n/serializers/xliff_spec.ts @@ -8,9 +8,9 @@ import {Xliff} from '@angular/compiler/src/i18n/serializers/xliff'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {MessageBundle} from '../../../src/i18n/message_bundle'; -import {HtmlParser} from '../../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../../src/ml_parser/interpolation_config'; +import {MessageBundle} from '@angular/compiler/src/i18n/message_bundle'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; import {serializeNodes} from '../../ml_parser/ast_serializer_spec'; const HTML = ` @@ -107,4 +107,5 @@ export function main(): void { }); }); }); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/compiler/test/i18n/serializers/xmb_spec.ts b/modules/@angular/compiler/test/i18n/serializers/xmb_spec.ts index 817351737c..f16ed7459e 100644 --- a/modules/@angular/compiler/test/i18n/serializers/xmb_spec.ts +++ b/modules/@angular/compiler/test/i18n/serializers/xmb_spec.ts @@ -9,9 +9,9 @@ import {Xmb} from '@angular/compiler/src/i18n/serializers/xmb'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {MessageBundle} from '../../../src/i18n/message_bundle'; -import {HtmlParser} from '../../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../../src/ml_parser/interpolation_config'; +import {MessageBundle} from '@angular/compiler/src/i18n/message_bundle'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; export function main(): void { describe('XMB serializer', () => { @@ -70,3 +70,5 @@ function toXmb(html: string): string { return catalog.write(serializer); } + +main(); diff --git a/modules/@angular/compiler/test/i18n/serializers/xml_helper_spec.ts b/modules/@angular/compiler/test/i18n/serializers/xml_helper_spec.ts index 98972f05cf..bccb15e15d 100644 --- a/modules/@angular/compiler/test/i18n/serializers/xml_helper_spec.ts +++ b/modules/@angular/compiler/test/i18n/serializers/xml_helper_spec.ts @@ -8,7 +8,7 @@ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import * as xml from '../../../src/i18n/serializers/xml_helper'; +import * as xml from '@angular/compiler/src/i18n/serializers/xml_helper'; export function main(): void { describe('XML helper', () => { @@ -46,4 +46,5 @@ export function main(): void { }); }); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/compiler/test/i18n/serializers/xtb_spec.ts b/modules/@angular/compiler/test/i18n/serializers/xtb_spec.ts index 6511a3c2b3..c58be9a709 100644 --- a/modules/@angular/compiler/test/i18n/serializers/xtb_spec.ts +++ b/modules/@angular/compiler/test/i18n/serializers/xtb_spec.ts @@ -6,13 +6,13 @@ * found in the LICENSE file at https://angular.io/license */ -import {escapeRegExp} from '@angular/core/src/facade/lang'; +import {escapeRegExp} from '@angular/facade/src/lang'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {MessageBundle} from '../../../src/i18n/message_bundle'; -import {Xtb} from '../../../src/i18n/serializers/xtb'; -import {HtmlParser} from '../../../src/ml_parser/html_parser'; -import {DEFAULT_INTERPOLATION_CONFIG} from '../../../src/ml_parser/interpolation_config'; +import {MessageBundle} from '@angular/compiler/src/i18n/message_bundle'; +import {Xtb} from '@angular/compiler/src/i18n/serializers/xtb'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {DEFAULT_INTERPOLATION_CONFIG} from '@angular/compiler/src/ml_parser/interpolation_config'; import {serializeNodes} from '../../ml_parser/ast_serializer_spec'; export function main(): void { @@ -191,4 +191,5 @@ export function main(): void { it('should throw when trying to save an xtb file', () => { expect(() => { serializer.write({}); }).toThrowError(/Unsupported/); }); }); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/compiler/test/metadata_overrider_spec.ts b/modules/@angular/compiler/test/metadata_overrider_spec.ts index 4d6ca8ca28..10fb0c8daf 100644 --- a/modules/@angular/compiler/test/metadata_overrider_spec.ts +++ b/modules/@angular/compiler/test/metadata_overrider_spec.ts @@ -7,7 +7,7 @@ */ import {expect} from '@angular/platform-browser/testing/matchers'; -import {MetadataOverrider} from '../testing/metadata_overrider'; +import {MetadataOverrider} from '@angular/compiler/testing/metadata_overrider'; interface SomeMetadataType { plainProp?: string; @@ -150,3 +150,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/metadata_resolver_spec.ts b/modules/@angular/compiler/test/metadata_resolver_spec.ts index 70d50c9d92..96b0288687 100644 --- a/modules/@angular/compiler/test/metadata_resolver_spec.ts +++ b/modules/@angular/compiler/test/metadata_resolver_spec.ts @@ -11,8 +11,8 @@ import {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, import {LIFECYCLE_HOOKS_VALUES} from '@angular/core/src/metadata/lifecycle_hooks'; import {TestBed, inject} from '@angular/core/testing'; -import {stringify} from '../src/facade/lang'; -import {CompileMetadataResolver} from '../src/metadata_resolver'; +import {stringify} from '@angular/facade/src/lang'; +import {CompileMetadataResolver} from '@angular/compiler/src/metadata_resolver'; import {MalformedStylesComponent} from './metadata_resolver_fixture'; @@ -247,3 +247,5 @@ class ComponentWithInvalidInterpolation4 { @Component({selector: 'someSelector', template: '', interpolation: ['{', '}}']}) class ComponentWithInvalidInterpolation5 { } + +main(); diff --git a/modules/@angular/compiler/test/ml_parser/ast_serializer_spec.ts b/modules/@angular/compiler/test/ml_parser/ast_serializer_spec.ts index 4e5536f1da..d0547a2196 100644 --- a/modules/@angular/compiler/test/ml_parser/ast_serializer_spec.ts +++ b/modules/@angular/compiler/test/ml_parser/ast_serializer_spec.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import {beforeEach, ddescribe, describe, expect, it} from '../../../core/testing/testing_internal'; -import * as html from '../../src/ml_parser/ast'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; +import {beforeEach, ddescribe, describe, expect, it} from '@angular/core/testing/testing_internal'; +import * as html from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; export function main() { describe('Node serializer', () => { @@ -94,3 +94,5 @@ const serializerVisitor = new _SerializerVisitor(); export function serializeNodes(nodes: html.Node[]): string[] { return nodes.map(node => node.visit(serializerVisitor, null)); } + +main(); diff --git a/modules/@angular/compiler/test/ml_parser/ast_spec_utils.ts b/modules/@angular/compiler/test/ml_parser/ast_spec_utils.ts index 6a2657d940..d0586f5f1c 100644 --- a/modules/@angular/compiler/test/ml_parser/ast_spec_utils.ts +++ b/modules/@angular/compiler/test/ml_parser/ast_spec_utils.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import * as html from '../../src/ml_parser/ast'; -import {ParseTreeResult} from '../../src/ml_parser/html_parser'; -import {ParseLocation} from '../../src/parse_util'; +import * as html from '@angular/compiler/src/ml_parser/ast'; +import {ParseTreeResult} from '@angular/compiler/src/ml_parser/html_parser'; +import {ParseLocation} from '@angular/compiler/src/parse_util'; export function humanizeDom(parseResult: ParseTreeResult, addSourceSpan: boolean = false): any[] { if (parseResult.errors.length > 0) { diff --git a/modules/@angular/compiler/test/ml_parser/html_parser_spec.ts b/modules/@angular/compiler/test/ml_parser/html_parser_spec.ts index 49bb0e2ce9..3249f2c251 100644 --- a/modules/@angular/compiler/test/ml_parser/html_parser_spec.ts +++ b/modules/@angular/compiler/test/ml_parser/html_parser_spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../../core/testing/testing_internal'; -import * as html from '../../src/ml_parser/ast'; -import {HtmlParser, ParseTreeResult, TreeError} from '../../src/ml_parser/html_parser'; -import {TokenType} from '../../src/ml_parser/lexer'; -import {ParseError} from '../../src/parse_util'; +import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; +import * as html from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser, ParseTreeResult, TreeError} from '@angular/compiler/src/ml_parser/html_parser'; +import {TokenType} from '@angular/compiler/src/ml_parser/lexer'; +import {ParseError} from '@angular/compiler/src/parse_util'; import {humanizeDom, humanizeDomSourceSpans, humanizeLineColumn} from './ast_spec_utils'; @@ -438,3 +438,5 @@ export function humanizeErrors(errors: ParseError[]): any[] { return [(e).tokenType, e.msg, humanizeLineColumn(e.span.start)]; }); } + +main(); diff --git a/modules/@angular/compiler/test/ml_parser/icu_ast_expander_spec.ts b/modules/@angular/compiler/test/ml_parser/icu_ast_expander_spec.ts index ee1126ccba..319633630c 100644 --- a/modules/@angular/compiler/test/ml_parser/icu_ast_expander_spec.ts +++ b/modules/@angular/compiler/test/ml_parser/icu_ast_expander_spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {ddescribe, describe, expect, iit, it} from '../../../core/testing/testing_internal'; -import * as html from '../../src/ml_parser/ast'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; -import {ExpansionResult, expandNodes} from '../../src/ml_parser/icu_ast_expander'; -import {ParseError} from '../../src/parse_util'; +import {ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; +import * as html from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {ExpansionResult, expandNodes} from '@angular/compiler/src/ml_parser/icu_ast_expander'; +import {ParseError} from '@angular/compiler/src/parse_util'; import {humanizeNodes} from './ast_spec_utils'; @@ -106,3 +106,5 @@ export function main() { function humanizeErrors(errors: ParseError[]): string[] { return errors.map(error => error.msg); } + +main(); diff --git a/modules/@angular/compiler/test/ml_parser/lexer_spec.ts b/modules/@angular/compiler/test/ml_parser/lexer_spec.ts index c0910886bd..a3b58acf91 100644 --- a/modules/@angular/compiler/test/ml_parser/lexer_spec.ts +++ b/modules/@angular/compiler/test/ml_parser/lexer_spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../../core/testing/testing_internal'; -import {getHtmlTagDefinition} from '../../src/ml_parser/html_tags'; -import {InterpolationConfig} from '../../src/ml_parser/interpolation_config'; -import * as lex from '../../src/ml_parser/lexer'; -import {ParseLocation, ParseSourceFile, ParseSourceSpan} from '../../src/parse_util'; +import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; +import {getHtmlTagDefinition} from '@angular/compiler/src/ml_parser/html_tags'; +import {InterpolationConfig} from '@angular/compiler/src/ml_parser/interpolation_config'; +import * as lex from '@angular/compiler/src/ml_parser/lexer'; +import {ParseLocation, ParseSourceFile, ParseSourceSpan} from '@angular/compiler/src/parse_util'; export function main() { describe('HtmlLexer', () => { @@ -801,3 +801,5 @@ function tokenizeAndHumanizeErrors(input: string, tokenizeExpansionForms: boolea return lex.tokenize(input, 'someUrl', getHtmlTagDefinition, tokenizeExpansionForms) .errors.map(e => [e.tokenType, e.msg, humanizeLineColumn(e.span.start)]); } + +main(); diff --git a/modules/@angular/compiler/test/ng_module_resolver_mock_spec.ts b/modules/@angular/compiler/test/ng_module_resolver_mock_spec.ts index 3929a28bd7..efd49001be 100644 --- a/modules/@angular/compiler/test/ng_module_resolver_mock_spec.ts +++ b/modules/@angular/compiler/test/ng_module_resolver_mock_spec.ts @@ -9,8 +9,8 @@ import {Injector, NgModule, NgModuleMetadata} from '@angular/core'; import {beforeEach, ddescribe, describe, expect, iit, inject, it} from '@angular/core/testing/testing_internal'; -import {isBlank, stringify} from '../src/facade/lang'; -import {MockNgModuleResolver} from '../testing'; +import {isBlank, stringify} from '@angular/facade/src/lang'; +import {MockNgModuleResolver} from '@angular/compiler/testing'; export function main() { describe('MockNgModuleResolver', () => { @@ -44,3 +44,5 @@ class SomeOtherDirective {} @NgModule({declarations: [SomeDirective]}) class SomeNgModule { } + +main(); diff --git a/modules/@angular/compiler/test/ng_module_resolver_spec.ts b/modules/@angular/compiler/test/ng_module_resolver_spec.ts index da6d230feb..f1fb89becc 100644 --- a/modules/@angular/compiler/test/ng_module_resolver_spec.ts +++ b/modules/@angular/compiler/test/ng_module_resolver_spec.ts @@ -8,7 +8,7 @@ import {NgModuleResolver} from '@angular/compiler/src/ng_module_resolver'; import {NgModule, NgModuleMetadata} from '@angular/core/src/metadata'; -import {stringify} from '../src/facade/lang'; +import {stringify} from '@angular/facade/src/lang'; class SomeClass1 {} class SomeClass2 {} @@ -51,3 +51,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/output/abstract_emitter_spec.ts b/modules/@angular/compiler/test/output/abstract_emitter_spec.ts index d64edde3c5..7d872afcaf 100644 --- a/modules/@angular/compiler/test/output/abstract_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/abstract_emitter_spec.ts @@ -31,3 +31,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/compiler/test/output/js_emitter_spec.ts b/modules/@angular/compiler/test/output/js_emitter_spec.ts index 4a9fbb15ef..3e2375336b 100644 --- a/modules/@angular/compiler/test/output/js_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/js_emitter_spec.ts @@ -11,7 +11,7 @@ import {JavaScriptEmitter} from '@angular/compiler/src/output/js_emitter'; import * as o from '@angular/compiler/src/output/output_ast'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {isBlank} from '../../src/facade/lang'; +import {isBlank} from '@angular/facade/src/lang'; import {SimpleJsImportGenerator} from './output_emitter_util'; @@ -279,3 +279,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts b/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts index 40512a0772..d1e76a677a 100644 --- a/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts +++ b/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts @@ -10,8 +10,8 @@ import * as o from '@angular/compiler/src/output/output_ast'; import {TypeScriptEmitter} from '@angular/compiler/src/output/ts_emitter'; -import {print} from '../../src/facade/lang'; -import {assetUrl} from '../../src/util'; +import {print} from '@angular/facade/src/lang'; +import {assetUrl} from '@angular/compiler/src/util'; function unimplemented(): any { throw new Error('unimplemented'); diff --git a/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts b/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts index 2e36343b30..5b777bd747 100644 --- a/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts +++ b/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts @@ -9,8 +9,8 @@ // ATTENTION: This file will be overwritten with generated code by main() import {JavaScriptEmitter} from '@angular/compiler/src/output/js_emitter'; -import {print} from '../../src/facade/lang'; -import {assetUrl} from '../../src/util'; +import {print} from '@angular/facade/src/lang'; +import {assetUrl} from '@angular/compiler/src/util'; import {SimpleJsImportGenerator, codegenExportsVars, codegenStmts} from './output_emitter_util'; diff --git a/modules/@angular/compiler/test/output/output_emitter_spec.ts b/modules/@angular/compiler/test/output/output_emitter_spec.ts index 186f1dc32f..76a13cb082 100644 --- a/modules/@angular/compiler/test/output/output_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/output_emitter_spec.ts @@ -192,3 +192,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/output/output_emitter_util.ts b/modules/@angular/compiler/test/output/output_emitter_util.ts index 170b733055..f260322920 100644 --- a/modules/@angular/compiler/test/output/output_emitter_util.ts +++ b/modules/@angular/compiler/test/output/output_emitter_util.ts @@ -11,7 +11,7 @@ import * as o from '@angular/compiler/src/output/output_ast'; import {ImportGenerator} from '@angular/compiler/src/output/path_util'; import {assetUrl} from '@angular/compiler/src/util'; import {EventEmitter} from '@angular/core'; -import {BaseError} from '@angular/core/src/facade/errors'; +import {BaseError} from '@angular/facade/src/errors'; import {ViewType} from '@angular/core/src/linker/view_type'; export class ExternalClass { diff --git a/modules/@angular/compiler/test/output/ts_emitter_spec.ts b/modules/@angular/compiler/test/output/ts_emitter_spec.ts index 1799af86d8..a112ed9dbf 100644 --- a/modules/@angular/compiler/test/output/ts_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/ts_emitter_spec.ts @@ -11,7 +11,7 @@ import * as o from '@angular/compiler/src/output/output_ast'; import {TypeScriptEmitter} from '@angular/compiler/src/output/ts_emitter'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {isBlank} from '../../src/facade/lang'; +import {isBlank} from '@angular/facade/src/lang'; import {SimpleJsImportGenerator} from './output_emitter_util'; @@ -328,3 +328,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/pipe_resolver_mock_spec.ts b/modules/@angular/compiler/test/pipe_resolver_mock_spec.ts index 03104cdd61..ae8dc4fe4a 100644 --- a/modules/@angular/compiler/test/pipe_resolver_mock_spec.ts +++ b/modules/@angular/compiler/test/pipe_resolver_mock_spec.ts @@ -9,8 +9,8 @@ import {Injector, Pipe, PipeMetadata} from '@angular/core'; import {beforeEach, ddescribe, describe, expect, iit, inject, it} from '@angular/core/testing/testing_internal'; -import {isBlank, stringify} from '../src/facade/lang'; -import {MockPipeResolver} from '../testing'; +import {isBlank, stringify} from '@angular/facade/src/lang'; +import {MockPipeResolver} from '@angular/compiler/testing'; export function main() { describe('MockPipeResolver', () => { @@ -37,3 +37,5 @@ export function main() { @Pipe({name: 'somePipe'}) class SomePipe { } + +main(); diff --git a/modules/@angular/compiler/test/resource_loader_mock_spec.ts b/modules/@angular/compiler/test/resource_loader_mock_spec.ts index 9c22276e07..046f3d727c 100644 --- a/modules/@angular/compiler/test/resource_loader_mock_spec.ts +++ b/modules/@angular/compiler/test/resource_loader_mock_spec.ts @@ -8,7 +8,7 @@ import {MockResourceLoader} from '@angular/compiler/testing/resource_loader_mock'; import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it} from '@angular/core/testing/testing_internal'; -import {isPresent} from '../src/facade/lang'; +import {isPresent} from '@angular/facade/src/lang'; export function main() { describe('MockResourceLoader', () => { @@ -113,3 +113,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/runtime_compiler_spec.ts b/modules/@angular/compiler/test/runtime_compiler_spec.ts index d48e09bb99..a3a9027a5c 100644 --- a/modules/@angular/compiler/test/runtime_compiler_spec.ts +++ b/modules/@angular/compiler/test/runtime_compiler_spec.ts @@ -13,8 +13,8 @@ import {ComponentFixture, TestBed, async, fakeAsync, getTestBed, tick} from '@an import {beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {ViewMetadata} from '../core_private'; -import {stringify} from '../src/facade/lang'; +import {ViewMetadata} from '@angular/compiler/core_private'; +import {stringify} from '@angular/facade/src/lang'; import {SpyResourceLoader} from './spies'; @@ -171,3 +171,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts b/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts index 968a391d06..dff56ebc96 100644 --- a/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts +++ b/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts @@ -11,8 +11,8 @@ import {CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, SecurityContext} from '@angula import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {Element} from '../../src/ml_parser/ast'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; +import {Element} from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; import {extractSchema} from './schema_extractor'; @@ -115,3 +115,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/compiler/test/schema/schema_extractor.ts b/modules/@angular/compiler/test/schema/schema_extractor.ts index 07d79ff75e..9d624f27ba 100644 --- a/modules/@angular/compiler/test/schema/schema_extractor.ts +++ b/modules/@angular/compiler/test/schema/schema_extractor.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {isPresent, isString} from '../../src/facade/lang'; +import {isPresent, isString} from '@angular/facade/src/lang'; const SVG_PREFIX = ':svg:'; diff --git a/modules/@angular/compiler/test/selector_spec.ts b/modules/@angular/compiler/test/selector_spec.ts index 20eb0cb25b..2df4f1ca2b 100644 --- a/modules/@angular/compiler/test/selector_spec.ts +++ b/modules/@angular/compiler/test/selector_spec.ts @@ -378,3 +378,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/shadow_css_spec.ts b/modules/@angular/compiler/test/shadow_css_spec.ts index a88c09c3a4..751a520107 100644 --- a/modules/@angular/compiler/test/shadow_css_spec.ts +++ b/modules/@angular/compiler/test/shadow_css_spec.ts @@ -10,7 +10,7 @@ import {CssRule, ShadowCss, processRules} from '@angular/compiler/src/shadow_css import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; import {normalizeCSS} from '@angular/platform-browser/testing/browser_util'; -import {StringWrapper, isPresent} from '../src/facade/lang'; +import {StringWrapper, isPresent} from '@angular/facade/src/lang'; export function main() { describe('ShadowCss', function() { @@ -241,3 +241,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/style_url_resolver_spec.ts b/modules/@angular/compiler/test/style_url_resolver_spec.ts index 0e4a988534..fe7bb8e006 100644 --- a/modules/@angular/compiler/test/style_url_resolver_spec.ts +++ b/modules/@angular/compiler/test/style_url_resolver_spec.ts @@ -114,3 +114,5 @@ class FakeUrlResolver extends UrlResolver { resolve(baseUrl: string, url: string): string { return 'fake_resolved_url'; } } + +main(); diff --git a/modules/@angular/compiler/test/template_parser/template_parser_spec.ts b/modules/@angular/compiler/test/template_parser/template_parser_spec.ts index ef0ebaec41..047bbd4441 100644 --- a/modules/@angular/compiler/test/template_parser/template_parser_spec.ts +++ b/modules/@angular/compiler/test/template_parser/template_parser_spec.ts @@ -18,8 +18,8 @@ import {Console} from '@angular/core/src/console'; import {TestBed} from '@angular/core/testing'; import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {Identifiers, identifierToken} from '../../src/identifiers'; -import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '../../src/ml_parser/interpolation_config'; +import {Identifiers, identifierToken} from '@angular/compiler/src/identifiers'; +import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '@angular/compiler/src/ml_parser/interpolation_config'; import {unparse} from '../expression_parser/unparser'; var someModuleUrl = 'package:someModule'; @@ -1739,3 +1739,5 @@ class ArrayConsole implements Console { log(msg: string) { this.logs.push(msg); } warn(msg: string) { this.warnings.push(msg); } } + +main(); diff --git a/modules/@angular/compiler/test/template_parser/template_preparser_spec.ts b/modules/@angular/compiler/test/template_parser/template_preparser_spec.ts index f2abcb7134..abe4543c31 100644 --- a/modules/@angular/compiler/test/template_parser/template_preparser_spec.ts +++ b/modules/@angular/compiler/test/template_parser/template_preparser_spec.ts @@ -6,10 +6,10 @@ * found in the LICENSE file at https://angular.io/license */ -import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../../core/testing/testing_internal'; -import {Element} from '../../src/ml_parser/ast'; -import {HtmlParser} from '../../src/ml_parser/html_parser'; -import {PreparsedElement, PreparsedElementType, preparseElement} from '../../src/template_parser/template_preparser'; +import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; +import {Element} from '@angular/compiler/src/ml_parser/ast'; +import {HtmlParser} from '@angular/compiler/src/ml_parser/html_parser'; +import {PreparsedElement, PreparsedElementType, preparseElement} from '@angular/compiler/src/template_parser/template_preparser'; export function main() { describe('preparseElement', () => { @@ -50,3 +50,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/url_resolver_spec.ts b/modules/@angular/compiler/test/url_resolver_spec.ts index befe6ccb61..a2d27f9c72 100644 --- a/modules/@angular/compiler/test/url_resolver_spec.ts +++ b/modules/@angular/compiler/test/url_resolver_spec.ts @@ -125,3 +125,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/compiler/test/util_spec.ts b/modules/@angular/compiler/test/util_spec.ts index 9885b4a77e..0813d833f5 100644 --- a/modules/@angular/compiler/test/util_spec.ts +++ b/modules/@angular/compiler/test/util_spec.ts @@ -9,7 +9,7 @@ import {fakeAsync} from '@angular/core/testing/fake_async'; import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {SyncAsyncResult, splitAtColon} from '../src/util'; +import {SyncAsyncResult, splitAtColon} from '@angular/compiler/src/util'; export function main() { describe('util', () => { @@ -38,3 +38,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/animation/active_animations_players_map_spec.ts b/modules/@angular/core/test/animation/active_animations_players_map_spec.ts index 627953267f..d9fb05bf54 100644 --- a/modules/@angular/core/test/animation/active_animations_players_map_spec.ts +++ b/modules/@angular/core/test/animation/active_animations_players_map_spec.ts @@ -9,11 +9,11 @@ import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {el} from '@angular/platform-browser/testing/browser_util'; -import {ViewAnimationMap} from '../../src/animation/view_animation_map'; -import {isPresent} from '../../src/facade/lang'; -import {fakeAsync, flushMicrotasks} from '../../testing'; -import {MockAnimationPlayer} from '../../testing/mock_animation_player'; -import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; +import {ViewAnimationMap} from '@angular/core/src/animation/view_animation_map'; +import {isPresent} from '@angular/facade/src/lang'; +import {fakeAsync, flushMicrotasks} from '@angular/core/testing'; +import {MockAnimationPlayer} from '@angular/core/testing/mock_animation_player'; +import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('ActiveAnimationsPlayersMap', function() { @@ -72,3 +72,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/animation/animation_group_player_spec.ts b/modules/@angular/core/test/animation/animation_group_player_spec.ts index 8bc8ff8074..d608abb0c9 100644 --- a/modules/@angular/core/test/animation/animation_group_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_group_player_spec.ts @@ -6,10 +6,10 @@ * found in the LICENSE file at https://angular.io/license */ -import {AnimationGroupPlayer} from '../../src/animation/animation_group_player'; -import {fakeAsync, flushMicrotasks} from '../../testing'; -import {MockAnimationPlayer} from '../../testing/mock_animation_player'; -import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; +import {AnimationGroupPlayer} from '@angular/core/src/animation/animation_group_player'; +import {fakeAsync, flushMicrotasks} from '@angular/core/testing'; +import {MockAnimationPlayer} from '@angular/core/testing/mock_animation_player'; +import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('AnimationGroupPlayer', function() { @@ -195,3 +195,5 @@ export function main() { })); }); } + +main(); diff --git a/modules/@angular/core/test/animation/animation_integration_spec.ts b/modules/@angular/core/test/animation/animation_integration_spec.ts index 5dfdb7eeea..2f2d611342 100644 --- a/modules/@angular/core/test/animation/animation_integration_spec.ts +++ b/modules/@angular/core/test/animation/animation_integration_spec.ts @@ -11,16 +11,16 @@ import {AnimationDriver} from '@angular/platform-browser/src/dom/animation_drive import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {MockAnimationDriver} from '@angular/platform-browser/testing/mock_animation_driver'; -import {Component} from '../../index'; -import {DEFAULT_STATE} from '../../src/animation/animation_constants'; -import {AnimationKeyframe} from '../../src/animation/animation_keyframe'; -import {AnimationPlayer} from '../../src/animation/animation_player'; -import {AnimationStyles} from '../../src/animation/animation_styles'; -import {AnimationTransitionEvent} from '../../src/animation/animation_transition_event'; -import {AUTO_STYLE, animate, group, keyframes, sequence, state, style, transition, trigger} from '../../src/animation/metadata'; -import {isPresent} from '../../src/facade/lang'; -import {TestBed, fakeAsync, flushMicrotasks} from '../../testing'; -import {MockAnimationPlayer} from '../../testing/mock_animation_player'; +import {Component} from '@angular/core/index'; +import {DEFAULT_STATE} from '@angular/core/src/animation/animation_constants'; +import {AnimationKeyframe} from '@angular/core/src/animation/animation_keyframe'; +import {AnimationPlayer} from '@angular/core/src/animation/animation_player'; +import {AnimationStyles} from '@angular/core/src/animation/animation_styles'; +import {AnimationTransitionEvent} from '@angular/core/src/animation/animation_transition_event'; +import {AUTO_STYLE, animate, group, keyframes, sequence, state, style, transition, trigger} from '@angular/core/src/animation/metadata'; +import {isPresent} from '@angular/facade/src/lang'; +import {TestBed, fakeAsync, flushMicrotasks} from '@angular/core/testing'; +import {MockAnimationPlayer} from '@angular/core/testing/mock_animation_player'; export function main() { describe('jit', () => { declareTests({useJit: true}); }); @@ -1716,3 +1716,5 @@ class BrokenDummyLoadingCmp { exp = false; callback = () => {}; } + +main(); diff --git a/modules/@angular/core/test/animation/animation_player_spec.ts b/modules/@angular/core/test/animation/animation_player_spec.ts index 227ff6e7e2..d2b5a198fc 100644 --- a/modules/@angular/core/test/animation/animation_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_player_spec.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import {AnimationPlayer, NoOpAnimationPlayer} from '../../src/animation/animation_player'; -import {fakeAsync, flushMicrotasks} from '../../testing'; -import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; +import {AnimationPlayer, NoOpAnimationPlayer} from '@angular/core/src/animation/animation_player'; +import {fakeAsync, flushMicrotasks} from '@angular/core/testing'; +import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('NoOpAnimationPlayer', function() { @@ -43,3 +43,5 @@ export function main() { })); }); } + +main(); diff --git a/modules/@angular/core/test/animation/animation_sequence_player_spec.ts b/modules/@angular/core/test/animation/animation_sequence_player_spec.ts index 841b61792f..b6852066bd 100644 --- a/modules/@angular/core/test/animation/animation_sequence_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_sequence_player_spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {AnimationSequencePlayer} from '../../src/animation/animation_sequence_player'; -import {isPresent} from '../../src/facade/lang'; -import {fakeAsync, flushMicrotasks} from '../../testing'; -import {MockAnimationPlayer} from '../../testing/mock_animation_player'; -import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; +import {AnimationSequencePlayer} from '@angular/core/src/animation/animation_sequence_player'; +import {isPresent} from '@angular/facade/src/lang'; +import {fakeAsync, flushMicrotasks} from '@angular/core/testing'; +import {MockAnimationPlayer} from '@angular/core/testing/mock_animation_player'; +import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('AnimationSequencePlayer', function() { @@ -218,3 +218,5 @@ export function main() { })); }); } + +main(); diff --git a/modules/@angular/core/test/animation/animation_style_util_spec.ts b/modules/@angular/core/test/animation/animation_style_util_spec.ts index a6af0bd914..3ea9e6de03 100644 --- a/modules/@angular/core/test/animation/animation_style_util_spec.ts +++ b/modules/@angular/core/test/animation/animation_style_util_spec.ts @@ -6,12 +6,12 @@ * found in the LICENSE file at https://angular.io/license */ -import {FILL_STYLE_FLAG} from '../../src/animation/animation_constants'; -import {AnimationKeyframe} from '../../src/animation/animation_keyframe'; -import * as animationUtils from '../../src/animation/animation_style_util'; -import {AnimationStyles} from '../../src/animation/animation_styles'; -import {AUTO_STYLE} from '../../src/animation/metadata'; -import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; +import {FILL_STYLE_FLAG} from '@angular/core/src/animation/animation_constants'; +import {AnimationKeyframe} from '@angular/core/src/animation/animation_keyframe'; +import * as animationUtils from '@angular/core/src/animation/animation_style_util'; +import {AnimationStyles} from '@angular/core/src/animation/animation_styles'; +import {AUTO_STYLE} from '@angular/core/src/animation/metadata'; +import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('Animation Style Utils', function() { @@ -145,3 +145,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/application_init_spec.ts b/modules/@angular/core/test/application_init_spec.ts index baa7bb2fae..78ce4b2860 100644 --- a/modules/@angular/core/test/application_init_spec.ts +++ b/modules/@angular/core/test/application_init_spec.ts @@ -5,8 +5,8 @@ * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ -import {APP_INITIALIZER, ApplicationInitStatus} from '../src/application_init'; -import {TestBed, async, inject, withModule} from '../testing'; +import {APP_INITIALIZER, ApplicationInitStatus} from '@angular/core/src/application_init'; +import {TestBed, async, inject, withModule} from '@angular/core/testing'; export function main() { describe('ApplicationInitStatus', () => { @@ -49,3 +49,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/application_module_spec.ts b/modules/@angular/core/test/application_module_spec.ts index 80f69a96e3..7d5b443b24 100644 --- a/modules/@angular/core/test/application_module_spec.ts +++ b/modules/@angular/core/test/application_module_spec.ts @@ -7,11 +7,12 @@ */ import {LOCALE_ID} from '@angular/core'; -import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../testing/testing_internal'; +import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('Application module', () => { it('should set the default locale to "en-US"', inject([LOCALE_ID], (defaultLocale: string) => { expect(defaultLocale).toEqual('en-US'); })); }); -} \ No newline at end of file +} +main(); diff --git a/modules/@angular/core/test/application_ref_spec.ts b/modules/@angular/core/test/application_ref_spec.ts index bdee2aa41c..e872f23bb1 100644 --- a/modules/@angular/core/test/application_ref_spec.ts +++ b/modules/@angular/core/test/application_ref_spec.ts @@ -15,7 +15,7 @@ import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {DOCUMENT} from '@angular/platform-browser/src/dom/dom_tokens'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {TestBed, async, inject, withModule} from '../testing'; +import {TestBed, async, inject, withModule} from '@angular/core/testing'; import {SpyChangeDetectorRef} from './spies'; @@ -270,3 +270,5 @@ class MockConsole { log(s: any): void { this.res.push(s); } error(s: any): void { this.res.push(s); } } + +main(); diff --git a/modules/@angular/core/test/change_detection/change_detector_util_spec.ts b/modules/@angular/core/test/change_detection/change_detector_util_spec.ts index 7d2f8f83ba..107e8d81ed 100644 --- a/modules/@angular/core/test/change_detection/change_detector_util_spec.ts +++ b/modules/@angular/core/test/change_detection/change_detector_util_spec.ts @@ -55,3 +55,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts b/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts index b34d7e4c73..a3ef3a7139 100644 --- a/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts @@ -9,8 +9,8 @@ import {DefaultIterableDiffer, DefaultIterableDifferFactory} from '@angular/core/src/change_detection/differs/default_iterable_differ'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; -import {ListWrapper} from '../../../src/facade/collection'; -import {NumberWrapper} from '../../../src/facade/lang'; +import {ListWrapper} from '@angular/facade/src/collection'; +import {NumberWrapper} from '@angular/facade/src/lang'; import {TestIterable} from '../../change_detection/iterable'; import {iterableChangesAsString} from '../../change_detection/util'; @@ -595,3 +595,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts b/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts index 5054d107fb..e74b7046b6 100644 --- a/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts @@ -227,3 +227,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts b/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts index d9c86f2192..bd89eaedf5 100644 --- a/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts @@ -69,3 +69,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/change_detection/iterable.ts b/modules/@angular/core/test/change_detection/iterable.ts index 33385ba3e3..0b42b0cc60 100644 --- a/modules/@angular/core/test/change_detection/iterable.ts +++ b/modules/@angular/core/test/change_detection/iterable.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {getSymbolIterator} from '../../src/facade/lang'; +import {getSymbolIterator} from '@angular/facade/src/lang'; export class TestIterable { list: number[]; diff --git a/modules/@angular/core/test/change_detection/util.ts b/modules/@angular/core/test/change_detection/util.ts index c190a397ae..4d4dc93397 100644 --- a/modules/@angular/core/test/change_detection/util.ts +++ b/modules/@angular/core/test/change_detection/util.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {isBlank} from '../../src/facade/lang'; +import {isBlank} from '@angular/facade/src/lang'; export function iterableChangesAsString( {collection = [] as any, previous = [] as any, additions = [] as any, moves = [] as any, diff --git a/modules/@angular/core/test/component_fixture_spec.ts b/modules/@angular/core/test/component_fixture_spec.ts index 34fb223fea..5200510270 100644 --- a/modules/@angular/core/test/component_fixture_spec.ts +++ b/modules/@angular/core/test/component_fixture_spec.ts @@ -322,3 +322,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/core/test/debug/debug_node_spec.ts b/modules/@angular/core/test/debug/debug_node_spec.ts index 02e7adf886..2d3ad1153e 100644 --- a/modules/@angular/core/test/debug/debug_node_spec.ts +++ b/modules/@angular/core/test/debug/debug_node_spec.ts @@ -14,7 +14,7 @@ import {By} from '@angular/platform-browser/src/dom/debug/by'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {EventEmitter} from '../../src/facade/async'; +import {EventEmitter} from '@angular/facade/src/async'; @Injectable() class Logger { @@ -358,3 +358,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/dev_mode_spec.ts b/modules/@angular/core/test/dev_mode_spec.ts index d94170b63e..2379cca2bf 100644 --- a/modules/@angular/core/test/dev_mode_spec.ts +++ b/modules/@angular/core/test/dev_mode_spec.ts @@ -13,3 +13,5 @@ export function main() { it('is enabled in our tests by default', () => { expect(isDevMode()).toBe(true); }); }); } + +main(); diff --git a/modules/@angular/core/test/di/forward_ref_spec.ts b/modules/@angular/core/test/di/forward_ref_spec.ts index e97be6bb39..2498a69063 100644 --- a/modules/@angular/core/test/di/forward_ref_spec.ts +++ b/modules/@angular/core/test/di/forward_ref_spec.ts @@ -19,3 +19,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/di/injector_spec.ts b/modules/@angular/core/test/di/injector_spec.ts index 7d6e7e955f..de32c6e930 100644 --- a/modules/@angular/core/test/di/injector_spec.ts +++ b/modules/@angular/core/test/di/injector_spec.ts @@ -25,3 +25,5 @@ export function main() { () => { expect(Injector.NULL.get('someToken', 'notFound')).toEqual('notFound'); }); }); } + +main(); diff --git a/modules/@angular/core/test/di/reflective_injector_spec.ts b/modules/@angular/core/test/di/reflective_injector_spec.ts index 15615d15f0..a8bdeccdb9 100644 --- a/modules/@angular/core/test/di/reflective_injector_spec.ts +++ b/modules/@angular/core/test/di/reflective_injector_spec.ts @@ -12,7 +12,7 @@ import {ReflectiveInjectorDynamicStrategy, ReflectiveInjectorInlineStrategy, Ref import {ResolvedReflectiveProvider_} from '@angular/core/src/di/reflective_provider'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {isBlank, isPresent, stringify} from '../../src/facade/lang'; +import {isBlank, isPresent, stringify} from '@angular/facade/src/lang'; class CustomDependencyMetadata extends DependencyMetadata {} @@ -588,3 +588,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/di/reflective_key_spec.ts b/modules/@angular/core/test/di/reflective_key_spec.ts index da3bcda5d5..b5402cf88a 100644 --- a/modules/@angular/core/test/di/reflective_key_spec.ts +++ b/modules/@angular/core/test/di/reflective_key_spec.ts @@ -25,3 +25,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/core/test/directive_lifecycle_integration_spec.ts b/modules/@angular/core/test/directive_lifecycle_integration_spec.ts index a38d7f2710..2e48069596 100644 --- a/modules/@angular/core/test/directive_lifecycle_integration_spec.ts +++ b/modules/@angular/core/test/directive_lifecycle_integration_spec.ts @@ -84,3 +84,5 @@ class LifecycleCmp implements OnChanges, @Component({selector: 'my-comp'}) class MyComp5 { } + +main(); diff --git a/modules/@angular/core/test/dom/dom_adapter_spec.ts b/modules/@angular/core/test/dom/dom_adapter_spec.ts index 8e3390cd92..272d4bc661 100644 --- a/modules/@angular/core/test/dom/dom_adapter_spec.ts +++ b/modules/@angular/core/test/dom/dom_adapter_spec.ts @@ -101,3 +101,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/core/test/dom/shim_spec.ts b/modules/@angular/core/test/dom/shim_spec.ts index 552e4d12a3..b7d86f23b5 100644 --- a/modules/@angular/core/test/dom/shim_spec.ts +++ b/modules/@angular/core/test/dom/shim_spec.ts @@ -25,3 +25,5 @@ export function main() { function identity(a: any /** TODO #9100 */) { return a; } + +main(); diff --git a/modules/@angular/core/test/error_handler_spec.ts b/modules/@angular/core/test/error_handler_spec.ts index fc207c1073..211411e540 100644 --- a/modules/@angular/core/test/error_handler_spec.ts +++ b/modules/@angular/core/test/error_handler_spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {WrappedError} from '@angular/core/src/facade/errors'; +import {WrappedError} from '@angular/facade/src/errors'; import {DebugContext} from '@angular/core/src/linker/debug_context'; import {ViewWrappedError} from '@angular/core/src/linker/errors'; -import {ErrorHandler} from '../src/error_handler'; +import {ErrorHandler} from '@angular/core/src/error_handler'; class MockConsole { res: any[] = []; @@ -99,3 +99,5 @@ Context`); }); }); } + +main(); diff --git a/modules/@angular/core/test/facade/observable_spec.ts b/modules/@angular/core/test/facade/observable_spec.ts index 122ce63a30..20f071bb58 100644 --- a/modules/@angular/core/test/facade/observable_spec.ts +++ b/modules/@angular/core/test/facade/observable_spec.ts @@ -8,7 +8,7 @@ import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {Observable} from '../../src/facade/async'; +import {Observable} from '@angular/facade/src/async'; export function main() { describe('Observable', () => { @@ -62,3 +62,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/fake_async_spec.ts b/modules/@angular/core/test/fake_async_spec.ts index 1358247ad3..1517870229 100644 --- a/modules/@angular/core/test/fake_async_spec.ts +++ b/modules/@angular/core/test/fake_async_spec.ts @@ -10,7 +10,7 @@ import {discardPeriodicTasks, fakeAsync, flushMicrotasks, tick} from '@angular/c import {Log, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {Parser} from '../../compiler/src/expression_parser/parser'; +import {Parser} from '@angular/compiler/src/expression_parser/parser'; const resolvedPromise = Promise.resolve(null); const ProxyZoneSpec: {assertPresent: () => void} = (Zone as any)['ProxyZoneSpec']; @@ -316,3 +316,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/forward_ref_integration_spec.ts b/modules/@angular/core/test/forward_ref_integration_spec.ts index 97d6c36404..8d96369a69 100644 --- a/modules/@angular/core/test/forward_ref_integration_spec.ts +++ b/modules/@angular/core/test/forward_ref_integration_spec.ts @@ -64,3 +64,5 @@ class ModuleFrame { class Lock { name: string = 'lock'; } + +main(); diff --git a/modules/@angular/core/test/linker/change_detection_integration_spec.ts b/modules/@angular/core/test/linker/change_detection_integration_spec.ts index c8fb952d67..abb180c5ef 100644 --- a/modules/@angular/core/test/linker/change_detection_integration_spec.ts +++ b/modules/@angular/core/test/linker/change_detection_integration_spec.ts @@ -16,9 +16,9 @@ import {By} from '@angular/platform-browser/src/dom/debug/by'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {DomRootRenderer} from '@angular/platform-browser/src/dom/dom_renderer'; -import {EventEmitter} from '../../src/facade/async'; -import {StringMapWrapper} from '../../src/facade/collection'; -import {NumberWrapper, isBlank} from '../../src/facade/lang'; +import {EventEmitter} from '@angular/facade/src/async'; +import {StringMapWrapper} from '@angular/facade/src/collection'; +import {NumberWrapper, isBlank} from '@angular/facade/src/lang'; export function main() { let elSchema: MockSchemaRegistry; @@ -1522,3 +1522,5 @@ class PersonHolder extends Holder { @Component({selector: 'root', template: 'empty'}) class PersonHolderHolder extends Holder> { } + +main(); diff --git a/modules/@angular/core/test/linker/entry_components_integration_spec.ts b/modules/@angular/core/test/linker/entry_components_integration_spec.ts index 9c7a9b76e1..3428a557c5 100644 --- a/modules/@angular/core/test/linker/entry_components_integration_spec.ts +++ b/modules/@angular/core/test/linker/entry_components_integration_spec.ts @@ -10,7 +10,7 @@ import {ANALYZE_FOR_ENTRY_COMPONENTS, Component, ComponentFactoryResolver, forwa import {NoComponentFactoryError} from '@angular/core/src/linker/component_factory_resolver'; import {TestBed} from '@angular/core/testing'; -import {Console} from '../../src/console'; +import {Console} from '@angular/core/src/console'; export function main() { @@ -116,3 +116,5 @@ class MainComp { }) class CompWithAnalyzeEntryComponentsProvider { } + +main(); diff --git a/modules/@angular/core/test/linker/integration_spec.ts b/modules/@angular/core/test/linker/integration_spec.ts index cd36841e15..b9ef3da6bd 100644 --- a/modules/@angular/core/test/linker/integration_spec.ts +++ b/modules/@angular/core/test/linker/integration_spec.ts @@ -22,8 +22,8 @@ import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {dispatchEvent, el} from '@angular/platform-browser/testing/browser_util'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {EventEmitter} from '../../src/facade/async'; -import {isBlank, isPresent, stringify} from '../../src/facade/lang'; +import {EventEmitter} from '@angular/facade/src/async'; +import {isBlank, isPresent, stringify} from '@angular/facade/src/lang'; const ANCHOR_ELEMENT = new OpaqueToken('AnchorElement'); @@ -2119,3 +2119,5 @@ class DirectiveWithPropDecorators { class SomeCmp { value: any; } + +main(); diff --git a/modules/@angular/core/test/linker/ng_container_integration_spec.ts b/modules/@angular/core/test/linker/ng_container_integration_spec.ts index 6c947ce5b1..ee186cc14b 100644 --- a/modules/@angular/core/test/linker/ng_container_integration_spec.ts +++ b/modules/@angular/core/test/linker/ng_container_integration_spec.ts @@ -177,3 +177,5 @@ class Simple { class MyComp { ctxBoolProp: boolean = false; } + +main(); diff --git a/modules/@angular/core/test/linker/ng_module_integration_spec.ts b/modules/@angular/core/test/linker/ng_module_integration_spec.ts index 6c1fc80a0a..9e69610f18 100644 --- a/modules/@angular/core/test/linker/ng_module_integration_spec.ts +++ b/modules/@angular/core/test/linker/ng_module_integration_spec.ts @@ -11,8 +11,8 @@ import {Console} from '@angular/core/src/console'; import {ComponentFixture, TestBed, inject} from '@angular/core/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {stringify} from '../../src/facade/lang'; -import {NgModuleInjector} from '../../src/linker/ng_module_factory'; +import {stringify} from '@angular/facade/src/lang'; +import {NgModuleInjector} from '@angular/core/src/linker/ng_module_factory'; class Engine {} @@ -1127,3 +1127,5 @@ function declareTests({useJit}: {useJit: boolean}) { }); }); } + +main(); diff --git a/modules/@angular/core/test/linker/projection_integration_spec.ts b/modules/@angular/core/test/linker/projection_integration_spec.ts index d6da817797..3ae9e45b39 100644 --- a/modules/@angular/core/test/linker/projection_integration_spec.ts +++ b/modules/@angular/core/test/linker/projection_integration_spec.ts @@ -708,3 +708,5 @@ class CmpA1 { }) class CmpA2 { } + +main(); diff --git a/modules/@angular/core/test/linker/query_integration_spec.ts b/modules/@angular/core/test/linker/query_integration_spec.ts index 16b6e4d224..8c0272fe9e 100644 --- a/modules/@angular/core/test/linker/query_integration_spec.ts +++ b/modules/@angular/core/test/linker/query_integration_spec.ts @@ -10,7 +10,7 @@ import {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, import {TestBed, async} from '@angular/core/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {isPresent, stringify} from '../../src/facade/lang'; +import {isPresent, stringify} from '@angular/facade/src/lang'; export function main() { describe('Query API', () => { @@ -890,3 +890,5 @@ class MyComp0 { @Component({selector: 'my-comp', template: ''}) class MyCompBroken0 { } + +main(); diff --git a/modules/@angular/core/test/linker/query_list_spec.ts b/modules/@angular/core/test/linker/query_list_spec.ts index 667a5d2cce..5c7eb0db09 100644 --- a/modules/@angular/core/test/linker/query_list_spec.ts +++ b/modules/@angular/core/test/linker/query_list_spec.ts @@ -11,8 +11,8 @@ import {fakeAsync, tick} from '@angular/core/testing'; import {beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; -import {iterateListLike} from '../../src/facade/collection'; -import {StringWrapper} from '../../src/facade/lang'; +import {iterateListLike} from '@angular/facade/src/collection'; +import {StringWrapper} from '@angular/facade/src/lang'; interface _JsQueryList { filter(c: any): any; @@ -151,3 +151,5 @@ export function main() { } }); } + +main(); diff --git a/modules/@angular/core/test/linker/regression_integration_spec.ts b/modules/@angular/core/test/linker/regression_integration_spec.ts index 4705daee80..fa3511d281 100644 --- a/modules/@angular/core/test/linker/regression_integration_spec.ts +++ b/modules/@angular/core/test/linker/regression_integration_spec.ts @@ -212,3 +212,5 @@ class RightComp { }) export class FakeRecursiveComp { } + +main(); diff --git a/modules/@angular/core/test/linker/security_integration_spec.ts b/modules/@angular/core/test/linker/security_integration_spec.ts index ea07c60953..fa9d3eba80 100644 --- a/modules/@angular/core/test/linker/security_integration_spec.ts +++ b/modules/@angular/core/test/linker/security_integration_spec.ts @@ -174,3 +174,5 @@ function declareTests({useJit}: {useJit: boolean}) { }); }); } + +main(); diff --git a/modules/@angular/core/test/linker/system_ng_module_factory_loader_spec.ts b/modules/@angular/core/test/linker/system_ng_module_factory_loader_spec.ts index 5bdd897c9c..f0ba53f5f0 100644 --- a/modules/@angular/core/test/linker/system_ng_module_factory_loader_spec.ts +++ b/modules/@angular/core/test/linker/system_ng_module_factory_loader_spec.ts @@ -47,3 +47,5 @@ export function main() { })); }); }; + +main(); diff --git a/modules/@angular/core/test/linker/view_injector_integration_spec.ts b/modules/@angular/core/test/linker/view_injector_integration_spec.ts index e9a43ef5d3..241bff430b 100644 --- a/modules/@angular/core/test/linker/view_injector_integration_spec.ts +++ b/modules/@angular/core/test/linker/view_injector_integration_spec.ts @@ -729,3 +729,5 @@ export function main() { class TestValue { constructor(public value: string) {} } + +main(); diff --git a/modules/@angular/core/test/metadata/decorators_spec.ts b/modules/@angular/core/test/metadata/decorators_spec.ts index b1b4b39d66..292579ed9c 100644 --- a/modules/@angular/core/test/metadata/decorators_spec.ts +++ b/modules/@angular/core/test/metadata/decorators_spec.ts @@ -30,3 +30,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/metadata/di_spec.ts b/modules/@angular/core/test/metadata/di_spec.ts index fbf7adcd10..637e3ceda7 100644 --- a/modules/@angular/core/test/metadata/di_spec.ts +++ b/modules/@angular/core/test/metadata/di_spec.ts @@ -96,3 +96,5 @@ class ViewChildrenStringSelectorComponent { // Allow comma separated selector (with spaces). @ViewChildren('child1 , child2') children: QueryList; } + +main(); diff --git a/modules/@angular/core/test/reflection/reflector_spec.ts b/modules/@angular/core/test/reflection/reflector_spec.ts index c8386c53fd..dcc39b64af 100644 --- a/modules/@angular/core/test/reflection/reflector_spec.ts +++ b/modules/@angular/core/test/reflection/reflector_spec.ts @@ -419,3 +419,5 @@ class TestObjWith21Args { ]; } } + +main(); diff --git a/modules/@angular/core/test/testability/testability_spec.ts b/modules/@angular/core/test/testability/testability_spec.ts index 7b57a7cac0..b13fab1cd0 100644 --- a/modules/@angular/core/test/testability/testability_spec.ts +++ b/modules/@angular/core/test/testability/testability_spec.ts @@ -11,8 +11,8 @@ import {Testability} from '@angular/core/src/testability/testability'; import {NgZone} from '@angular/core/src/zone/ng_zone'; import {AsyncTestCompleter, SpyObject, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; -import {EventEmitter} from '../../src/facade/async'; -import {normalizeBlank, scheduleMicroTask} from '../../src/facade/lang'; +import {EventEmitter} from '@angular/facade/src/async'; +import {normalizeBlank, scheduleMicroTask} from '@angular/facade/src/lang'; // Schedules a microtasks (using a resolved promise .then()) @@ -282,3 +282,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/testing_internal_spec.ts b/modules/@angular/core/test/testing_internal_spec.ts index 70ccbe86ca..04698e0a84 100644 --- a/modules/@angular/core/test/testing_internal_spec.ts +++ b/modules/@angular/core/test/testing_internal_spec.ts @@ -8,7 +8,7 @@ import {SpyObject} from '@angular/core/testing/testing_internal'; -import {MapWrapper} from '../../platform-browser/src/facade/collection'; +import {MapWrapper} from '@angular/platform-browser/src/facade/collection'; class TestObj { prop: any; @@ -115,3 +115,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/core/test/util/decorators_spec.ts b/modules/@angular/core/test/util/decorators_spec.ts index 9c220dd74a..be27617722 100644 --- a/modules/@angular/core/test/util/decorators_spec.ts +++ b/modules/@angular/core/test/util/decorators_spec.ts @@ -11,7 +11,7 @@ import {reflector} from '@angular/core/src/reflection/reflection'; import {Class, makeDecorator, makeParamDecorator} from '@angular/core/src/util/decorators'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {global} from '../../src/facade/lang'; +import {global} from '@angular/facade/src/lang'; class TestAnnotation { constructor(public arg: any) {} @@ -140,3 +140,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/core/test/zone/ng_zone_spec.ts b/modules/@angular/core/test/zone/ng_zone_spec.ts index e25df1cb93..85a38848b1 100644 --- a/modules/@angular/core/test/zone/ng_zone_spec.ts +++ b/modules/@angular/core/test/zone/ng_zone_spec.ts @@ -10,8 +10,8 @@ import {NgZone} from '@angular/core/src/zone/ng_zone'; import {async, fakeAsync, flushMicrotasks} from '@angular/core/testing'; import {AsyncTestCompleter, Log, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {BaseError} from '../../src/facade/errors'; -import {isPresent, scheduleMicroTask} from '../../src/facade/lang'; +import {BaseError} from '@angular/facade/src/errors'; +import {isPresent, scheduleMicroTask} from '@angular/facade/src/lang'; var needsLongerTimers = browserDetection.isSlow || browserDetection.isEdge; var resultTimer = 1000; @@ -794,3 +794,5 @@ function commonTests() { }); }); } + +main(); diff --git a/modules/@angular/facade/test/async_spec.ts b/modules/@angular/facade/test/async_spec.ts index 09b4cac2f1..e9d5b6be4d 100644 --- a/modules/@angular/facade/test/async_spec.ts +++ b/modules/@angular/facade/test/async_spec.ts @@ -8,7 +8,7 @@ import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {EventEmitter, Observable, Subject} from '../src/async'; +import {EventEmitter, Observable, Subject} from '@angular/facade/src/async'; export function main() { describe('EventEmitter', () => { @@ -132,3 +132,5 @@ export function main() { // should call dispose on the subscription on return }); } + +main(); diff --git a/modules/@angular/facade/test/collection_spec.ts b/modules/@angular/facade/test/collection_spec.ts index 3d24ad66c1..9bb8dcf50d 100644 --- a/modules/@angular/facade/test/collection_spec.ts +++ b/modules/@angular/facade/test/collection_spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {ListWrapper, MapWrapper, StringMapWrapper} from '../src/collection'; +import {ListWrapper, MapWrapper, StringMapWrapper} from '@angular/facade/src/collection'; export function main() { describe('ListWrapper', () => { @@ -163,3 +163,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/facade/test/lang_spec.ts b/modules/@angular/facade/test/lang_spec.ts index e80e9400d1..4836e5a6f9 100644 --- a/modules/@angular/facade/test/lang_spec.ts +++ b/modules/@angular/facade/test/lang_spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {NumberWrapper, StringWrapper, escapeRegExp, hasConstructor, isPresent, isPromise, resolveEnumToken} from '../src/lang'; +import {NumberWrapper, StringWrapper, escapeRegExp, hasConstructor, isPresent, isPromise, resolveEnumToken} from '@angular/facade/src/lang'; enum UsefulEnum { MyToken, @@ -172,3 +172,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/directives_spec.ts b/modules/@angular/forms/test/directives_spec.ts index e691e77ea7..bd6aa766b4 100644 --- a/modules/@angular/forms/test/directives_spec.ts +++ b/modules/@angular/forms/test/directives_spec.ts @@ -573,3 +573,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/form_array_spec.ts b/modules/@angular/forms/test/form_array_spec.ts index b33b870dea..116e15115c 100644 --- a/modules/@angular/forms/test/form_array_spec.ts +++ b/modules/@angular/forms/test/form_array_spec.ts @@ -10,8 +10,8 @@ import {fakeAsync, tick} from '@angular/core/testing'; import {AsyncTestCompleter, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {AbstractControl, FormArray, FormControl, FormGroup} from '@angular/forms'; -import {isPresent} from '../src/facade/lang'; -import {Validators} from '../src/validators'; +import {isPresent} from '@angular/facade/src/lang'; +import {Validators} from '@angular/forms/src/validators'; export function main() { function asyncValidator(expected: any /** TODO #9100 */, timeouts = {}) { @@ -809,3 +809,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/form_builder_spec.ts b/modules/@angular/forms/test/form_builder_spec.ts index 5e931506bf..dc20296522 100644 --- a/modules/@angular/forms/test/form_builder_spec.ts +++ b/modules/@angular/forms/test/form_builder_spec.ts @@ -68,3 +68,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/form_control_spec.ts b/modules/@angular/forms/test/form_control_spec.ts index 4e371d8bc1..16cb7d2218 100644 --- a/modules/@angular/forms/test/form_control_spec.ts +++ b/modules/@angular/forms/test/form_control_spec.ts @@ -10,9 +10,9 @@ import {fakeAsync, tick} from '@angular/core/testing'; import {AsyncTestCompleter, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {FormControl, FormGroup, Validators} from '@angular/forms'; -import {EventEmitter} from '../src/facade/async'; -import {isPresent} from '../src/facade/lang'; -import {FormArray} from '../src/model'; +import {EventEmitter} from '@angular/facade/src/async'; +import {isPresent} from '@angular/facade/src/lang'; +import {FormArray} from '@angular/forms/src/model'; export function main() { function asyncValidator(expected: any /** TODO #9100 */, timeouts = {}) { @@ -919,3 +919,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/form_group_spec.ts b/modules/@angular/forms/test/form_group_spec.ts index 4d9f6d326c..35d83cdfc0 100644 --- a/modules/@angular/forms/test/form_group_spec.ts +++ b/modules/@angular/forms/test/form_group_spec.ts @@ -10,8 +10,8 @@ import {async, fakeAsync, tick} from '@angular/core/testing'; import {AsyncTestCompleter, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {FormControl, FormGroup, Validators} from '@angular/forms'; -import {EventEmitter} from '../src/facade/async'; -import {isPresent} from '../src/facade/lang'; +import {EventEmitter} from '@angular/facade/src/async'; +import {isPresent} from '@angular/facade/src/lang'; export function main() { function asyncValidator(expected: any /** TODO #9100 */, timeouts = {}) { @@ -811,3 +811,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/forms/test/reactive_integration_spec.ts b/modules/@angular/forms/test/reactive_integration_spec.ts index e3d21c5896..268d008f5f 100644 --- a/modules/@angular/forms/test/reactive_integration_spec.ts +++ b/modules/@angular/forms/test/reactive_integration_spec.ts @@ -14,8 +14,8 @@ import {By} from '@angular/platform-browser/src/dom/debug/by'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {dispatchEvent} from '@angular/platform-browser/testing/browser_util'; -import {ListWrapper} from '../src/facade/collection'; -import {AbstractControl} from '../src/model'; +import {ListWrapper} from '@angular/facade/src/collection'; +import {AbstractControl} from '@angular/forms/src/model'; export function main() { describe('reactive forms integration tests', () => { @@ -1503,3 +1503,5 @@ class LoginIsEmptyWrapper { class UniqLoginWrapper { form: FormGroup; } + +main(); diff --git a/modules/@angular/forms/test/template_integration_spec.ts b/modules/@angular/forms/test/template_integration_spec.ts index 1e857e0760..0de4442aae 100644 --- a/modules/@angular/forms/test/template_integration_spec.ts +++ b/modules/@angular/forms/test/template_integration_spec.ts @@ -15,7 +15,7 @@ import {By} from '@angular/platform-browser/src/dom/debug/by'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {dispatchEvent} from '@angular/platform-browser/testing/browser_util'; -import {ListWrapper} from '../src/facade/collection'; +import {ListWrapper} from '@angular/facade/src/collection'; export function main() { describe('template-driven forms integration tests', () => { @@ -796,3 +796,5 @@ function sortedClassList(el: HTMLElement) { ListWrapper.sort(l); return l; } + +main(); diff --git a/modules/@angular/forms/test/validators_spec.ts b/modules/@angular/forms/test/validators_spec.ts index 499e237f91..be4e55fe9b 100644 --- a/modules/@angular/forms/test/validators_spec.ts +++ b/modules/@angular/forms/test/validators_spec.ts @@ -11,8 +11,8 @@ import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from ' import {AbstractControl, FormControl, Validators} from '@angular/forms'; import {Observable} from 'rxjs/Observable'; -import {normalizeAsyncValidator} from '../src/directives/normalize_validator'; -import {EventEmitter} from '../src/facade/async'; +import {normalizeAsyncValidator} from '@angular/forms/src/directives/normalize_validator'; +import {EventEmitter} from '@angular/facade/src/async'; export function main() { function validator(key: string, error: any) { @@ -194,3 +194,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/backends/jsonp_backend_spec.ts b/modules/@angular/http/test/backends/jsonp_backend_spec.ts index 87cc154583..4a074dae56 100644 --- a/modules/@angular/http/test/backends/jsonp_backend_spec.ts +++ b/modules/@angular/http/test/backends/jsonp_backend_spec.ts @@ -10,15 +10,15 @@ import {ReflectiveInjector} from '@angular/core'; import {AsyncTestCompleter, SpyObject, afterEach, beforeEach, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {BrowserJsonp} from '../../src/backends/browser_jsonp'; -import {JSONPBackend, JSONPBackend_, JSONPConnection, JSONPConnection_} from '../../src/backends/jsonp_backend'; -import {BaseRequestOptions, RequestOptions} from '../../src/base_request_options'; -import {BaseResponseOptions, ResponseOptions} from '../../src/base_response_options'; -import {ReadyState, RequestMethod, ResponseType} from '../../src/enums'; -import {Map} from '../../src/facade/collection'; -import {isPresent} from '../../src/facade/lang'; -import {Request} from '../../src/static_request'; -import {Response} from '../../src/static_response'; +import {BrowserJsonp} from '@angular/http/src/backends/browser_jsonp'; +import {JSONPBackend, JSONPBackend_, JSONPConnection, JSONPConnection_} from '@angular/http/src/backends/jsonp_backend'; +import {BaseRequestOptions, RequestOptions} from '@angular/http/src/base_request_options'; +import {BaseResponseOptions, ResponseOptions} from '@angular/http/src/base_response_options'; +import {ReadyState, RequestMethod, ResponseType} from '@angular/http/src/enums'; +import {Map} from '@angular/facade/src/collection'; +import {isPresent} from '@angular/facade/src/lang'; +import {Request} from '@angular/http/src/static_request'; +import {Response} from '@angular/http/src/static_response'; var existingScripts: MockBrowserJsonp[] = []; var unused: Response; @@ -177,3 +177,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/backends/mock_backend_spec.ts b/modules/@angular/http/test/backends/mock_backend_spec.ts index e799d52a30..d5595ae0e7 100644 --- a/modules/@angular/http/test/backends/mock_backend_spec.ts +++ b/modules/@angular/http/test/backends/mock_backend_spec.ts @@ -11,11 +11,11 @@ import {AsyncTestCompleter, afterEach, beforeEach, ddescribe, describe, iit, inj import {expect} from '@angular/platform-browser/testing/matchers'; import {ReplaySubject} from 'rxjs/ReplaySubject'; -import {BaseRequestOptions, RequestOptions} from '../../src/base_request_options'; -import {BaseResponseOptions, ResponseOptions} from '../../src/base_response_options'; -import {Request} from '../../src/static_request'; -import {Response} from '../../src/static_response'; -import {MockBackend, MockConnection} from '../../testing/mock_backend'; +import {BaseRequestOptions, RequestOptions} from '@angular/http/src/base_request_options'; +import {BaseResponseOptions, ResponseOptions} from '@angular/http/src/base_response_options'; +import {Request} from '@angular/http/src/static_request'; +import {Response} from '@angular/http/src/static_response'; +import {MockBackend, MockConnection} from '@angular/http/testing/mock_backend'; export function main() { describe('MockBackend', () => { @@ -117,3 +117,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/backends/xhr_backend_spec.ts b/modules/@angular/http/test/backends/xhr_backend_spec.ts index 216ecda5d7..b6f3fea807 100644 --- a/modules/@angular/http/test/backends/xhr_backend_spec.ts +++ b/modules/@angular/http/test/backends/xhr_backend_spec.ts @@ -10,18 +10,18 @@ import {Injectable} from '@angular/core'; import {AsyncTestCompleter, SpyObject, afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {__platform_browser_private__} from '@angular/platform-browser'; -import {BrowserXhr} from '../../src/backends/browser_xhr'; -import {CookieXSRFStrategy, XHRBackend, XHRConnection} from '../../src/backends/xhr_backend'; -import {BaseRequestOptions, RequestOptions} from '../../src/base_request_options'; -import {BaseResponseOptions, ResponseOptions} from '../../src/base_response_options'; -import {ResponseContentType, ResponseType} from '../../src/enums'; -import {Map} from '../../src/facade/collection'; -import {Json} from '../../src/facade/lang'; -import {Headers} from '../../src/headers'; -import {XSRFStrategy} from '../../src/interfaces'; -import {Request} from '../../src/static_request'; -import {Response} from '../../src/static_response'; -import {URLSearchParams} from '../../src/url_search_params'; +import {BrowserXhr} from '@angular/http/src/backends/browser_xhr'; +import {CookieXSRFStrategy, XHRBackend, XHRConnection} from '@angular/http/src/backends/xhr_backend'; +import {BaseRequestOptions, RequestOptions} from '@angular/http/src/base_request_options'; +import {BaseResponseOptions, ResponseOptions} from '@angular/http/src/base_response_options'; +import {ResponseContentType, ResponseType} from '@angular/http/src/enums'; +import {Map} from '@angular/facade/src/collection'; +import {Json} from '@angular/facade/src/lang'; +import {Headers} from '@angular/http/src/headers'; +import {XSRFStrategy} from '@angular/http/src/interfaces'; +import {Request} from '@angular/http/src/static_request'; +import {Response} from '@angular/http/src/static_response'; +import {URLSearchParams} from '@angular/http/src/url_search_params'; var abortSpy: any; var sendSpy: any; @@ -692,3 +692,5 @@ Connection: keep-alive`; }); }); } + +main(); diff --git a/modules/@angular/http/test/base_request_options_spec.ts b/modules/@angular/http/test/base_request_options_spec.ts index ef48d03e3b..dbd98a9295 100644 --- a/modules/@angular/http/test/base_request_options_spec.ts +++ b/modules/@angular/http/test/base_request_options_spec.ts @@ -7,8 +7,8 @@ */ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {BaseRequestOptions, RequestOptions} from '../src/base_request_options'; -import {RequestMethod} from '../src/enums'; +import {BaseRequestOptions, RequestOptions} from '@angular/http/src/base_request_options'; +import {RequestMethod} from '@angular/http/src/enums'; export function main() { describe('BaseRequestOptions', () => { @@ -26,3 +26,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/headers_spec.ts b/modules/@angular/http/test/headers_spec.ts index ae8593a1ef..4aa5f032e6 100644 --- a/modules/@angular/http/test/headers_spec.ts +++ b/modules/@angular/http/test/headers_spec.ts @@ -8,9 +8,9 @@ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {Map, StringMapWrapper} from '../src/facade/collection'; -import {Json} from '../src/facade/lang'; -import {Headers} from '../src/headers'; +import {Map, StringMapWrapper} from '@angular/facade/src/collection'; +import {Json} from '@angular/facade/src/lang'; +import {Headers} from '@angular/http/src/headers'; export function main() { describe('Headers', () => { @@ -131,3 +131,5 @@ Connection: keep-alive`; }); }); } + +main(); diff --git a/modules/@angular/http/test/http_spec.ts b/modules/@angular/http/test/http_spec.ts index 3be5a2ce1d..d0f70e8479 100644 --- a/modules/@angular/http/test/http_spec.ts +++ b/modules/@angular/http/test/http_spec.ts @@ -13,10 +13,10 @@ import {expect} from '@angular/platform-browser/testing/matchers'; import {Observable} from 'rxjs/Observable'; import {zip} from 'rxjs/observable/zip'; -import {BaseRequestOptions, ConnectionBackend, Http, HttpModule, JSONPBackend, Jsonp, JsonpModule, Request, RequestMethod, RequestOptions, Response, ResponseContentType, ResponseOptions, URLSearchParams, XHRBackend} from '../index'; -import {Json} from '../src/facade/lang'; -import {stringToArrayBuffer} from '../src/http_utils'; -import {MockBackend, MockConnection} from '../testing/mock_backend'; +import {BaseRequestOptions, ConnectionBackend, Http, HttpModule, JSONPBackend, Jsonp, JsonpModule, Request, RequestMethod, RequestOptions, Response, ResponseContentType, ResponseOptions, URLSearchParams, XHRBackend} from '@angular/http/index'; +import {Json} from '@angular/facade/src/lang'; +import {stringToArrayBuffer} from '@angular/http/src/http_utils'; +import {MockBackend, MockConnection} from '@angular/http/testing/mock_backend'; export function main() { describe('injectables', () => { @@ -512,3 +512,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/static_request_spec.ts b/modules/@angular/http/test/static_request_spec.ts index 5d8262d42a..2f138a3f8d 100644 --- a/modules/@angular/http/test/static_request_spec.ts +++ b/modules/@angular/http/test/static_request_spec.ts @@ -8,10 +8,10 @@ import {describe, expect, it} from '@angular/core/testing/testing_internal'; -import {RequestOptions} from '../src/base_request_options'; -import {ContentType} from '../src/enums'; -import {Headers} from '../src/headers'; -import {Request} from '../src/static_request'; +import {RequestOptions} from '@angular/http/src/base_request_options'; +import {ContentType} from '@angular/http/src/enums'; +import {Headers} from '@angular/http/src/headers'; +import {Request} from '@angular/http/src/static_request'; export function main() { describe('Request', () => { @@ -90,3 +90,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/static_response_spec.ts b/modules/@angular/http/test/static_response_spec.ts index 5c6cf5163d..4dfaa5d690 100644 --- a/modules/@angular/http/test/static_response_spec.ts +++ b/modules/@angular/http/test/static_response_spec.ts @@ -8,8 +8,8 @@ import {describe, expect, it} from '@angular/core/testing/testing_internal'; -import {ResponseOptions} from '../src/base_response_options'; -import {Response} from '../src/static_response'; +import {ResponseOptions} from '@angular/http/src/base_response_options'; +import {Response} from '@angular/http/src/static_response'; @@ -26,3 +26,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/http/test/url_search_params_spec.ts b/modules/@angular/http/test/url_search_params_spec.ts index 933318c151..2fe7acb37d 100644 --- a/modules/@angular/http/test/url_search_params_spec.ts +++ b/modules/@angular/http/test/url_search_params_spec.ts @@ -7,7 +7,7 @@ */ import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {URLSearchParams} from '../src/url_search_params'; +import {URLSearchParams} from '@angular/http/src/url_search_params'; export function main() { describe('URLSearchParams', () => { @@ -151,3 +151,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts b/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts index 08181e783e..9894880faa 100644 --- a/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_cache_spec.ts @@ -11,7 +11,7 @@ import {Component} from '@angular/core'; import {TestBed, async, fakeAsync, tick} from '@angular/core/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {CachedResourceLoader} from '../../src/resource_loader/resource_loader_cache'; +import {CachedResourceLoader} from '@angular/platform-browser-dynamic/src/resource_loader/resource_loader_cache'; import {setTemplateCache} from './resource_loader_cache_setter'; @@ -82,3 +82,5 @@ class TestUrlResolver extends UrlResolver { return url; } } + +main(); diff --git a/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts b/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts index 47d83f967c..ac86a18232 100644 --- a/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/resource_loader/resource_loader_impl_spec.ts @@ -7,7 +7,7 @@ */ import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; -import {ResourceLoaderImpl} from '../../src/resource_loader/resource_loader_impl'; +import {ResourceLoaderImpl} from '@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl'; export function main() { describe('ResourceLoaderImpl', () => { @@ -42,3 +42,5 @@ export function main() { }), 10000); }); } + +main(); diff --git a/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts b/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts index 03a26ab5ba..34828241fc 100644 --- a/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts @@ -10,7 +10,7 @@ import {ResourceLoader} from '@angular/compiler'; import {Component} from '@angular/core'; import {TestBed, async, fakeAsync, inject, tick} from '@angular/core/testing'; -import {ResourceLoaderImpl} from '../src/resource_loader/resource_loader_impl'; +import {ResourceLoaderImpl} from '@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl'; @@ -134,3 +134,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts b/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts index 658ce665e3..7d77e89269 100644 --- a/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts +++ b/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts @@ -18,7 +18,7 @@ import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {DOCUMENT} from '@angular/platform-browser/src/dom/dom_tokens'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {stringify} from '../../src/facade/lang'; +import {stringify} from '@angular/facade/src/lang'; @Component({selector: 'hello-app', template: '{{greeting}} world!'}) class HelloRootCmp { @@ -335,3 +335,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts b/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts index e866c45f28..c34ad19241 100644 --- a/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts +++ b/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts @@ -9,7 +9,7 @@ import {AsyncTestCompleter, afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it} from '@angular/core/testing/testing_internal'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; -import {parseCookieValue} from '../../src/browser/browser_adapter'; +import {parseCookieValue} from '@angular/platform-browser/src/browser/browser_adapter'; export function main() { describe('cookies', () => { @@ -32,3 +32,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/browser/title_spec.ts b/modules/@angular/platform-browser/test/browser/title_spec.ts index db270c0a25..a50a7d1877 100644 --- a/modules/@angular/platform-browser/test/browser/title_spec.ts +++ b/modules/@angular/platform-browser/test/browser/title_spec.ts @@ -32,3 +32,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser/test/browser/tools/spies.ts b/modules/@angular/platform-browser/test/browser/tools/spies.ts index f6bbab8cee..bc959d25e2 100644 --- a/modules/@angular/platform-browser/test/browser/tools/spies.ts +++ b/modules/@angular/platform-browser/test/browser/tools/spies.ts @@ -10,7 +10,7 @@ import {ReflectiveInjector} from '@angular/core'; import {ApplicationRef, ApplicationRef_} from '@angular/core/src/application_ref'; import {SpyObject} from '@angular/core/testing/testing_internal'; -import {global} from '../../../src/facade/lang'; +import {global} from '@angular/facade/src/lang'; export class SpyApplicationRef extends SpyObject { constructor() { super(ApplicationRef_); } diff --git a/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts b/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts index 55ef9947e4..b67a5a5049 100644 --- a/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts +++ b/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts @@ -23,3 +23,5 @@ export function main() { () => { callNgProfilerTimeChangeDetection({'record': true}); }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/browser_util_spec.ts b/modules/@angular/platform-browser/test/browser_util_spec.ts index f175326b8b..e561c7faa6 100644 --- a/modules/@angular/platform-browser/test/browser_util_spec.ts +++ b/modules/@angular/platform-browser/test/browser_util_spec.ts @@ -6,8 +6,8 @@ * found in the LICENSE file at https://angular.io/license */ -import {StringMapWrapper} from '../src/facade/collection'; -import {BrowserDetection} from '../testing/browser_util'; +import {StringMapWrapper} from '@angular/facade/src/collection'; +import {BrowserDetection} from '@angular/platform-browser/testing/browser_util'; export function main() { describe('BrowserDetection', () => { @@ -222,3 +222,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts b/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts index b326f798be..9afd8245b7 100644 --- a/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts +++ b/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts @@ -27,3 +27,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts b/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts index b16d7595af..26ba020d29 100644 --- a/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts +++ b/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts @@ -12,8 +12,8 @@ import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {DomEventsPlugin} from '@angular/platform-browser/src/dom/events/dom_events'; import {EventManager, EventManagerPlugin} from '@angular/platform-browser/src/dom/events/event_manager'; -import {ListWrapper, Map} from '../../../src/facade/collection'; -import {el} from '../../../testing/browser_util'; +import {ListWrapper, Map} from '@angular/facade/src/collection'; +import {el} from '@angular/platform-browser/testing/browser_util'; export function main() { var domEventPlugin: any /** TODO #9100 */; @@ -110,3 +110,5 @@ class FakeNgZone extends NgZone { runOutsideAngular(fn: any /** TODO #9100 */) { return fn(); } } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts b/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts index ecf3039acc..6c099cd552 100644 --- a/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts +++ b/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts @@ -60,3 +60,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts b/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts index 7d9d9cc1bb..c12906e48a 100644 --- a/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts +++ b/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts @@ -48,3 +48,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts b/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts index 1edfb81e10..76368bf9ab 100644 --- a/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts +++ b/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts @@ -9,12 +9,12 @@ import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {el} from '@angular/platform-browser/testing/browser_util'; -import {AnimationKeyframe, AnimationStyles} from '../../core_private'; -import {DomAnimatePlayer} from '../../src/dom/dom_animate_player'; -import {WebAnimationsDriver} from '../../src/dom/web_animations_driver'; -import {WebAnimationsPlayer} from '../../src/dom/web_animations_player'; -import {StringMapWrapper} from '../../src/facade/collection'; -import {MockDomAnimatePlayer} from '../../testing/mock_dom_animate_player'; +import {AnimationKeyframe, AnimationStyles} from '@angular/platform-browser/core_private'; +import {DomAnimatePlayer} from '@angular/platform-browser/src/dom/dom_animate_player'; +import {WebAnimationsDriver} from '@angular/platform-browser/src/dom/web_animations_driver'; +import {WebAnimationsPlayer} from '@angular/platform-browser/src/dom/web_animations_player'; +import {StringMapWrapper} from '@angular/facade/src/collection'; +import {MockDomAnimatePlayer} from '@angular/platform-browser/testing/mock_dom_animate_player'; class ExtendedWebAnimationsDriver extends WebAnimationsDriver { public log: {[key: string]: any}[] = []; @@ -122,3 +122,5 @@ export function main() { function _formatOptions(player: WebAnimationsPlayer): {[key: string]: any} { return {'element': player.element, 'keyframes': player.keyframes, 'options': player.options}; } + +main(); diff --git a/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts b/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts index 5a98a46b7d..e7629fe607 100644 --- a/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts +++ b/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts @@ -9,9 +9,9 @@ import {AsyncTestCompleter, MockAnimationPlayer, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {el} from '@angular/platform-browser/testing/browser_util'; -import {DomAnimatePlayer} from '../../src/dom/dom_animate_player'; -import {WebAnimationsPlayer} from '../../src/dom/web_animations_player'; -import {MockDomAnimatePlayer} from '../../testing/mock_dom_animate_player'; +import {DomAnimatePlayer} from '@angular/platform-browser/src/dom/dom_animate_player'; +import {WebAnimationsPlayer} from '@angular/platform-browser/src/dom/web_animations_player'; +import {MockDomAnimatePlayer} from '@angular/platform-browser/testing/mock_dom_animate_player'; class ExtendedWebAnimationsPlayer extends WebAnimationsPlayer { public domPlayer = new MockDomAnimatePlayer(); @@ -141,3 +141,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/security/dom_sanitization_service_spec.ts b/modules/@angular/platform-browser/test/security/dom_sanitization_service_spec.ts index c3b83d7ddb..0818e0af85 100644 --- a/modules/@angular/platform-browser/test/security/dom_sanitization_service_spec.ts +++ b/modules/@angular/platform-browser/test/security/dom_sanitization_service_spec.ts @@ -9,7 +9,7 @@ import {SecurityContext} from '@angular/core'; import * as t from '@angular/core/testing/testing_internal'; -import {DomSanitizerImpl} from '../../src/security/dom_sanitization_service'; +import {DomSanitizerImpl} from '@angular/platform-browser/src/security/dom_sanitization_service'; export function main() { t.describe('DOM Sanitization Service', () => { @@ -20,3 +20,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts index c19b59b673..8288e55883 100644 --- a/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts @@ -9,8 +9,8 @@ import * as t from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing/browser_util'; -import {getDOM} from '../../src/dom/dom_adapter'; -import {sanitizeHtml} from '../../src/security/html_sanitizer'; +import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; +import {sanitizeHtml} from '@angular/platform-browser/src/security/html_sanitizer'; export function main() { t.describe('HTML sanitizer', () => { @@ -105,3 +105,5 @@ export function main() { } }); } + +main(); diff --git a/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts index 7bec4047d0..763dce3073 100644 --- a/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts @@ -8,8 +8,8 @@ import * as t from '@angular/core/testing/testing_internal'; -import {getDOM} from '../../src/dom/dom_adapter'; -import {sanitizeStyle} from '../../src/security/style_sanitizer'; +import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; +import {sanitizeStyle} from '@angular/platform-browser/src/security/style_sanitizer'; export function main() { t.describe('Style sanitizer', () => { @@ -54,3 +54,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts index aaf414e1d3..dd178e44e0 100644 --- a/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts @@ -8,8 +8,8 @@ import * as t from '@angular/core/testing/testing_internal'; -import {getDOM} from '../../src/dom/dom_adapter'; -import {sanitizeSrcset, sanitizeUrl} from '../../src/security/url_sanitizer'; +import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; +import {sanitizeSrcset, sanitizeUrl} from '@angular/platform-browser/src/security/url_sanitizer'; export function main() { t.describe('URL sanitizer', () => { @@ -116,3 +116,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser/test/testing_public_spec.ts b/modules/@angular/platform-browser/test/testing_public_spec.ts index 8fcf07d07d..108acea418 100644 --- a/modules/@angular/platform-browser/test/testing_public_spec.ts +++ b/modules/@angular/platform-browser/test/testing_public_spec.ts @@ -11,7 +11,7 @@ import {CUSTOM_ELEMENTS_SCHEMA, Component, Directive, Injectable, Input, NgModul import {TestBed, async, fakeAsync, inject, tick, withModule} from '@angular/core/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {stringify} from '../src/facade/lang'; +import {stringify} from '@angular/facade/src/lang'; // Services, and components for the tests. @@ -608,3 +608,5 @@ export function main() { }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts index 667c49218b..eb0088e224 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts @@ -158,3 +158,5 @@ export function main() { }), 10000); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts b/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts index 174c4fa056..96441659ab 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {EventEmitter} from '../../../src/facade/async'; +import {EventEmitter} from '@angular/facade/src/async'; export class MockEventEmitter extends EventEmitter { private _nextFns: Function[] = []; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts index e475a49c41..546bbc03bb 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts @@ -35,3 +35,5 @@ export function main() { }); } + +main(); diff --git a/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts index cd14b60d7c..03a70a85b5 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts @@ -68,3 +68,5 @@ export function main() { })); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts b/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts index 9ad23e3287..3f6310d53b 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts @@ -10,8 +10,8 @@ import {Type} from '@angular/core'; import {NgZone} from '@angular/core/src/zone/ng_zone'; import {ClientMessageBroker, ClientMessageBrokerFactory_, UiArguments} from '@angular/platform-browser/src/web_workers/shared/client_message_broker'; import {MessageBus, MessageBusSink, MessageBusSource} from '@angular/platform-browser/src/web_workers/shared/message_bus'; -import {ListWrapper, StringMapWrapper} from '../../../src/facade/collection'; -import {isPresent} from '../../../src/facade/lang'; +import {ListWrapper, StringMapWrapper} from '@angular/facade/src/collection'; +import {isPresent} from '@angular/facade/src/lang'; import {SpyMessageBroker} from '../worker/spies'; import {MockEventEmitter} from './mock_event_emitter'; diff --git a/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts b/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts index 1ff867fccc..6fa1506c57 100644 --- a/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts @@ -91,3 +91,5 @@ export function main() { it('should send replaceState to render thread', () => { testPushOrReplaceState(false); }); }); } + +main(); diff --git a/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts b/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts index 9348648b1a..8e91fa334d 100644 --- a/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts @@ -22,7 +22,7 @@ import {WebWorkerRootRenderer} from '@angular/platform-browser/src/web_workers/w import {BrowserTestingModule} from '@angular/platform-browser/testing'; import {expect} from '@angular/platform-browser/testing/matchers'; -import {dispatchEvent} from '../../../../platform-browser/testing/browser_util'; +import {dispatchEvent} from '@angular/platform-browser/testing/browser_util'; import {PairedMessageBuses, createPairedMessageBuses} from '../shared/web_worker_test_util'; export function main() { @@ -218,3 +218,5 @@ class MyComp2 { throwError() { throw 'boom'; } } + +main(); diff --git a/modules/@angular/platform-server/test/integration_spec.ts b/modules/@angular/platform-server/test/integration_spec.ts index 025bcc3ae7..b95e28af06 100644 --- a/modules/@angular/platform-server/test/integration_spec.ts +++ b/modules/@angular/platform-server/test/integration_spec.ts @@ -44,3 +44,5 @@ export function main() { })); }); } + +main(); diff --git a/modules/@angular/router/test/apply_redirects.spec.ts b/modules/@angular/router/test/apply_redirects.spec.ts index ceae5f3cc2..ac99dab460 100644 --- a/modules/@angular/router/test/apply_redirects.spec.ts +++ b/modules/@angular/router/test/apply_redirects.spec.ts @@ -9,10 +9,10 @@ import {Observable} from 'rxjs/Observable'; import {of } from 'rxjs/observable/of'; -import {applyRedirects} from '../src/apply_redirects'; -import {Routes} from '../src/config'; -import {LoadedRouterConfig} from '../src/router_config_loader'; -import {DefaultUrlSerializer, UrlSegmentGroup, UrlTree, equalSegments} from '../src/url_tree'; +import {applyRedirects} from '@angular/router/src/apply_redirects'; +import {Routes} from '@angular/router/src/config'; +import {LoadedRouterConfig} from '@angular/router/src/router_config_loader'; +import {DefaultUrlSerializer, UrlSegmentGroup, UrlTree, equalSegments} from '@angular/router/src/url_tree'; describe('applyRedirects', () => { diff --git a/modules/@angular/router/test/config.spec.ts b/modules/@angular/router/test/config.spec.ts index f54923fb48..f973d6ada7 100644 --- a/modules/@angular/router/test/config.spec.ts +++ b/modules/@angular/router/test/config.spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {validateConfig} from '../src/config'; +import {validateConfig} from '@angular/router/src/config'; describe('config', () => { describe('validateConfig', () => { diff --git a/modules/@angular/router/test/create_router_state.spec.ts b/modules/@angular/router/test/create_router_state.spec.ts index 8b1a448801..de37d10ab6 100644 --- a/modules/@angular/router/test/create_router_state.spec.ts +++ b/modules/@angular/router/test/create_router_state.spec.ts @@ -6,13 +6,13 @@ * found in the LICENSE file at https://angular.io/license */ -import {Routes} from '../src/config'; -import {createRouterState} from '../src/create_router_state'; -import {recognize} from '../src/recognize'; -import {ActivatedRoute, RouterState, RouterStateSnapshot, advanceActivatedRoute, createEmptyState} from '../src/router_state'; -import {PRIMARY_OUTLET, Params} from '../src/shared'; -import {DefaultUrlSerializer, UrlSegmentGroup, UrlTree} from '../src/url_tree'; -import {TreeNode} from '../src/utils/tree'; +import {Routes} from '@angular/router/src/config'; +import {createRouterState} from '@angular/router/src/create_router_state'; +import {recognize} from '@angular/router/src/recognize'; +import {ActivatedRoute, RouterState, RouterStateSnapshot, advanceActivatedRoute, createEmptyState} from '@angular/router/src/router_state'; +import {PRIMARY_OUTLET, Params} from '@angular/router/src/shared'; +import {DefaultUrlSerializer, UrlSegmentGroup, UrlTree} from '@angular/router/src/url_tree'; +import {TreeNode} from '@angular/router/src/utils/tree'; describe('create router state', () => { const emptyState = () => diff --git a/modules/@angular/router/test/create_url_tree.spec.ts b/modules/@angular/router/test/create_url_tree.spec.ts index dbe69ceaab..b5c227bffd 100644 --- a/modules/@angular/router/test/create_url_tree.spec.ts +++ b/modules/@angular/router/test/create_url_tree.spec.ts @@ -8,10 +8,10 @@ import {BehaviorSubject} from 'rxjs/BehaviorSubject'; -import {createUrlTree} from '../src/create_url_tree'; -import {ActivatedRoute, ActivatedRouteSnapshot, advanceActivatedRoute} from '../src/router_state'; -import {PRIMARY_OUTLET, Params} from '../src/shared'; -import {DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlTree} from '../src/url_tree'; +import {createUrlTree} from '@angular/router/src/create_url_tree'; +import {ActivatedRoute, ActivatedRouteSnapshot, advanceActivatedRoute} from '@angular/router/src/router_state'; +import {PRIMARY_OUTLET, Params} from '@angular/router/src/shared'; +import {DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlTree} from '@angular/router/src/url_tree'; describe('createUrlTree', () => { const serializer = new DefaultUrlSerializer(); diff --git a/modules/@angular/router/test/integration.spec.ts b/modules/@angular/router/test/integration.spec.ts index 0aedb6a146..ade92b81e5 100644 --- a/modules/@angular/router/test/integration.spec.ts +++ b/modules/@angular/router/test/integration.spec.ts @@ -15,8 +15,8 @@ import {expect} from '@angular/platform-browser/testing/matchers'; import {Observable} from 'rxjs/Observable'; import {of } from 'rxjs/observable/of'; -import {ActivatedRoute, ActivatedRouteSnapshot, CanActivate, CanDeactivate, Event, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Params, Resolve, Router, RouterModule, RouterStateSnapshot, RoutesRecognized} from '../index'; -import {RouterTestingModule, SpyNgModuleFactoryLoader} from '../testing'; +import {ActivatedRoute, ActivatedRouteSnapshot, CanActivate, CanDeactivate, Event, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Params, Resolve, Router, RouterModule, RouterStateSnapshot, RoutesRecognized} from '@angular/router/index'; +import {RouterTestingModule, SpyNgModuleFactoryLoader} from '@angular/router/testing'; diff --git a/modules/@angular/router/test/recognize.spec.ts b/modules/@angular/router/test/recognize.spec.ts index 1dac06b896..f4e202965c 100644 --- a/modules/@angular/router/test/recognize.spec.ts +++ b/modules/@angular/router/test/recognize.spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {Routes} from '../src/config'; -import {recognize} from '../src/recognize'; -import {ActivatedRouteSnapshot, RouterStateSnapshot} from '../src/router_state'; -import {PRIMARY_OUTLET, Params} from '../src/shared'; -import {DefaultUrlSerializer, UrlTree} from '../src/url_tree'; +import {Routes} from '@angular/router/src/config'; +import {recognize} from '@angular/router/src/recognize'; +import {ActivatedRouteSnapshot, RouterStateSnapshot} from '@angular/router/src/router_state'; +import {PRIMARY_OUTLET, Params} from '@angular/router/src/shared'; +import {DefaultUrlSerializer, UrlTree} from '@angular/router/src/url_tree'; describe('recognize', () => { it('should work', () => { diff --git a/modules/@angular/router/test/router.spec.ts b/modules/@angular/router/test/router.spec.ts index 42ea05b27b..8be1dc5d2d 100644 --- a/modules/@angular/router/test/router.spec.ts +++ b/modules/@angular/router/test/router.spec.ts @@ -6,11 +6,11 @@ * found in the LICENSE file at https://angular.io/license */ -import {PreActivation} from '../src/router'; -import {RouterOutletMap} from '../src/router_outlet_map'; -import {ActivatedRouteSnapshot, InheritedResolve, RouterStateSnapshot, createEmptyStateSnapshot} from '../src/router_state'; -import {DefaultUrlSerializer} from '../src/url_tree'; -import {TreeNode} from '../src/utils/tree'; +import {PreActivation} from '@angular/router/src/router'; +import {RouterOutletMap} from '@angular/router/src/router_outlet_map'; +import {ActivatedRouteSnapshot, InheritedResolve, RouterStateSnapshot, createEmptyStateSnapshot} from '@angular/router/src/router_state'; +import {DefaultUrlSerializer} from '@angular/router/src/url_tree'; +import {TreeNode} from '@angular/router/src/utils/tree'; describe('Router', () => { describe('PreActivation', () => { diff --git a/modules/@angular/router/test/router_state.spec.ts b/modules/@angular/router/test/router_state.spec.ts index c7c4e5fd1d..c0f38f9bd8 100644 --- a/modules/@angular/router/test/router_state.spec.ts +++ b/modules/@angular/router/test/router_state.spec.ts @@ -6,8 +6,8 @@ * found in the LICENSE file at https://angular.io/license */ -import {ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot} from '../src/router_state'; -import {TreeNode} from '../src/utils/tree'; +import {ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot} from '@angular/router/src/router_state'; +import {TreeNode} from '@angular/router/src/utils/tree'; describe('RouterState & Snapshot', () => { describe('RouterStateSnapshot', () => { diff --git a/modules/@angular/router/test/url_serializer.spec.ts b/modules/@angular/router/test/url_serializer.spec.ts index 61312571b4..cf4995f37e 100644 --- a/modules/@angular/router/test/url_serializer.spec.ts +++ b/modules/@angular/router/test/url_serializer.spec.ts @@ -6,8 +6,8 @@ * found in the LICENSE file at https://angular.io/license */ -import {PRIMARY_OUTLET} from '../src/shared'; -import {DefaultUrlSerializer, UrlSegmentGroup, decode, encode, serializePath} from '../src/url_tree'; +import {PRIMARY_OUTLET} from '@angular/router/src/shared'; +import {DefaultUrlSerializer, UrlSegmentGroup, decode, encode, serializePath} from '@angular/router/src/url_tree'; describe('url serializer', () => { const url = new DefaultUrlSerializer(); diff --git a/modules/@angular/router/test/url_tree.spec.ts b/modules/@angular/router/test/url_tree.spec.ts index 821e126a5d..1694d2e8ec 100644 --- a/modules/@angular/router/test/url_tree.spec.ts +++ b/modules/@angular/router/test/url_tree.spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {DefaultUrlSerializer, UrlTree, containsTree} from '../src/url_tree'; +import {DefaultUrlSerializer, UrlTree, containsTree} from '@angular/router/src/url_tree'; describe('UrlTree', () => { const serializer = new DefaultUrlSerializer(); diff --git a/modules/@angular/router/test/utils/tree.spec.ts b/modules/@angular/router/test/utils/tree.spec.ts index 5534175733..37f600e660 100644 --- a/modules/@angular/router/test/utils/tree.spec.ts +++ b/modules/@angular/router/test/utils/tree.spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {Tree, TreeNode} from '../../src/utils/tree'; +import {Tree, TreeNode} from '@angular/router/src/utils/tree'; describe('tree', () => { it('should return the root of the tree', () => { diff --git a/modules/@angular/upgrade/test/metadata_spec.ts b/modules/@angular/upgrade/test/metadata_spec.ts index 61d859ef1f..1ae8609f9b 100644 --- a/modules/@angular/upgrade/test/metadata_spec.ts +++ b/modules/@angular/upgrade/test/metadata_spec.ts @@ -69,3 +69,5 @@ class AttributeNameComponent { } class NoAnnotationComponent {} + +main(); diff --git a/modules/@angular/upgrade/test/upgrade_spec.ts b/modules/@angular/upgrade/test/upgrade_spec.ts index f17315fa8b..e8b30427f0 100644 --- a/modules/@angular/upgrade/test/upgrade_spec.ts +++ b/modules/@angular/upgrade/test/upgrade_spec.ts @@ -989,3 +989,5 @@ function html(html: string): Element { return body.firstChild; return body; } + +main(); diff --git a/modules/playground/src/model_driven_forms/index.ts b/modules/playground/src/model_driven_forms/index.ts index 630f7ae61b..44f395e1fd 100644 --- a/modules/playground/src/model_driven_forms/index.ts +++ b/modules/playground/src/model_driven_forms/index.ts @@ -7,7 +7,7 @@ */ import {Component, Directive, Host, NgModule} from '@angular/core'; -import {isPresent, print} from '@angular/core/src/facade/lang'; +import {isPresent, print} from '@angular/facade/src/lang'; import {AbstractControl, FormBuilder, FormGroup, FormGroupDirective, ReactiveFormsModule, Validators} from '@angular/forms'; import {BrowserModule} from '@angular/platform-browser'; import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/order_management/index.ts b/modules/playground/src/order_management/index.ts index 47d472d83c..3d98a46638 100644 --- a/modules/playground/src/order_management/index.ts +++ b/modules/playground/src/order_management/index.ts @@ -7,7 +7,7 @@ */ import {Component, EventEmitter, Injectable, Input, NgModule, Output} from '@angular/core'; -import {ListWrapper} from '@angular/core/src/facade/collection'; +import {ListWrapper} from '@angular/facade/src/collection'; import {FormsModule} from '@angular/forms'; import {BrowserModule} from '@angular/platform-browser'; import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/routing/app/inbox-app.ts b/modules/playground/src/routing/app/inbox-app.ts index 18e7806e26..b100059dc9 100644 --- a/modules/playground/src/routing/app/inbox-app.ts +++ b/modules/playground/src/routing/app/inbox-app.ts @@ -8,7 +8,7 @@ import {Location} from '@angular/common'; import {Component, Injectable} from '@angular/core'; -import {DateWrapper, isPresent} from '@angular/core/src/facade/lang'; +import {DateWrapper, isPresent} from '@angular/facade/src/lang'; import {ActivatedRoute, Router} from '@angular/router'; import * as db from './data'; diff --git a/modules/playground/src/template_driven_forms/index.ts b/modules/playground/src/template_driven_forms/index.ts index 72d35f1d3d..19fb7d63a3 100644 --- a/modules/playground/src/template_driven_forms/index.ts +++ b/modules/playground/src/template_driven_forms/index.ts @@ -8,7 +8,7 @@ import {NgFor, NgIf} from '@angular/common'; import {Component, Directive, Host, NgModule} from '@angular/core'; -import {isPresent, print} from '@angular/core/src/facade/lang'; +import {isPresent, print} from '@angular/facade/src/lang'; import {FormGroup, FormsModule, NG_VALIDATORS, NgControl, NgForm, Validators} from '@angular/forms'; import {BrowserModule} from '@angular/platform-browser'; import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/todo/app/TodoStore.ts b/modules/playground/src/todo/app/TodoStore.ts index 49ec0581f8..0f05ab068b 100644 --- a/modules/playground/src/todo/app/TodoStore.ts +++ b/modules/playground/src/todo/app/TodoStore.ts @@ -7,7 +7,7 @@ */ import {Injectable} from '@angular/core'; -import {ListWrapper, Predicate} from '@angular/core/src/facade/collection'; +import {ListWrapper, Predicate} from '@angular/facade/src/collection'; // base model for RecordStore export abstract class KeyModel { diff --git a/modules/playground/src/web_workers/images/index_common.ts b/modules/playground/src/web_workers/images/index_common.ts index 0689f694ba..bbb363f94e 100644 --- a/modules/playground/src/web_workers/images/index_common.ts +++ b/modules/playground/src/web_workers/images/index_common.ts @@ -7,7 +7,7 @@ */ import {Component} from '@angular/core'; -import {EventListener} from '@angular/core/src/facade/browser'; +import {EventListener} from '@angular/facade/src/browser'; import {FileReader, Uint8ArrayWrapper} from './file_api'; import {BitmapService} from './services/bitmap'; diff --git a/modules/playground/src/web_workers/kitchen_sink/index_common.ts b/modules/playground/src/web_workers/kitchen_sink/index_common.ts index 7aafe6771a..19c1201181 100644 --- a/modules/playground/src/web_workers/kitchen_sink/index_common.ts +++ b/modules/playground/src/web_workers/kitchen_sink/index_common.ts @@ -7,7 +7,7 @@ */ import {Component, Directive, ElementRef, Injectable, Renderer} from '@angular/core'; -import {StringWrapper} from '@angular/core/src/facade/lang'; +import {StringWrapper} from '@angular/facade/src/lang'; // A service available to the Injector, used by the HelloCmp component. diff --git a/modules/playground/src/web_workers/todo/services/TodoStore.ts b/modules/playground/src/web_workers/todo/services/TodoStore.ts index 83d93d9302..c4cc94c24e 100644 --- a/modules/playground/src/web_workers/todo/services/TodoStore.ts +++ b/modules/playground/src/web_workers/todo/services/TodoStore.ts @@ -7,7 +7,7 @@ */ import {Injectable} from '@angular/core'; -import {ListWrapper, Predicate} from '@angular/core/src/facade/collection'; +import {ListWrapper, Predicate} from '@angular/facade/src/collection'; // base model for RecordStore export class KeyModel {