Skip to content

Commit

Permalink
Cleanup published api
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoRossignoli committed Jan 10, 2022
1 parent 570b983 commit 67499ce
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override ICollection<object> Metadata
{
get
{
return new object[] { this.TypeUri.ToString(), this.FriendlyName, this.FilePath, this.AttachmentsProcessorType != null };
return new object[] { this.TypeUri.ToString(), this.FriendlyName, this.AttachmentsProcessorType != null };
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,10 @@ public class DataCollectorMetadata : IDataCollectorCapabilities
/// <param name="friendlyName">
/// The friendly Name.
/// </param>
public DataCollectorMetadata(string extension, string friendlyName, string filePath, bool hasAttachmentProcessor)
public DataCollectorMetadata(string extension, string friendlyName, bool hasAttachmentProcessor)
{
this.ExtensionUri = extension;
this.FriendlyName = friendlyName;
this.FilePath = filePath;
this.HasAttachmentProcessor = hasAttachmentProcessor;
}

Expand Down Expand Up @@ -134,14 +133,5 @@ public bool HasAttachmentProcessor
get;
private set;
}

/// <summary>
/// Gets the file path of assemblies that contains the data collector.
/// </summary>
public string FilePath
{
get;
private set;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine
/// <summary>
/// Creates and return a list of available attachments processor
/// </summary>
public interface IDataCollectorAttachmentsProcessorsFactory
internal interface IDataCollectorAttachmentsProcessorsFactory
{
/// <summary>
/// Creates and return a list of available attachments processor
Expand All @@ -24,7 +24,7 @@ public interface IDataCollectorAttachmentsProcessorsFactory
/// <summary>
/// Registered data collector attachment processor
/// </summary>
public class DataCollectorAttachmentProcessor
internal class DataCollectorAttachmentProcessor
{
/// <summary>
/// Data collector FriendlyName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ public interface IDataCollectorCapabilities : ITestExtensionCapabilities
/// </summary>
string FriendlyName { get; }

/// <summary>
/// Gets the file path of the assembly that contains the data collector.
/// </summary>
string FilePath { get; }

/// <summary>
/// Check if the data collector has got attachment processor registered.
/// </summary>
Expand Down
12 changes: 2 additions & 10 deletions src/Microsoft.TestPlatform.Common/PublicAPI/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ Microsoft.VisualStudio.TestPlatform.Common.Exceptions.InvalidLoggerException
Microsoft.VisualStudio.TestPlatform.Common.Exceptions.InvalidLoggerException.InvalidLoggerException(string message) -> void
Microsoft.VisualStudio.TestPlatform.Common.Exceptions.InvalidLoggerException.InvalidLoggerException(string message, System.Exception innerException) -> void
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.DataCollectorMetadata(string extension, string friendlyName, string filePath, bool hasAttachmentProcessor) -> void
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.DataCollectorMetadata(string extension, string friendlyName, bool hasAttachmentProcessor) -> void
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.ExtensionUri.get -> string
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.FriendlyName.get -> string
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.HasAttachmentProcessor.get -> bool
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.DataCollectorMetadata.FilePath.get -> string
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestLoggerMetadata
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestLoggerMetadata.ExtensionUri.get -> string
Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestLoggerMetadata.FriendlyName.get -> string
Expand Down Expand Up @@ -80,7 +79,6 @@ Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IBaseTestEventsRegistrar
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IBaseTestEventsRegistrar.LogWarning(string message) -> void
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IDataCollectorCapabilities
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IDataCollectorCapabilities.FriendlyName.get -> string
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IDataCollectorCapabilities.FilePath.get -> string
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.IDataCollectorCapabilities.HasAttachmentProcessor.get -> bool
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.ISettingsProviderCapabilities
Microsoft.VisualStudio.TestPlatform.Common.Interfaces.ISettingsProviderCapabilities.SettingsName.get -> string
Expand Down Expand Up @@ -297,10 +295,4 @@ static Microsoft.VisualStudio.TestPlatform.Common.Utilities.RunSettingsUtilities
virtual Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestPluginCache.GetFilteredExtensions(System.Collections.Generic.List<string> extensions, string endsWithPattern) -> System.Collections.Generic.IEnumerable<string>
virtual Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities.TestPluginInformation.IdentifierData.get -> string
virtual Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities.TestPluginInformation.Metadata.get -> System.Collections.Generic.ICollection<object>
virtual Microsoft.VisualStudio.TestPlatform.Common.Hosting.TestRuntimeProviderManager.GetTestHostManagerByRunConfiguration(string runConfiguration) -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Host.ITestRuntimeProvider
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.DataCollectorAttachmentProcessor
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.DataCollectorAttachmentProcessor.DataCollectorAttachmentProcessor(string friendlyName, Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection.IDataCollectorAttachmentProcessor dataCollectorAttachmentProcessor) -> void
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.DataCollectorAttachmentProcessor.DataCollectorAttachmentProcessorInstance.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection.IDataCollectorAttachmentProcessor
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.DataCollectorAttachmentProcessor.FriendlyName.get -> string
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.IDataCollectorAttachmentsProcessorsFactory
Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.IDataCollectorAttachmentsProcessorsFactory.Create(Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector[] invokedDataCollectors, Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging.IMessageLogger logger) -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.DataCollectorAttachmentProcessor[]
virtual Microsoft.VisualStudio.TestPlatform.Common.Hosting.TestRuntimeProviderManager.GetTestHostManagerByRunConfiguration(string runConfiguration) -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Host.ITestRuntimeProvider
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachments
/// <summary>
/// Orchestrates test run attachments processing operations.
/// </summary>
public class TestRunAttachmentsProcessingManager : ITestRunAttachmentsProcessingManager
internal class TestRunAttachmentsProcessingManager : ITestRunAttachmentsProcessingManager
{
private static string AttachmentsProcessingCompleted = "Completed";
private static string AttachmentsProcessingCanceled = "Canceled";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestHostManagerFactory
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestHostManagerFactory.GetDiscoveryManager() -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.TesthostProtocol.IDiscoveryManager
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestHostManagerFactory.GetExecutionManager() -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.TesthostProtocol.IExecutionManager
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestHostManagerFactory.TestHostManagerFactory(Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.IRequestData requestData) -> void
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager.ProcessTestRunAttachmentsAsync(string runSettingsXml, Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.IRequestData requestData, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> attachments, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> invokedDataCollector, Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestRunAttachmentsProcessingEventsHandler eventHandler, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager.ProcessTestRunAttachmentsAsync(string runSettingsXml, Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.IRequestData requestData, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> attachments, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> invokedDataCollector, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager.TestRunAttachmentsProcessingManager(Microsoft.VisualStudio.TestPlatform.CoreUtilities.Tracing.Interfaces.ITestPlatformEventSource testPlatformEventSource, Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine.IDataCollectorAttachmentsProcessorsFactory dataCollectorAttachmentsProcessorsFactory) -> void
Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestSessionPool
override Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManagerWithDataCollection.Initialize(bool skipDefaultAdapters) -> void
override Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManagerWithDataCollection.SetupChannel(System.Collections.Generic.IEnumerable<string> sources, string runSettings, Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestMessageEventHandler eventHandler) -> bool
Expand Down

0 comments on commit 67499ce

Please sign in to comment.