Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <matt.ward@microsoft.com>2018-05-14 12:52:23 +0300
committerMatt Ward <matt.ward@microsoft.com>2018-05-14 12:52:23 +0300
commite658ce91045786eb391cf9c85e98f362faafca8f (patch)
tree4f40380f2e0f6eab83f97621be7af18ae9a75c48
parentce4ad99f154760108f654514ff9dc8ff83447204 (diff)
[Core] Dispose solutions in ProjectBuildTestsproject-build-tests-dispose-solution
-rw-r--r--main/tests/MonoDevelop.Core.Tests/MonoDevelop.Projects/ProjectBuildTests.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/tests/MonoDevelop.Core.Tests/MonoDevelop.Projects/ProjectBuildTests.cs b/main/tests/MonoDevelop.Core.Tests/MonoDevelop.Projects/ProjectBuildTests.cs
index e8d87ffd8d..2635e76f9e 100644
--- a/main/tests/MonoDevelop.Core.Tests/MonoDevelop.Projects/ProjectBuildTests.cs
+++ b/main/tests/MonoDevelop.Core.Tests/MonoDevelop.Projects/ProjectBuildTests.cs
@@ -470,6 +470,8 @@ namespace MonoDevelop.Projects
res = await p.Build (Util.GetMonitor (), p.Configurations [0].Selector);
Assert.AreEqual (0, res.ErrorCount);
+
+ sol.Dispose ();
}
[Test ()]
@@ -664,6 +666,8 @@ namespace MonoDevelop.Projects
// Build the project. It should work.
var res = await sol.Build (Util.GetMonitor (false), "Debug|x86");
Assert.IsFalse (res.HasErrors);
+
+ sol.Dispose ();
}
[Test]
@@ -689,6 +693,8 @@ namespace MonoDevelop.Projects
await app.Build (Util.GetMonitor (), sol.Configurations ["Release|x86"].Selector, true);
Assert.IsTrue (File.Exists (app.ItemDirectory.Combine ("bin", "Release", "lib.dll")));
Assert.IsTrue (File.Exists (lib.ItemDirectory.Combine ("bin", "Release", "lib2.dll")));
+
+ sol.Dispose ();
}
[Test]
@@ -712,6 +718,8 @@ namespace MonoDevelop.Projects
// Build the app in Debug mode. It should still pick the Extra dependency
await app.Build (Util.GetMonitor (false), sol.Configurations ["Debug|x86"].Selector, false);
Assert.IsTrue (File.Exists (app.ItemDirectory.Combine ("bin", "Debug", "libextra.dll")));
+
+ sol.Dispose ();
}
[Test]
@@ -738,6 +746,8 @@ namespace MonoDevelop.Projects
// Build the app in Debug mode. It should still pick the Extra dependency
await app.Build (Util.GetMonitor (false), sol.Configurations ["Debug|x86"].Selector, false);
Assert.IsTrue (File.Exists (app.ItemDirectory.Combine ("bin", "Debug", "libextra.dll")));
+
+ sol.Dispose ();
}
[Test]
@@ -757,6 +767,8 @@ namespace MonoDevelop.Projects
var res = await sol.Build (Util.GetMonitor (), "Debug|x86");
Assert.IsFalse (res.HasErrors);
+
+ sol.Dispose ();
}
[Test]