Skip to content

feat: add API tests #1562

feat: add API tests

feat: add API tests #1562

Triggered via pull request February 22, 2025 13:35
Status Failure
Total duration 3m 40s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

30 errors
VerifyPublicApiForTestingHelpers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly '/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.TestingHelpers/bin/Debug/net472/TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly '/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.TestingHelpers/bin/Debug/netstandard2.1/TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net8.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net8.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForTestingHelpers("net8.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Refl
VerifyPublicApiForTestingHelpers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L32
Expected that publicApi is equal to "[assembly: System.Reflection.A…", but it was "[assembly: System.Reflection.A…" which differs on line 1 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliaPassed! - Failed: 0, Passed: 33, Skipped: 0, Total: 33, Duration: 589 msPassed! - Failed: 0, Passed: 32, Skipped: 0, Total: 32, Duration: 606 msnt…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)
VerifyPublicApiForWrappers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 2 and column 117: ↓ (actual) "…stractions")]\n[assembly: System.Runtime.CompilerSe…" "…stractions.git")]\n[assembly: System.Runtime.Compil…" ↑ (expected)