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
path: root/main/src
diff options
context:
space:
mode:
authortherzok <marius.ungureanu@xamarin.com>2016-08-09 21:09:21 +0300
committertherzok <marius.ungureanu@xamarin.com>2016-08-09 21:09:21 +0300
commit87c12bde3ca0c307a9ef60b6170d030242934131 (patch)
tree8e9c28951321c43b9d17b893d7cc3990d31bd362 /main/src
parente26f27606ce07a025448b424214f8e3d8142cfa3 (diff)
[NUnit] Don't create an appdomain for the NUnit test runner itself.
In the case the nunit.framework assembly is not referenced with localcopy=true, this means that the nunit.framework assembly would be probed by the test runner inside the test directory, and it would not find nunit.framework.dll. By not using an appdomain, we use the one which is discovered by SupportAssemblies via XS and then it can be run. Bug 41921 - NUnit2 and NUnit3 testing Internal Error
Diffstat (limited to 'main/src')
-rw-r--r--main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs
index 99cfb26219..f03e676518 100644
--- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs
+++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs
@@ -89,7 +89,7 @@ namespace NUnit3Runner
TestPackage package = new TestPackage (path);
package.AddSetting ("ShadowCopyFiles", false);
package.AddSetting ("ProcessModel", "InProcess");
- package.AddSetting ("DomainUsage", "Single");
+ package.AddSetting ("DomainUsage", "None");
return package;
}