refactor(core): remove deprecated Testability#findBindings ()

BREAKING CHANGE: `Testability#findBindings` has been removed as it was deprecated since v4. Use `Testability#findProviders` instead.

PR Close 
This commit is contained in:
Olivier Combe 2017-08-18 15:44:39 +02:00 committed by Miško Hevery
parent d61b9021e0
commit f2a2a6b478
2 changed files with 0 additions and 7 deletions
packages/core/src/testability
tools/public_api_guard/core

@ -109,12 +109,6 @@ export class Testability implements PublicTestability {
getPendingRequestCount(): number { return this._pendingCount; } getPendingRequestCount(): number { return this._pendingCount; }
/** @deprecated use findProviders */
findBindings(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement.
return [];
}
findProviders(using: any, provider: string, exactMatch: boolean): any[] { findProviders(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement. // TODO(juliemr): implement.
return []; return [];

@ -967,7 +967,6 @@ export declare abstract class TemplateRef<C> {
export declare class Testability implements PublicTestability { export declare class Testability implements PublicTestability {
constructor(_ngZone: NgZone); constructor(_ngZone: NgZone);
decreasePendingRequestCount(): number; decreasePendingRequestCount(): number;
/** @deprecated */ findBindings(using: any, provider: string, exactMatch: boolean): any[];
findProviders(using: any, provider: string, exactMatch: boolean): any[]; findProviders(using: any, provider: string, exactMatch: boolean): any[];
getPendingRequestCount(): number; getPendingRequestCount(): number;
increasePendingRequestCount(): number; increasePendingRequestCount(): number;