Skip to content

Commit 29d618d

Browse files
committed
More changes
1 parent 6aa2912 commit 29d618d

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

src/Microsoft.TestPlatform.Client/DesignMode/DesignModeClient.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ private void ProcessRequests(ITestRequestManager testRequestManager)
227227
break;
228228
}
229229

230+
case MessageType.MultiTestRunsFinalizationCancel:
231+
{
232+
testRequestManager.CancelMultiTestRunsFinalization();
233+
break;
234+
}
235+
230236
case MessageType.CustomTestHostLaunchCallback:
231237
{
232238
this.onCustomTestHostLaunchAckReceived?.Invoke(message);

src/Microsoft.TestPlatform.CommunicationUtilities/Interfaces/ITestRequestHandler.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ public interface ITestRequestHandler : IDisposable
7979
/// <param name="lastChunk"> The last Chunk. </param>
8080
void DiscoveryComplete(DiscoveryCompleteEventArgs discoveryCompleteEventArgs, IEnumerable<TestCase> lastChunk);
8181

82-
/// <summary>
83-
/// The multi test runs finalization complete handler
84-
/// </summary>
85-
/// <param name="attachments">Attachments</param>
86-
void MultiTestRunsFinalizationComplete(ICollection<AttachmentSet> attachments);
87-
8882
/// <summary>
8983
/// Launches a process with a given process info under debugger
9084
/// Adapter get to call into this to launch any additional processes under debugger

src/Microsoft.TestPlatform.CrossPlatEngine/EventHandlers/TestRequestHandler.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities
1111
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.EventHandlers;
1212
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces;
1313
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel;
14-
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.DataCollection;
1514
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.EventHandlers;
16-
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.MultiTestRunsFinalization;
1715
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
1816
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client;
1917
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine;
@@ -196,19 +194,6 @@ public void DiscoveryComplete(DiscoveryCompleteEventArgs discoveryCompleteEventA
196194
this.SendData(data);
197195
}
198196

199-
/// <inheritdoc />
200-
public void MultiTestRunsFinalizationComplete(ICollection<AttachmentSet> attachments)
201-
{
202-
var data = this.dataSerializer.SerializePayload(
203-
MessageType.MultiTestRunsFinalizationComplete,
204-
new MultiTestRunsFinalizationCompletePayload
205-
{
206-
Attachments = attachments
207-
},
208-
this.protocolVersion);
209-
this.SendData(data);
210-
}
211-
212197
/// <inheritdoc />
213198
public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo)
214199
{

0 commit comments

Comments
 (0)