コード例 #1
0
 public void DownloadDirectoryMayNotBeEmptyAfterDownload()
 {
     if (Directory.Exists(driverDownloader.DownloadDirectory))
     {
         Directory.Delete(driverDownloader.DownloadDirectory, true);
     }
     driverDownloader.DownloadAndroidDriver();
     Assert.IsNotEmpty(Directory.GetFiles(driverDownloader.DownloadDirectory));
 }
コード例 #2
0
        private static void TryDownloadAndroidDriverAndShowInstructions()
        {
            var driverDownloader = new AndroidDriverDownloader();

            driverDownloader.DownloadAndroidDriver();
            Process.Start(driverDownloader.DownloadDirectory);
            OpenAndroidDriverInstallationManual(driverDownloader);
        }