-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logger support in run settings (#1382)
Pushing on behalf of abhishkk
- Loading branch information
1 parent
e465f47
commit b0fc6c9
Showing
78 changed files
with
5,767 additions
and
2,107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/ITestLoggerManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// 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.ObjectModel.Engine | ||
{ | ||
using System; | ||
|
||
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; | ||
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; | ||
|
||
/// <summary> | ||
/// Orchestrates logger operations for this engine. | ||
/// </summary> | ||
public interface ITestLoggerManager : IDisposable | ||
{ | ||
/// <summary> | ||
/// Initialize loggers. | ||
/// </summary> | ||
void Initialize(string runSettings); | ||
|
||
/// <summary> | ||
/// Handles test run message. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleTestRunMessage(TestRunMessageEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles test run start. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleTestRunStart(TestRunStartEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles test run stats change. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleTestRunStatsChange(TestRunChangedEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles test run complete. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleTestRunComplete(TestRunCompleteEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles discovery message. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleDiscoveryMessage(TestRunMessageEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles discovery start. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleDiscoveryStart(DiscoveryStartEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles discovered tests. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleDiscoveredTests(DiscoveredTestsEventArgs e); | ||
|
||
/// <summary> | ||
/// Handles discovery complete. | ||
/// </summary> | ||
/// <param name="e"></param> | ||
void HandleDiscoveryComplete(DiscoveryCompleteEventArgs e); | ||
} | ||
} |
Oops, something went wrong.