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

RemoteExecutorTestBase.Mobile.cs « test-helpers « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba6172d43b02699c2f15c7fb04a5b732882a80a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Reflection;
using System.Text;
using Xunit;

namespace System.Diagnostics
{
	// this file can be used in order to ignore all RemoteInvoke-tests
	// should be used instead of /corefx/.../RemoteExecutorTestBase.Process.cs
	public abstract partial class RemoteExecutorTestBase : FileCleanupTestBase
	{
		static RemoteInvokeHandle RemoteInvoke (MethodInfo method, string[] args, 
			RemoteInvokeOptions options, bool pasteArguments = true)
		{
			options = options ?? new RemoteInvokeOptions ();
			//do nothing. Or we can invoke the method in the same process instead:
			//method.Invoke(Activator.CreateInstance(method.DeclaringType), args.OfType<object>().ToArray());
			return new RemoteInvokeHandle (null, null);
		}
	}
}