Skip to content

feat: add API tests #1563

feat: add API tests

feat: add API tests #1563

Triggered via pull request February 22, 2025 13:41
Status Failure
Total duration 3m 7s
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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 2 and column 63: ↓ (actual) "…VisibleTo("System.IO.Abstractions.TestingHelpers.T…" "…VisibleTo(@"System.IO.Abstractions.TestingHelpers.Tests,…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (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 3 and column 63: ↓ (actual) "…VisibleTo("DynamicProxyGenAssembly2")]\n[assembly:…" "…VisibleTo(@"DynamicProxyGenAssembly2,PublicKey=002…" ↑ (expected)