refactor(core/testing): remove deprecated TestComponentBuilder

BREAKING CHANGE: deprecated TestComponentBuilder was removed, please use TestBed instead
This commit is contained in:
Igor Minar
2016-08-19 13:49:36 -07:00
parent 3c2b2ff332
commit a29f9f3ab8
6 changed files with 3 additions and 281 deletions

View File

@ -6,9 +6,9 @@
* found in the LICENSE file at https://angular.io/license
*/
import {OverridingTestComponentBuilder, platformCoreDynamicTesting} from '@angular/compiler/testing';
import {platformCoreDynamicTesting} from '@angular/compiler/testing';
import {NgModule, PlatformRef, createPlatformFactory} from '@angular/core';
import {TestComponentRenderer, __core_private_testing__ as r, __core_private_testing_types__ as t} from '@angular/core/testing';
import {TestComponentRenderer} from '@angular/core/testing';
import {BrowserTestingModule} from '@angular/platform-browser/testing';
import {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './src/platform_providers';
@ -31,7 +31,6 @@ export const platformBrowserDynamicTesting = createPlatformFactory(
@NgModule({
exports: [BrowserTestingModule],
providers: [
{provide: r.TestComponentBuilder, useClass: OverridingTestComponentBuilder},
{provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},
]
})