Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run mark-shipped script #4991

Merged
merged 3 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions eng/mark-shipped.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ $ErrorActionPreference = "Stop"

function Set-AsShipped([Parameter(Mandatory)][string]$Directory) {
$shippedFilePath = "$Directory/PublicAPI.Shipped.txt"
$shipped = Get-Content $shippedFilePath -Encoding utf8
[array]$shipped = Get-Content $shippedFilePath -Encoding utf8
if ($null -eq $shipped) {
$shipped = @()
}

$unshippedFilePath = "$Directory/PublicAPI.Unshipped.txt"
$unshipped = Get-Content $unshippedFilePath
[array]$unshipped = Get-Content $unshippedFilePath -Encoding utf8
$removed = @()
$removedPrefix = "*REMOVED*";
Write-Host "Processing $Directory"
Expand All @@ -26,7 +26,7 @@ function Set-AsShipped([Parameter(Mandatory)][string]$Directory) {
}
}

$shipped | Sort-Object | Where-Object { $_ -notin $removed } | Out-File $shippedFilePath -Encoding utf8
@("#nullable enable") + ($shipped | Where-Object { ($_ -notin $removed) -and ($_ -ne "#nullable enable") } | Sort-Object) | Out-File $shippedFilePath -Encoding utf8
"#nullable enable" | Out-File $unshippedFilePath -Encoding utf8
}

