Esempio n. 1
0
        private AndoridDeviceManger()
        {
            Config config = Config.GetShareInstance();

            driverHelper = AndoridDriverHelper.GetShareInstance(config.GetValue("InstExePath"), config.GetValue("DriverPath"));
            adbHelper    = ADBHelper.GetShareInstance(config.GetValue("ADBExePath"));
        }
Esempio n. 2
0
 public static ADBHelper GetShareInstance(string exePath)
 {
     lock (lockHelper)
     {
         if (instance == null)
         {
             instance = new ADBHelper(exePath);
         }
         return(instance);
     }
 }