local.d.ts 938 B

123456789101112131415161718192021222324252627282930
  1. /// <reference types="q" />
  2. import * as q from 'q';
  3. import { Config } from '../config';
  4. import { DriverProvider } from './driverProvider';
  5. export declare class Local extends DriverProvider {
  6. server_: any;
  7. constructor(config: Config);
  8. /**
  9. * Helper to locate the default jar path if none is provided by the user.
  10. * @private
  11. */
  12. addDefaultBinaryLocs_(): void;
  13. /**
  14. * Configure and launch (if applicable) the object's environment.
  15. * @public
  16. * @return {q.promise} A promise which will resolve when the environment is
  17. * ready to test.
  18. */
  19. setupDriverEnv(): q.Promise<any>;
  20. /**
  21. * Teardown and destroy the environment and do any associated cleanup.
  22. * Shuts down the drivers and server.
  23. *
  24. * @public
  25. * @override
  26. * @return {q.promise} A promise which will resolve when the environment
  27. * is down.
  28. */
  29. teardownEnv(): q.Promise<any>;
  30. }