chore: remove `browserDynamicTestingPlatform` as it is deprecated and was not part of rc.4

Closes #10319
This commit is contained in:
Tobias Bosch 2016-07-27 02:59:40 -07:00
parent 553344739c
commit 69e72c0786
4 changed files with 3 additions and 11 deletions

View File

@ -25,11 +25,6 @@ export const platformBrowserDynamicTesting = createPlatformFactory(
platformCoreDynamicTesting, 'browserDynamicTesting',
INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
/**
* @deprecated Use {@link platformBrowserDynamicTesting} instead
*/
export const browserDynamicTestingPlatform = platformBrowserDynamicTesting;
/**
* NgModule for testing.
*
@ -46,7 +41,7 @@ export class BrowserDynamicTestingModule {
}
/**
* @deprecated Use initTestEnvironment with browserDynamicTestingPlatform instead.
* @deprecated Use initTestEnvironment with platformBrowserDynamicTesting instead.
*/
export const TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
// Note: This is not a real provider but a hack to still support the deprecated

View File

@ -74,7 +74,7 @@ Promise.all([
testing.initTestEnvironment(
testingBrowser.BrowserDynamicTestingModule,
testingBrowser.browserDynamicTestingPlatform());
testingBrowser.platformBrowserDynamicTesting());
}).then(function() {
// Finally, load all spec files.

View File

@ -77,7 +77,7 @@ System.import('@angular/core/testing')
.then(function(browserTesting) {
coreTesting.initTestEnvironment(
browserTesting.BrowserDynamicTestingModule,
browserTesting.browserDynamicTestingPlatform());
browserTesting.platformBrowserDynamicTesting());
});
})
.then(function() {

View File

@ -2,9 +2,6 @@
export declare class BrowserDynamicTestingModule {
}
/** @deprecated */
export declare const browserDynamicTestingPlatform: (extraProviders?: any[]) => PlatformRef;
/** @experimental */
export declare const platformBrowserDynamicTesting: (extraProviders?: any[]) => PlatformRef;