-
Notifications
You must be signed in to change notification settings - Fork 335
/
Copy pathProcessHelper.cs
94 lines (80 loc) · 2.52 KB
/
ProcessHelper.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.PlatformAbstractions
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.Interfaces;
/// <summary>
/// Helper class to deal with process related functionality.
/// </summary>
public class ProcessHelper : IProcessHelper
{
/// <inheritdoc/>
public object LaunchProcess(
string processPath,
string arguments,
string workingDirectory,
IDictionary<string, string> environmentVariables,
Action<object, string> errorCallback,
Action<object> exitCallBack)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public string GetCurrentProcessFileName()
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public string GetCurrentProcessLocation()
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public string GetTestEngineDirectory()
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public int GetCurrentProcessId()
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public string GetProcessName(int processId)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public bool TryGetExitCode(object process, out int exitCode)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public void SetExitCallback(int parentProcessId, Action callbackAction)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public void TerminateProcess(object process)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public int GetProcessId(object process)
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public string GetNativeDllDirectory()
{
throw new NotImplementedException();
}
/// <inheritdoc/>
public PlatformArchitecture GetCurrentProcessArchitecture()
{
throw new NotImplementedException();
}
}
}