Skip to content

fix: MockFileSystem.GetTempPath() returns real OS temp path by default #2123

fix: MockFileSystem.GetTempPath() returns real OS temp path by default

fix: MockFileSystem.GetTempPath() returns real OS temp path by default #2123

Status Failure
Total duration 2m 12s
Artifacts 3

ci.yml

on: pull_request
Matrix: Unit tests
Static code analysis
0s
Static code analysis
Publish Tests Results
13s
Publish Tests Results
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 31 warnings
API tests
Process completed with exit code 255.
API tests
Target "ApiChecks" has thrown an exception
Unit tests (macos-latest)
Process completed with exit code 255.
Unit tests (macos-latest)
Target "DotNetUnitTests" has thrown an exception
Unit tests (windows-latest)
The strategy configuration was canceled because "unit-tests.macos-latest" failed
Unit tests (windows-latest)
The operation was canceled.
Unit tests (ubuntu-latest)
The strategy configuration was canceled because "unit-tests.macos-latest" failed
Unit tests (ubuntu-latest)
The operation was canceled.
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2304,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2032,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(753,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(681,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(432,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(400,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2574,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2212,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(4287,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(3690,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2304,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2032,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(753,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(681,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(432,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(400,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2574,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2212,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(4287,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(3690,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
No files were found with the provided path: ./Artifacts/* ./TestResults/*.trx. No artifacts will be uploaded.
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2304,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IPath.g.cs(2032,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(753,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileStreamFactory.g.cs(681,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(432,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFileInfoFactory.g.cs(400,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2574,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IDirectory.g.cs(2212,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(4287,103): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/obj/Release/net10.0/Mockolate.SourceGenerators/Mockolate.SourceGenerators.MockGenerator/Mock.IFile.g.cs(3690,88): warning CS1574: XML comment has cref attribute 'FileSystem' that could not be resolved [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj::TargetFramework=net10.0]

Artifacts

Produced during runtime
Name Size Digest
API-tests
60.8 KB
sha256:136350b400739adc3c02931db936bd0443d8df05ad72d9dbf2b2cedf496b1113
Linux-artifacts
699 KB
sha256:a26a8ee0be9a403302c45fcdb176a2d28446ed7f49ba3e638cb8d1f46c00cf38
macOS-artifacts
703 KB
sha256:a16098e69b737373c03da3fa0bbd679434ced8cee9ff275c559e0198c98f7937