11// Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
4- namespace Microsoft . VisualStudio . TestPlatform . Client . MultiTestRunFinalization
4+ namespace Microsoft . VisualStudio . TestPlatform . Client . TestRunAttachmentsProcessing
55{
66 using Microsoft . VisualStudio . TestPlatform . CommunicationUtilities . Interfaces ;
77 using Microsoft . VisualStudio . TestPlatform . CommunicationUtilities . ObjectModel ;
@@ -11,47 +11,48 @@ namespace Microsoft.VisualStudio.TestPlatform.Client.MultiTestRunFinalization
1111 using System . Collections . Generic ;
1212
1313 /// <summary>
14- /// The multi test finalization events handler.
14+ /// The test run attachments processing events handler.
1515 /// </summary>
16- public class MultiTestRunFinalizationEventsHandler : IMultiTestRunFinalizationEventsHandler
16+ ///
17+ public class TestRunAttachmentsProcessingEventsHandler : ITestRunAttachmentsProcessingEventsHandler
1718 {
1819 private readonly ICommunicationManager communicationManager ;
1920
2021 /// <summary>
21- /// Initializes a new instance of the <see cref="MultiTestRunFinalizationEventsHandler "/> class.
22+ /// Initializes a new instance of the <see cref="TestRunAttachmentsProcessingEventsHandler "/> class.
2223 /// </summary>
2324 /// <param name="communicationManager"> The communication manager. </param>
24- public MultiTestRunFinalizationEventsHandler ( ICommunicationManager communicationManager )
25+ public TestRunAttachmentsProcessingEventsHandler ( ICommunicationManager communicationManager )
2526 {
2627 this . communicationManager = communicationManager ;
2728 }
2829
2930 /// <inheritdoc/>
30- public void HandleMultiTestRunFinalizationComplete ( MultiTestRunFinalizationCompleteEventArgs finalizationCompleteEventArgs , IEnumerable < AttachmentSet > lastChunk )
31+ public void HandleTestRunAttachmentsProcessingComplete ( TestRunAttachmentsProcessingCompleteEventArgs attachmentsProcessingCompleteEventArgs , IEnumerable < AttachmentSet > lastChunk )
3132 {
3233 if ( EqtTrace . IsInfoEnabled )
3334 {
34- EqtTrace . Info ( "Multi test run finalization completed." ) ;
35+ EqtTrace . Info ( "Test run attachments processing completed." ) ;
3536 }
3637
37- var payload = new MultiTestRunFinalizationCompletePayload ( )
38+ var payload = new TestRunAttachmentsProcessingCompletePayload ( )
3839 {
39- FinalizationCompleteEventArgs = finalizationCompleteEventArgs ,
40+ AttachmentsProcessingCompleteEventArgs = attachmentsProcessingCompleteEventArgs ,
4041 Attachments = lastChunk
4142 } ;
4243
43- this . communicationManager . SendMessage ( MessageType . MultiTestRunFinalizationComplete , payload ) ;
44+ this . communicationManager . SendMessage ( MessageType . TestRunAttachmentsProcessingComplete , payload ) ;
4445 }
4546
4647 /// <inheritdoc/>
47- public void HandleMultiTestRunFinalizationProgress ( MultiTestRunFinalizationProgressEventArgs finalizationProgressEventArgs )
48+ public void HandleTestRunAttachmentsProcessingProgress ( TestRunAttachmentsProcessingProgressEventArgs AttachmentsProcessingProgressEventArgs )
4849 {
49- var payload = new MultiTestRunFinalizationProgressPayload ( )
50+ var payload = new TestRunAttachmentsProcessingProgressPayload ( )
5051 {
51- FinalizationProgressEventArgs = finalizationProgressEventArgs ,
52+ AttachmentsProcessingProgressEventArgs = AttachmentsProcessingProgressEventArgs ,
5253 } ;
5354
54- this . communicationManager . SendMessage ( MessageType . MultiTestRunFinalizationProgress , payload ) ;
55+ this . communicationManager . SendMessage ( MessageType . TestRunAttachmentsProcessingProgress , payload ) ;
5556 }
5657
5758 /// <inheritdoc/>
0 commit comments