TestabilityRegistry

class

npm Package @angular/core
Module import { TestabilityRegistry } from '@angular/core';
Source core/src/testability/testability.ts

Overview

class TestabilityRegistry {
  constructor()
  registerApplication(token: any, testability: Testability)
  getTestability(elem: any): Testability|null
  getAllTestabilities(): Testability[]
  getAllRootElements(): any[]
  findTestabilityInTree(elem: Node, findInAncestors: boolean = true): Testability|null
}

Description

A global registry of Testability instances for specific elements.

Constructor

constructor()

Members

registerApplication(token: any, testability: Testability)

getTestability(elem: any): Testability|null

getAllTestabilities(): Testability[]

getAllRootElements(): any[]

findTestabilityInTree(elem: Node, findInAncestors: boolean = true): Testability|null

Annotations

@Injectable()

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/TestabilityRegistry