Skip to content

fix: Make MockDirectory.Exists behavior with forward slash on Windows… #34

fix: Make MockDirectory.Exists behavior with forward slash on Windows…

fix: Make MockDirectory.Exists behavior with forward slash on Windows… #34

Triggered via push March 13, 2025 19:59
Status Success
Total duration 7m 21s
Artifacts 5

build.yml

on: push
Matrix: Unit tests
Static code analysis
2m 40s
Static code analysis
Publish Tests Results
14s
Publish Tests Results
Finalize release
0s
Finalize release
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 4 notices
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(56,12): warning S2290: Remove this 'virtual' modifier of 'Error'. (https://rules.sonarsource.com/csharp/RSPEC-2290) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(47,12): warning S2290: Remove this 'virtual' modifier of 'Changed'. (https://rules.sonarsource.com/csharp/RSPEC-2290) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(33,26): warning S4136: All 'Delete' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(19,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
1134 tests found (test 1 to 414)
There are 1134 tests, see "Raw output" for the list of tests 1 to 414.
1134 tests found (test 415 to 884)
There are 1134 tests, see "Raw output" for the list of tests 415 to 884.
1134 tests found (test 885 to 1134)
There are 1134 tests, see "Raw output" for the list of tests 885 to 1134.

Artifacts

Produced during runtime
Name Size Digest
API-tests Expired
2.84 KB
sha256:40a3c997ee0f5999dfa7956a68c6b5955e390bbc9a7e7c511027fa960d0e13d9
Linux-artifacts Expired
670 KB
sha256:8cd60b91a2ab5c392b4e1491775f066714801fca28b2acdefb2c2b5bb7d6f03d
Packages Expired
895 KB
sha256:32510b3e7b1ee49b5ceac347900bc813358fd8bb1aeae95385a552893a71f61c
Windows-artifacts Expired
847 KB
sha256:9a46d693145dfc30f1ca03a965d4f8646f595ecb5a503c402a19b84f089287ed
macOS-artifacts Expired
667 KB
sha256:e03d34bc218cd0eafc196383e4d956865883e4971c58c90317671ce6b837b3e5