public void Initialize() { Factories.Reset(); this.socket = new DummyAdbSocket(); Factories.AdbSocketFactory = (endPoint) => this.socket; this.commandLineClient = new DummyAdbCommandLineClient(); Factories.AdbCommandLineClientFactory = (version) => this.commandLineClient; }
public void Initialize() { this.socket = new DummyAdbSocket(); this.adbSocketFactory = (endPoint) => this.socket; this.commandLineClient = new DummyAdbCommandLineClient(); this.adbCommandLineClientFactory = (version) => this.commandLineClient; this.adbClient = new AdbClient(AdbClient.DefaultEndPoint, this.adbSocketFactory); this.adbServer = new AdbServer(this.adbClient, this.adbCommandLineClientFactory); }