Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubch1 committed Jun 10, 2020
1 parent 6aa2912 commit 29d618d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ private void ProcessRequests(ITestRequestManager testRequestManager)
break;
}

case MessageType.MultiTestRunsFinalizationCancel:
{
testRequestManager.CancelMultiTestRunsFinalization();
break;
}

case MessageType.CustomTestHostLaunchCallback:
{
this.onCustomTestHostLaunchAckReceived?.Invoke(message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ public interface ITestRequestHandler : IDisposable
/// <param name="lastChunk"> The last Chunk. </param>
void DiscoveryComplete(DiscoveryCompleteEventArgs discoveryCompleteEventArgs, IEnumerable<TestCase> lastChunk);

/// <summary>
/// The multi test runs finalization complete handler
/// </summary>
/// <param name="attachments">Attachments</param>
void MultiTestRunsFinalizationComplete(ICollection<AttachmentSet> attachments);

/// <summary>
/// Launches a process with a given process info under debugger
/// Adapter get to call into this to launch any additional processes under debugger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.EventHandlers;
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces;
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.DataCollection;
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.EventHandlers;
using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.MultiTestRunsFinalization;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine;
Expand Down Expand Up @@ -196,19 +194,6 @@ public void DiscoveryComplete(DiscoveryCompleteEventArgs discoveryCompleteEventA
this.SendData(data);
}

/// <inheritdoc />
public void MultiTestRunsFinalizationComplete(ICollection<AttachmentSet> attachments)
{
var data = this.dataSerializer.SerializePayload(
MessageType.MultiTestRunsFinalizationComplete,
new MultiTestRunsFinalizationCompletePayload
{
Attachments = attachments
},
this.protocolVersion);
this.SendData(data);
}

/// <inheritdoc />
public int LaunchProcessWithDebuggerAttached(TestProcessStartInfo testProcessStartInfo)
{
Expand Down

0 comments on commit 29d618d

Please sign in to comment.