Skip to content

refactor: remove workaround for Snapshooter/NUnit 4/.NET 4.6.2 compat… #1233

refactor: remove workaround for Snapshooter/NUnit 4/.NET 4.6.2 compat…

refactor: remove workaround for Snapshooter/NUnit 4/.NET 4.6.2 compat… #1233

Triggered via pull request January 8, 2024 14:44
Status Failure
Total duration 11m 23s
Artifacts 2

ci.yml

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

Annotations

8 errors and 30 warnings
Directory: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L29
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
DirectoryInfo: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L36
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
DriveInfo: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L43
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
File: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L15
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
FileInfo: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L22
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
FileSystemWatcher: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L57
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
Path: tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs#L50
System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint)'.
Test (windows-latest)
Process completed with exit code 1.
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. '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 (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. '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 (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#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)

Artifacts

Produced during runtime
Name Size
Code coverage macos-latest Expired
185 KB
Code coverage ubuntu-latest Expired
186 KB