static void RunTestCore(MethodInfo actionInfo, params object[] args)
 {
     using (var helper = new NewDomainTestHelper <IsolatedDomainTester>()) {
         helper.AppDomain.AssemblyResolve += AppDomain_AssemblyResolve;
         helper.TestObject.Test(actionInfo, args);
         helper.AppDomain.AssemblyResolve -= AppDomain_AssemblyResolve;
     }
 }
 public static void RunTest(Action test)
 {
     using (var helper = new NewDomainTestHelper <IsolatedDomainTester>()) {
         helper.TestObject.Test(test.Method);
     }
 }
Пример #3
0
 static void RunTestCore(MethodInfo actionInfo, params object[] args)
 {
     using (var helper = new NewDomainTestHelper <IsolatedDomainTester>()) {
         helper.TestObject.Test(actionInfo, args);
     }
 }