Skip to content

feat: add API tests #1561

feat: add API tests

feat: add API tests #1561

Triggered via pull request February 22, 2025 13:32
Status Failure
Total duration 3m 41s
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#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#L29
System.IO.FileNotFoundException : Could not load file or assembly '/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.TestingHelpers/bin/Debug/net6.0/TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
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.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)