Expand Down
97 changes: 97 additions & 0 deletions src/Adapter/MSTest.Engine/PublicAPI/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,98 @@
#nullable enable
Microsoft.Testing.Framework.AssertFailedException
Microsoft.Testing.Framework.AssertFailedException.AssertFailedException() -> void
Microsoft.Testing.Framework.AssertFailedException.AssertFailedException(string! message, System.Exception! ex) -> void
Microsoft.Testing.Framework.AssertFailedException.AssertFailedException(string! message) -> void
Microsoft.Testing.Framework.Configurations.ConfigurationExtensions
Microsoft.Testing.Framework.Configurations.IConfiguration
Microsoft.Testing.Framework.Configurations.IConfiguration.this[string! key].get -> string?
Microsoft.Testing.Framework.Configurations.TestFrameworkConfiguration
Microsoft.Testing.Framework.Configurations.TestFrameworkConfiguration.MaxParallelTests.get -> int
Microsoft.Testing.Framework.Configurations.TestFrameworkConfiguration.TestFrameworkConfiguration(int maxParallelTests = 2147483647) -> void
Microsoft.Testing.Framework.DynamicDataNameProvider
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>.Body.get -> System.Action<Microsoft.Testing.Framework.ITestExecutionContext!, TData>!
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>.GetArguments.get -> System.Func<System.Collections.Generic.IEnumerable<TData>!>!
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>.GetArguments.init -> void
Microsoft.Testing.Framework.InternalUnsafeActionParameterizedTestNode<TData>.InternalUnsafeActionParameterizedTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>.Body.get -> System.Action<Microsoft.Testing.Framework.ITestExecutionContext!, TData>!
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>.GetArguments.get -> System.Func<System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TData>!>!>!
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>.GetArguments.init -> void
Microsoft.Testing.Framework.InternalUnsafeActionTaskParameterizedTestNode<TData>.InternalUnsafeActionTaskParameterizedTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeActionTestNode
Microsoft.Testing.Framework.InternalUnsafeActionTestNode.Body.get -> System.Action<Microsoft.Testing.Framework.ITestExecutionContext!>!
Microsoft.Testing.Framework.InternalUnsafeActionTestNode.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeActionTestNode.InternalUnsafeActionTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>.Body.get -> System.Func<Microsoft.Testing.Framework.ITestExecutionContext!, TData, System.Threading.Tasks.Task!>!
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>.GetArguments.get -> System.Func<System.Collections.Generic.IEnumerable<TData>!>!
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>.GetArguments.init -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionParameterizedTestNode<TData>.InternalUnsafeAsyncActionParameterizedTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>.Body.get -> System.Func<Microsoft.Testing.Framework.ITestExecutionContext!, TData, System.Threading.Tasks.Task!>!
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>.GetArguments.get -> System.Func<System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TData>!>!>!
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>.GetArguments.init -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTaskParameterizedTestNode<TData>.InternalUnsafeAsyncActionTaskParameterizedTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTestNode
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTestNode.Body.get -> System.Func<Microsoft.Testing.Framework.ITestExecutionContext!, System.Threading.Tasks.Task!>!
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTestNode.Body.init -> void
Microsoft.Testing.Framework.InternalUnsafeAsyncActionTestNode.InternalUnsafeAsyncActionTestNode() -> void
Microsoft.Testing.Framework.InternalUnsafeTestArgumentsEntry<TArguments>
Microsoft.Testing.Framework.InternalUnsafeTestArgumentsEntry<TArguments>.Arguments.get -> TArguments
Microsoft.Testing.Framework.InternalUnsafeTestArgumentsEntry<TArguments>.DisplayNameFragment.get -> string?
Microsoft.Testing.Framework.InternalUnsafeTestArgumentsEntry<TArguments>.InternalUnsafeTestArgumentsEntry(TArguments arguments, string! uidFragment, string? displayNameFragment = null) -> void
Microsoft.Testing.Framework.InternalUnsafeTestArgumentsEntry<TArguments>.UidFragment.get -> string!
Microsoft.Testing.Framework.ITestExecutionContext
Microsoft.Testing.Framework.ITestExecutionContext.AddTestAttachmentAsync(System.IO.FileInfo! file, string! displayName, string? description = null) -> System.Threading.Tasks.Task!
Microsoft.Testing.Framework.ITestExecutionContext.CancellationToken.get -> System.Threading.CancellationToken
Microsoft.Testing.Framework.ITestExecutionContext.CancelTestExecution() -> void
Microsoft.Testing.Framework.ITestExecutionContext.CancelTestExecution(int millisecondsDelay) -> void
Microsoft.Testing.Framework.ITestExecutionContext.CancelTestExecution(System.TimeSpan delay) -> void
Microsoft.Testing.Framework.ITestExecutionContext.Configuration.get -> Microsoft.Testing.Framework.Configurations.IConfiguration!
Microsoft.Testing.Framework.ITestExecutionContext.ReportException(System.Exception! exception, System.Threading.CancellationToken? timeoutCancellationToken = null) -> void
Microsoft.Testing.Framework.ITestExecutionContext.TestInfo.get -> Microsoft.Testing.Framework.ITestInfo!
Microsoft.Testing.Framework.ITestInfo
Microsoft.Testing.Framework.ITestInfo.DisplayName.get -> string!
Microsoft.Testing.Framework.ITestInfo.Properties.get -> Microsoft.Testing.Platform.Extensions.Messages.IProperty![]!
Microsoft.Testing.Framework.ITestInfo.StableUid.get -> Microsoft.Testing.Framework.TestNodeUid!
Microsoft.Testing.Framework.ITestNodesBuilder
Microsoft.Testing.Framework.ITestNodesBuilder.BuildAsync(Microsoft.Testing.Framework.ITestSessionContext! testSessionContext) -> System.Threading.Tasks.Task<Microsoft.Testing.Framework.TestNode![]!>!
Microsoft.Testing.Framework.ITestSessionContext
Microsoft.Testing.Framework.ITestSessionContext.AddTestAttachmentAsync(System.IO.FileInfo! file, string! displayName, string? description = null) -> System.Threading.Tasks.Task!
Microsoft.Testing.Framework.ITestSessionContext.CancellationToken.get -> System.Threading.CancellationToken
Microsoft.Testing.Framework.ITestSessionContext.Configuration.get -> Microsoft.Testing.Framework.Configurations.IConfiguration!
Microsoft.Testing.Framework.TestApplicationBuilderExtensions
Microsoft.Testing.Framework.TestNode
Microsoft.Testing.Framework.TestNode.DisplayName.get -> string!
Microsoft.Testing.Framework.TestNode.DisplayName.init -> void
Microsoft.Testing.Framework.TestNode.OverriddenEdgeName.get -> string?
Microsoft.Testing.Framework.TestNode.OverriddenEdgeName.init -> void
Microsoft.Testing.Framework.TestNode.Properties.get -> Microsoft.Testing.Platform.Extensions.Messages.IProperty![]!
Microsoft.Testing.Framework.TestNode.Properties.init -> void
Microsoft.Testing.Framework.TestNode.StableUid.get -> Microsoft.Testing.Framework.TestNodeUid!
Microsoft.Testing.Framework.TestNode.StableUid.init -> void
Microsoft.Testing.Framework.TestNode.TestNode() -> void
Microsoft.Testing.Framework.TestNode.Tests.get -> Microsoft.Testing.Framework.TestNode![]!
Microsoft.Testing.Framework.TestNode.Tests.init -> void
Microsoft.Testing.Framework.TestNodeUid
Microsoft.Testing.Framework.TestNodeUid.<Clone>$() -> Microsoft.Testing.Framework.TestNodeUid!
Microsoft.Testing.Framework.TestNodeUid.Deconstruct(out string! Value) -> void
Microsoft.Testing.Framework.TestNodeUid.Equals(Microsoft.Testing.Framework.TestNodeUid? other) -> bool
Microsoft.Testing.Framework.TestNodeUid.TestNodeUid(string! Value) -> void
Microsoft.Testing.Framework.TestNodeUid.Value.get -> string!
Microsoft.Testing.Framework.TestNodeUid.Value.init -> void
override Microsoft.Testing.Framework.TestNodeUid.Equals(object? obj) -> bool
override Microsoft.Testing.Framework.TestNodeUid.GetHashCode() -> int
override Microsoft.Testing.Framework.TestNodeUid.ToString() -> string!
static Microsoft.Testing.Framework.Configurations.ConfigurationExtensions.GetTestResultDirectory(this Microsoft.Testing.Framework.Configurations.IConfiguration! configuration) -> string!
static Microsoft.Testing.Framework.DynamicDataNameProvider.GetUidFragment(string![]! parameterNames, object?[]! data, int index) -> string!
static Microsoft.Testing.Framework.TestApplicationBuilderExtensions.AddTestFramework(this Microsoft.Testing.Platform.Builder.ITestApplicationBuilder! testApplicationBuilder, Microsoft.Testing.Framework.Configurations.TestFrameworkConfiguration? testFrameworkConfiguration = null, params Microsoft.Testing.Framework.ITestNodesBuilder![]! testNodesBuilder) -> void
static Microsoft.Testing.Framework.TestApplicationBuilderExtensions.AddTestFramework(this Microsoft.Testing.Platform.Builder.ITestApplicationBuilder! testApplicationBuilder, params Microsoft.Testing.Framework.ITestNodesBuilder![]! testNodesBuilder) -> void
static Microsoft.Testing.Framework.TestNodeUid.implicit operator Microsoft.Testing.Framework.TestNodeUid!(string! value) -> Microsoft.Testing.Framework.TestNodeUid!
static Microsoft.Testing.Framework.TestNodeUid.operator !=(Microsoft.Testing.Framework.TestNodeUid? left, Microsoft.Testing.Framework.TestNodeUid? right) -> bool
static Microsoft.Testing.Framework.TestNodeUid.operator ==(Microsoft.Testing.Framework.TestNodeUid? left, Microsoft.Testing.Framework.TestNodeUid? right) -> bool
Loading
Loading