示例#1
0
        public void Initialize()
        {
            Factories.Reset();

            this.socket = new DummyAdbSocket();
            Factories.AdbSocketFactory = (endPoint) => this.socket;

            this.commandLineClient = new DummyAdbCommandLineClient();
            Factories.AdbCommandLineClientFactory = (version) => this.commandLineClient;
        }
示例#2
0
        public void Initialize()
        {
            Factories.Reset();

            this.socket = new DummyAdbSocket();
            Factories.AdbSocketFactory = (endPoint) => this.socket;

            this.commandLineClient = new DummyAdbCommandLineClient();
            Factories.AdbCommandLineClientFactory = (version) => this.commandLineClient;
        }
示例#3
0
        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);
        }