Skip to content

fix: fixed mock file system exception when using root path as a parameter #1346

fix: fixed mock file system exception when using root path as a parameter

fix: fixed mock file system exception when using root path as a parameter #1346

Re-run triggered July 13, 2024 16:26
Status Failure
Total duration 5m 21s
Artifacts 1

ci.yml

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

Annotations

14 errors and 30 warnings
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
Test (macos-latest)
Process completed with exit code 1.
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
MockFileSystem_Constructor_ShouldAddDifferentDrivesIfNotExist: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L471
Assert.That(drivesInfo.Any(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Is.True) Expected: True But was: False
MockFileSystem_Constructor_ShouldNotDuplicateDrives: tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemTests.cs#L487
Assert.That(drivesInfo.Where(d => string.Equals(d.Name, @"D:\", StringComparison.InvariantCultureIgnoreCase)), Has.Exactly(1).Items) Expected: exactly one item But was: no items
Test (ubuntu-latest)
Process completed with exit code 1.
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#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 (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/MockDirectoryTests.cs#L2072
This call site is reachable on all platforms. 'DirectoryAclExtensions.GetAccessControl(IDirectory, 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/MockFileTests.cs#L609
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 (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L606
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/MockFileTests.cs#L588
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/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/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/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/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/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 (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/MockFileTests.cs#L588
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/MockFileTests.cs#L606
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/MockFileTests.cs#L609
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/MockDirectoryTests.cs#L2072
This call site is reachable on all platforms. 'DirectoryAclExtensions.GetAccessControl(IDirectory, 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/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/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/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/MockDirectoryTests.cs#L2072
This call site is reachable on all platforms. 'DirectoryAclExtensions.GetAccessControl(IDirectory, 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/MockFileTests.cs#L588
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 (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L606
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 (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L609
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)
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/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)

Artifacts

Produced during runtime
Name Size
Code coverage windows-latest Expired
238 KB