填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

GetTestability

Adapter interface for retrieving the Testability service associated for a particular context.

      
      interface GetTestability {
  addToWindow(registry: TestabilityRegistry): void
  findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null
}
    

方法

addToWindow(registry: TestabilityRegistry): void
      
      addToWindow(registry: TestabilityRegistry): void
    
参数
registry TestabilityRegistry
返回值

void

findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null
      
      findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null
    
参数
registry TestabilityRegistry
elem any
findInAncestors boolean
返回值

Testability | null