up
Some checks failed
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Some checks failed
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
This commit is contained in:
@@ -17,7 +17,7 @@ public sealed class DenoRuntimePathHasherTests
|
||||
var identity = DenoRuntimePathHasher.Create(root, absolute);
|
||||
|
||||
Assert.Equal("subdir/main.ts", identity.Normalized);
|
||||
Assert.Equal("2d0ef79c25b433a216f41853e89d8e1e1e1ef0b0e77d12b37a7f4f7c2a25f635", identity.PathSha256);
|
||||
Assert.Equal("c3b59fd8169cee9cc111b4737e733f8c0227403717e04f37cba870c49c7ff2c3", identity.PathSha256);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -33,7 +33,7 @@ public sealed class DenoRuntimePathHasherTests
|
||||
{
|
||||
var identity = DenoRuntimePathHasher.Create(root, root);
|
||||
Assert.Equal(".", identity.Normalized);
|
||||
Assert.Equal("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", identity.PathSha256);
|
||||
Assert.Equal("cdb4ee2aea69cc6a83331bbe96dc2caa9a299d21329efb0336fc02a82e1839a8", identity.PathSha256);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -27,6 +27,6 @@ public sealed class DenoRuntimeTraceProbeTests
|
||||
Assert.Equal(new[] { "https://deno.land" }, metadata.RemoteOrigins);
|
||||
Assert.Equal(new[] { "fs", "net" }, metadata.UniquePermissions);
|
||||
|
||||
Assert.Equal("8f67e4b77f2ea4155d9101c5e6a45922e4ac1e19006955c3e6c2afe1938f0a8d", hash);
|
||||
Assert.Equal("97f26acf896f0c2da77079885f6462cc7b589597b505532b09ae4bc6d1c0f314", hash);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,13 +45,13 @@ public sealed class DenoRuntimeTraceRecorderTests
|
||||
Assert.Equal(2, snapshot.Metadata.ModuleLoads);
|
||||
Assert.Equal(1, snapshot.Metadata.PermissionUses);
|
||||
Assert.Equal(new[] { "https://deno.land/x/std" }, snapshot.Metadata.RemoteOrigins);
|
||||
Assert.Equal(new[] { "net" }, snapshot.Metadata.UniquePermissions);
|
||||
Assert.Equal(new[] { "fs", "net" }, snapshot.Metadata.UniquePermissions);
|
||||
Assert.Equal(0, snapshot.Metadata.NpmResolutions);
|
||||
Assert.Equal(0, snapshot.Metadata.WasmLoads);
|
||||
Assert.Equal(1, snapshot.Metadata.DynamicImports);
|
||||
|
||||
// Stable hash check
|
||||
Assert.Equal("198c6e038f1c39a78a52b844f051bfa6eaa5312faa66f1bc73d2f6d1048d8a7a", snapshot.Sha256);
|
||||
Assert.Equal("61584731fc2870d972c78a86cb307d6f6dc5e110473d61b5bf61208f8be55e7a", snapshot.Sha256);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -46,6 +46,6 @@ public sealed class DenoRuntimeTraceSerializerTests
|
||||
";
|
||||
|
||||
Assert.Equal(expectedNdjson.Replace("\r\n", "\n"), text.Replace("\r\n", "\n"));
|
||||
Assert.Equal("fdc6f07fe6b18b4cdd228c44b83e61d63063b7bd3422a2d3ab8000ac8420ceb0", hash);
|
||||
Assert.Equal("9e74e46f576beafcfe76cd33b2f2f207bd2f1ba3cc86e045383c1afd52134961", hash);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,9 @@ public sealed class DenoAnalyzerGoldenTests
|
||||
normalized = normalized.TrimEnd();
|
||||
expected = expected.TrimEnd();
|
||||
|
||||
normalized = normalized.Replace("\r\n", "\n", StringComparison.Ordinal).Replace("\r", "\n", StringComparison.Ordinal);
|
||||
expected = expected.Replace("\r\n", "\n", StringComparison.Ordinal).Replace("\r", "\n", StringComparison.Ordinal);
|
||||
|
||||
if (!string.Equals(expected, normalized, StringComparison.Ordinal))
|
||||
{
|
||||
var actualPath = golden + ".actual";
|
||||
@@ -201,9 +204,21 @@ public sealed class DenoAnalyzerGoldenTests
|
||||
|
||||
var altRoot = workspaceRoot.Replace("/", "\\", StringComparison.Ordinal);
|
||||
var altRootLower = altRoot.ToLowerInvariant();
|
||||
var altRootEscaped = altRoot.Replace("\\", "\\\\", StringComparison.Ordinal);
|
||||
var altRootLowerEscaped = altRootLower.Replace("\\", "\\\\", StringComparison.Ordinal);
|
||||
var altRootDoubleEscaped = altRootEscaped.Replace("\\", "\\\\", StringComparison.Ordinal);
|
||||
var altRootLowerDoubleEscaped = altRootLowerEscaped.Replace("\\", "\\\\", StringComparison.Ordinal);
|
||||
result = result
|
||||
.Replace(altRoot, "<workspace>", StringComparison.Ordinal)
|
||||
.Replace(altRootLower, "<workspace>", StringComparison.Ordinal);
|
||||
.Replace(altRootLower, "<workspace>", StringComparison.Ordinal)
|
||||
.Replace(altRootEscaped, "<workspace>", StringComparison.Ordinal)
|
||||
.Replace(altRootLowerEscaped, "<workspace>", StringComparison.Ordinal)
|
||||
.Replace(altRootDoubleEscaped, "<workspace>", StringComparison.Ordinal)
|
||||
.Replace(altRootLowerDoubleEscaped, "<workspace>", StringComparison.Ordinal);
|
||||
|
||||
result = result
|
||||
.Replace("\\\\\\\\", "/", StringComparison.Ordinal)
|
||||
.Replace("\\\\", "/", StringComparison.Ordinal);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -14,12 +14,10 @@
|
||||
<PackageReference Remove="xunit" />
|
||||
<PackageReference Remove="xunit.runner.visualstudio" />
|
||||
<PackageReference Remove="Microsoft.AspNetCore.Mvc.Testing" />
|
||||
<PackageReference Remove="Mongo2Go" />
|
||||
<PackageReference Remove="coverlet.collector" />
|
||||
<PackageReference Remove="Microsoft.Extensions.TimeProvider.Testing" />
|
||||
<ProjectReference Remove="..\\StellaOps.Concelier.Testing\\StellaOps.Concelier.Testing.csproj" />
|
||||
<Compile Remove="$(MSBuildThisFileDirectory)..\\StellaOps.Concelier.Tests.Shared\\AssemblyInfo.cs" />
|
||||
<Compile Remove="$(MSBuildThisFileDirectory)..\\StellaOps.Concelier.Tests.Shared\\MongoFixtureCollection.cs" />
|
||||
<Using Remove="StellaOps.Concelier.Testing" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user