Ejemplo n.º 1
0
 protected ProjectBuilder CreateApkBuilder(string directory = null, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = false)
 {
     if (string.IsNullOrEmpty(directory))
     {
         directory = Path.Combine("temp", TestName);
     }
     TestOutputDirectories [TestContext.CurrentContext.Test.ID] = Path.Combine(Root, directory);
     return(BuildHelper.CreateApkBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose));
 }
Ejemplo n.º 2
0
 protected ProjectBuilder CreateApkBuilder(string directory = null, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = false, [CallerMemberName] string packageName = "")
 {
     if (string.IsNullOrEmpty(directory))
     {
         directory = Path.Combine("temp", TestName);
     }
     TestOutputDirectories [TestContext.CurrentContext.Test.ID] = Path.Combine(Root, directory);
     TestPackageNames [packageName] = $"com.xamarin.{packageName}";
     return(BuildHelper.CreateApkBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose));
 }
Ejemplo n.º 3
0
 protected ProjectBuilder CreateApkBuilder(string directory, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = false)
 {
     TestOutputDirectories [TestContext.CurrentContext.Test.ID] = Path.Combine(Root, directory);
     return(BuildHelper.CreateApkBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose));
 }
Ejemplo n.º 4
0
 protected ProjectBuilder CreateApkBuilder(string directory, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = true)
 {
     TestContext.CurrentContext.Test.Properties ["Output"] = new string [] { Path.Combine(Root, directory) };
     return(BuildHelper.CreateApkBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose));
 }