testing.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * @license Angular v8.1.0
  3. * (c) 2010-2019 Google LLC. https://angular.io/
  4. * License: MIT
  5. */
  6. import { CompilerFactory } from '@angular/core';
  7. import { CompilerOptions } from '@angular/core';
  8. import { Injector } from '@angular/core';
  9. import { PlatformRef } from '@angular/core';
  10. import { StaticProvider } from '@angular/core';
  11. import { TestComponentRenderer } from '@angular/core/testing';
  12. import { ɵTestingCompiler } from '@angular/core/testing';
  13. import { ɵTestingCompilerFactory } from '@angular/core/testing';
  14. /**
  15. * NgModule for testing.
  16. *
  17. * @publicApi
  18. */
  19. export declare class BrowserDynamicTestingModule {
  20. }
  21. /**
  22. * @publicApi
  23. */
  24. export declare const platformBrowserDynamicTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
  25. export declare const ɵangular_packages_platform_browser_dynamic_testing_testing_a: StaticProvider[];
  26. export declare class ɵangular_packages_platform_browser_dynamic_testing_testing_b implements ɵTestingCompilerFactory {
  27. private _injector;
  28. private _compilerFactory;
  29. constructor(_injector: Injector, _compilerFactory: CompilerFactory);
  30. createTestingCompiler(options: CompilerOptions[]): ɵTestingCompiler;
  31. }
  32. /**
  33. * A DOM based implementation of the TestComponentRenderer.
  34. */
  35. export declare class ɵDOMTestComponentRenderer extends TestComponentRenderer {
  36. private _doc;
  37. constructor(_doc: any);
  38. insertRootElement(rootElId: string): void;
  39. }
  40. /**
  41. * Platform for dynamic tests
  42. *
  43. * @publicApi
  44. */
  45. export declare const ɵplatformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef;
  46. export { }