Skip to content

Commit

Permalink
Use built in sha1 for id generation (#5081)
Browse files Browse the repository at this point in the history
* Use array pool for idgenerator

* package check

* replace custom implementation with sha1
  • Loading branch information
nohwnd authored Jun 4, 2024
1 parent a991f8d commit d84e6e4
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 479 deletions.
2 changes: 1 addition & 1 deletion eng/verify-nupkgs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Verify-Nuget-Packages {
"Microsoft.TestPlatform.CLI" = 470;
"Microsoft.TestPlatform.Extensions.TrxLogger" = 34;
"Microsoft.TestPlatform.ObjectModel" = 92;
"Microsoft.TestPlatform.AdapterUtilities" = 33;
"Microsoft.TestPlatform.AdapterUtilities" = 75;
"Microsoft.TestPlatform.Portable" = 592;
"Microsoft.TestPlatform.TestHost" = 62;
"Microsoft.TestPlatform.TranslationLayer" = 122;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<TargetFrameworks>netstandard2.0;$(NetFrameworkMinimum);net6.0;net8.0;$(NetCurrent)</TargetFrameworks>
<AssemblyName>Microsoft.TestPlatform.AdapterUtilities</AssemblyName>
<RootNamespace>Microsoft.TestPlatform.AdapterUtilities</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<dependencies>
<group targetFramework="netstandard2.0" />
<group targetFramework="net462" />
<group targetFramework="net6.0" />
<group targetFramework="net8.0" />
<group targetFramework="net9.0" />
</dependencies>
</metadata>

Expand All @@ -14,6 +17,9 @@

<file src="netstandard2.0\Microsoft.TestPlatform.AdapterUtilities.dll" target="lib\netstandard2.0" />
<file src="net462\Microsoft.TestPlatform.AdapterUtilities.dll" target="lib\net462" />
<file src="net6.0\Microsoft.TestPlatform.AdapterUtilities.dll" target="lib\net6.0" />
<file src="net8.0\Microsoft.TestPlatform.AdapterUtilities.dll" target="lib\net8.0" />
<file src="net9.0\Microsoft.TestPlatform.AdapterUtilities.dll" target="lib\net9.0" />

<file src="net462\cs\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net462\cs" />
<file src="net462\de\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net462\de" />
Expand Down Expand Up @@ -43,5 +49,47 @@
<file src="netstandard2.0\zh-Hans\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\netstandard2.0\zh-Hans" />
<file src="netstandard2.0\zh-Hant\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\netstandard2.0\zh-Hant" />

<file src="net6.0\cs\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\cs" />
<file src="net6.0\de\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\de" />
<file src="net6.0\es\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\es" />
<file src="net6.0\fr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\fr" />
<file src="net6.0\it\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\it" />
<file src="net6.0\ja\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\ja" />
<file src="net6.0\ko\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\ko" />
<file src="net6.0\pl\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\pl" />
<file src="net6.0\pt-BR\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\pt-BR" />
<file src="net6.0\ru\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\ru" />
<file src="net6.0\tr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\tr" />
<file src="net6.0\zh-Hans\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\zh-Hans" />
<file src="net6.0\zh-Hant\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net6.0\zh-Hant" />

<file src="net8.0\cs\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\cs" />
<file src="net8.0\de\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\de" />
<file src="net8.0\es\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\es" />
<file src="net8.0\fr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\fr" />
<file src="net8.0\it\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\it" />
<file src="net8.0\ja\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\ja" />
<file src="net8.0\ko\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\ko" />
<file src="net8.0\pl\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\pl" />
<file src="net8.0\pt-BR\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\pt-BR" />
<file src="net8.0\ru\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\ru" />
<file src="net8.0\tr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\tr" />
<file src="net8.0\zh-Hans\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\zh-Hans" />
<file src="net8.0\zh-Hant\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net8.0\zh-Hant" />

<file src="net9.0\cs\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\cs" />
<file src="net9.0\de\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\de" />
<file src="net9.0\es\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\es" />
<file src="net9.0\fr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\fr" />
<file src="net9.0\it\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\it" />
<file src="net9.0\ja\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\ja" />
<file src="net9.0\ko\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\ko" />
<file src="net9.0\pl\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\pl" />
<file src="net9.0\pt-BR\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\pt-BR" />
<file src="net9.0\ru\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\ru" />
<file src="net9.0\tr\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\tr" />
<file src="net9.0\zh-Hans\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\zh-Hans" />
<file src="net9.0\zh-Hant\Microsoft.TestPlatform.AdapterUtilities.resources.dll" target="lib\net9.0\zh-Hant" />

</files>
</package>
Loading

0 comments on commit d84e6e4

Please sign in to comment.