Skip to content

feat: add testability for DriveInfo (#1094) #1270

feat: add testability for DriveInfo (#1094)

feat: add testability for DriveInfo (#1094) #1270

Triggered via push March 9, 2024 15:57
Status Success
Total duration 10m 22s
Artifacts 4

ci.yml

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

Annotations

30 warnings
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L26
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L42
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L85
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L128
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L144
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L159
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L26
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L42
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L85
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L128
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L144
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L159
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L26
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L42
'MockFileStreamFactory.Create(string, FileMode, FileAccess)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode, FileAccess)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L85
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L128
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L144
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamFactoryTests.cs#L159
'MockFileStreamFactory.Create(string, FileMode)' is obsolete: 'Use `IFileStreamFactory.New(string, FileMode)` instead.'
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

Artifacts

Produced during runtime
Name Size
Code coverage macos-latest Expired
187 KB
Code coverage ubuntu-latest Expired
186 KB
Code coverage windows-latest Expired
242 KB
NuGet packages Expired
1.27 MB