fix: Throw correct exception when using File.Replace
with case-only changes on MacOS
#1955
65811 passed, 25 failed and 9444 skipped
✅ _fv-az1773-761_2024-08-11_08_31_04.trx
16 tests were completed in 6s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Testably.Abstractions.Parity.Tests.Net6ParityTests | 16✅ | 157ms |
✅ _fv-az1773-761_2024-08-11_08_31_08.trx
209 tests were completed in 11s with 45 passed, 0 failed and 164 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Testably.Abstractions.AccessControl.Tests.AccessControlHelperTests.MockFileSystemTests | 3✅ | 158ms | ||
Testably.Abstractions.AccessControl.Tests.AccessControlHelperTests.RealFileSystemTests | 3✅ | 18ms | ||
Testably.Abstractions.AccessControl.Tests.DirectoryAclExtensionsTests.MockFileSystemTests | 9⚪ | 9ms | ||
Testably.Abstractions.AccessControl.Tests.DirectoryAclExtensionsTests.RealFileSystemTests | 9⚪ | 9ms | ||
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests.MockFileSystemTests | 11⚪ | 11ms | ||
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests.RealFileSystemTests | 11⚪ | 11ms | ||
Testably.Abstractions.AccessControl.Tests.ExceptionMissingFileTests.MockFileSystemTests | 20⚪ | 20ms | ||
Testably.Abstractions.AccessControl.Tests.ExceptionMissingFileTests.RealFileSystemTests | 20⚪ | 20ms | ||
Testably.Abstractions.AccessControl.Tests.ExceptionTests.MockFileSystemTests | 16✅ | 26⚪ | 67ms | |
Testably.Abstractions.AccessControl.Tests.ExceptionTests.RealFileSystemTests | 16✅ | 26⚪ | 62ms | |
Testably.Abstractions.AccessControl.Tests.FileAclExtensionsTests.MockFileSystemTests | 7⚪ | 7ms | ||
Testably.Abstractions.AccessControl.Tests.FileAclExtensionsTests.RealFileSystemTests | 7⚪ | 7ms | ||
Testably.Abstractions.AccessControl.Tests.FileInfoAclExtensionsTests.MockFileSystemTests | 7⚪ | 7ms | ||
Testably.Abstractions.AccessControl.Tests.FileInfoAclExtensionsTests.RealFileSystemTests | 7⚪ | 7ms | ||
Testably.Abstractions.AccessControl.Tests.FileStreamAclExtensionsTests.MockFileSystemTests | 2⚪ | 2ms | ||
Testably.Abstractions.AccessControl.Tests.FileStreamAclExtensionsTests.RealFileSystemTests | 2⚪ | 2ms | ||
Testably.Abstractions.AccessControl.Tests.Internal.AccessControlHelperTests | 7✅ | 561ms |
✅ _fv-az1773-761_2024-08-11_08_31_08[1].trx
898 tests were completed in 15s with 873 passed, 0 failed and 25 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Testably.Abstractions.Testing.Tests.FileSystem.ChangeDescriptionTests | 4✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.ChangeHandlerTests | 7✅ | 2s | ||
Testably.Abstractions.Testing.Tests.FileSystem.DefaultAccessControlStrategyTests | 2✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.DefaultSafeFileHandleStrategyTests | 2✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.DriveInfoMockTests | 26✅ | 37ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.FileMockTests | 2✅ | 5ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.FileStreamFactoryMockTests | 1✅ | 3ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemExtensibilityTests | 26✅ | 9ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherFactoryMockTests | 2✅ | 24ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests | 4✅ | 1⚪ | 160ms | |
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests+EventArgsTests | 6✅ | 54ms | ||
Testably.Abstractions.Testing.Tests.FileSystem.PathMockTests | 4✅ | 138ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializer.DirectoryCleanerTests | 5✅ | 60ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializer.DirectoryDescriptionTests | 4✅ | 51ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializer.FileDescriptionTests | 3✅ | 18ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializer.FileSystemInitializerTests | 16✅ | 57ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializer.TestingExceptionTests | 1✅ | 28ms | ||
Testably.Abstractions.Testing.Tests.FileSystemInitializerExtensionsTests | 17✅ | 1⚪ | 278ms | |
Testably.Abstractions.Testing.Tests.FileSystemInitializerOptionsTests | 1✅ | 0ms | ||
Testably.Abstractions.Testing.Tests.Helpers.AssemblyNameExtensionsTests | 2✅ | 0ms | ||
Testably.Abstractions.Testing.Tests.Helpers.CharExtensionMethodsTests | 13✅ | 0ms | ||
Testably.Abstractions.Testing.Tests.Helpers.EncryptionHelperTests | 3✅ | 8ms | ||
Testably.Abstractions.Testing.Tests.Helpers.EnumerationOptionsHelperTests | 2✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.Helpers.ExceptionFactoryTests | 5✅ | 66ms | ||
Testably.Abstractions.Testing.Tests.Helpers.ExecuteTests | 4✅ | 2ms | ||
Testably.Abstractions.Testing.Tests.Helpers.ExecuteTests+SimulatedPathTests | 3✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.Helpers.FilePlatformIndependenceExtensionsTests | 6✅ | 1⚪ | 3ms | |
Testably.Abstractions.Testing.Tests.Helpers.FileSystemExtensibilityTests | 2✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.Helpers.FileSystemExtensionsTests | 3✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.Helpers.PathHelperTests | 13✅ | 1⚪ | 5ms | |
Testably.Abstractions.Testing.Tests.Helpers.RandomSystemExtensionsTests | 2✅ | 8ms | ||
Testably.Abstractions.Testing.Tests.InterceptionHandlerExtensionsTests | 30✅ | 18ms | ||
Testably.Abstractions.Testing.Tests.MockFileSystemExtensionsTests | 1✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.MockFileSystemInitializationTests | 12✅ | 13ms | ||
Testably.Abstractions.Testing.Tests.MockFileSystemTests | 16✅ | 7⚪ | 42ms | |
Testably.Abstractions.Testing.Tests.MockRandomSystemTests | 1✅ | 0ms | ||
Testably.Abstractions.Testing.Tests.MockTimeSystemTests | 11✅ | 8ms | ||
Testably.Abstractions.Testing.Tests.NotificationHandlerExtensionsTests | 35✅ | 4s | ||
Testably.Abstractions.Testing.Tests.NotificationTests | 13✅ | 2s | ||
Testably.Abstractions.Testing.Tests.RandomProviderTests | 29✅ | 909ms | ||
Testably.Abstractions.Testing.Tests.RandomProviderTests+GeneratorTests | 12✅ | 50ms | ||
Testably.Abstractions.Testing.Tests.RandomSystem.RandomSystemExtensibilityTests | 4✅ | 1ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryInfoFactoryStatisticsTests | 3✅ | 3ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryInfoStatisticsTests | 54✅ | 159ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryStatisticsTests | 49✅ | 457ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DriveInfoFactoryStatisticsTests | 4✅ | 8ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DriveInfoStatisticsTests | 1✅ | 10⚪ | 10ms | |
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileInfoFactoryStatisticsTests | 3✅ | 4ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileInfoStatisticsTests | 45✅ | 2⚪ | 59ms | |
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStatisticsTests | 69✅ | 2⚪ | 343ms | |
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStreamFactoryStatisticsTests | 12✅ | 93ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStreamStatisticsTests | 36✅ | 142ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileSystemWatcherFactoryStatisticsTests | 5✅ | 32ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileSystemWatcherStatisticsTests | 22✅ | 165ms | ||
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.PathStatisticsTests | 47✅ | 232ms | ||
Testably.Abstractions.Testing.Tests.Statistics.MethodStatisticsTests | 3✅ | 12ms | ||
Testably.Abstractions.Testing.Tests.Statistics.ParameterDescriptionTests | 14✅ | 4ms | ||
Testably.Abstractions.Testing.Tests.Statistics.PathStatisticsTests | 12✅ | 6ms | ||
Testably.Abstractions.Testing.Tests.Statistics.PropertyStatisticsTests | 3✅ | 2ms | ||
Testably.Abstractions.Testing.Tests.Statistics.StatisticsTests | 18✅ | 457ms | ||
Testably.Abstractions.Testing.Tests.Storage.InMemoryContainerTests | 19✅ | 81ms | ||
Testably.Abstractions.Testing.Tests.Storage.InMemoryLocationTests | 11✅ | 3ms | ||
Testably.Abstractions.Testing.Tests.Storage.InMemoryStorageTests | 14✅ | 62ms | ||
Testably.Abstractions.Testing.Tests.Storage.LocationExtensionsTests | 7✅ | 3ms | ||
Testably.Abstractions.Testing.Tests.Storage.NullContainerTests | 12✅ | 15ms | ||
Testably.Abstractions.Testing.Tests.TimeProviderTests | 4✅ | 77ms | ||
Testably.Abstractions.Testing.Tests.TimeSystem.NotificationHandlerTests | 17✅ | 25ms | ||
Testably.Abstractions.Testing.Tests.TimeSystem.TimerFactoryMockTests | 2✅ | 301ms | ||
Testably.Abstractions.Testing.Tests.TimeSystem.TimerHandlerTests | 3✅ | 2ms | ||
Testably.Abstractions.Testing.Tests.TimeSystem.TimerMockTests | 19✅ | 4s | ||
Testably.Abstractions.Testing.Tests.TimeSystem.TimeSystemExtensibilityTests | 10✅ | 6ms |
❌ _fv-az1773-761_2024-08-11_08_31_11.trx
10826 tests were completed in 97s with 9475 passed, 4 failed and 1347 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 110 in Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namebbfef72b-cd2f-49f9-80ae-c9ff2353a003", contents: "contents9b31be8a-154a-4019-86a0-c476372d282d")
Failed test found in:
_fv-az1773-761_2024-08-11_08_31_11.trx
_fv-az1773-761_2024-08-11_08_31_11.trx
_fv-az1773-761_2024-08-11_08_31_11.trx
_fv-az1773-761_2024-08-11_08_35_59.trx
_fv-az1773-761_2024-08-11_08_35_59.trx
_fv-az1773-761_2024-08-11_08_35_59.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Testably.Abstractions.TestHelpers.AssertionHelpers.AssertExceptionHResult[TException](TException exception, Nullable`1 hResult, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 110
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 33
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
Check failure on line 24 in Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name04ed5f7b-b3c3-4797-ab74-34fc486019c1", contents: "contents335ae946-cc5b-483d-a3f3-c8874f9b6e16")
Failed test found in:
_fv-az1773-761_2024-08-11_08_31_11.trx
_fv-az1773-761_2024-08-11_08_35_59.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Testably.Abstractions.TestHelpers.AssertionHelpers.AssertExceptionHResult[TException](TException exception, Nullable`1 hResult, String because, Object[] becauseArgs)
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs)
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
Check failure on line 110 in Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name38d7dd14-6edf-4e71-a19c-ab1a3e061b2f", contents: "contentsd3aba598-f06d-4e48-917d-9ad1a8b66f97")
Failed test found in:
_fv-az1773-761_2024-08-11_08_32_43.trx
_fv-az1773-761_2024-08-11_08_32_43.trx
_fv-az1773-761_2024-08-11_08_32_43.trx
_fv-az1773-761_2024-08-11_08_37_35.trx
_fv-az1773-761_2024-08-11_08_37_35.trx
_fv-az1773-761_2024-08-11_08_37_35.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Testably.Abstractions.TestHelpers.AssertionHelpers.AssertExceptionHResult[TException](TException exception, Nullable`1 hResult, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 110
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 33
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 24 in Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name41d19f34-0344-4d2e-a04f-44135933a713", contents: "contents64b6d240-4408-4bca-ad2a-4a20f54f013a")
Failed test found in:
_fv-az1773-761_2024-08-11_08_32_43.trx
_fv-az1773-761_2024-08-11_08_37_35.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Testably.Abstractions.TestHelpers.AssertionHelpers.AssertExceptionHResult[TException](TException exception, Nullable`1 hResult, String because, Object[] becauseArgs)
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs)
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line 110 in Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name200a7ccf-e21f-42fb-b9ca-64e240c82846", contents: "contentsaae27994-649d-4ddd-8658-2d1808ee5267")
Failed test found in:
_fv-az1773-761_2024-08-11_08_34_17.trx
_fv-az1773-761_2024-08-11_08_34_17.trx
_fv-az1773-761_2024-08-11_08_34_17.trx
_fv-az1773-761_2024-08-11_08_39_10.trx
_fv-az1773-761_2024-08-11_08_39_10.trx
_fv-az1773-761_2024-08-11_08_39_10.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Testably.Abstractions.TestHelpers.AssertionHelpers.AssertExceptionHResult[TException](TException exception, Nullable`1 hResult, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 110
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs:line 33
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 24 in Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name4097f61c-6f97-4c8f-a745-9ec5bf3aba72", contents: "contents5b052b34-1fd9-44bb-9ac5-0794797d56ad")
Failed test found in:
_fv-az1773-761_2024-08-11_08_34_17.trx
_fv-az1773-761_2024-08-11_08_39_10.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
Raw output
Expected type to have HResult set to -2147024864, but found -2147024894.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Testably.Abstractions.TestHelpers.AssertionHelpers.BeException[TException](ObjectAssertions objectAssertions, String messageContains, Nullable`1 hResult, String paramName, String because, Object[] becauseArgs)
at Testably.Abstractions.Tests.FileSystem.File.ReplaceTests`1.Replace_CaseOnlyChange_ShouldThrowIOException(String name, String contents) in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs:line 24
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 388 in Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs
github-actions / Ubuntu Tests
Testably.Abstractions.Tests.TimeSystem.TimerTests.MockTimeSystemTests ► Change_WithTimeSpan_ShouldResetTimer
Failed test found in:
_fv-az1773-761_2024-08-11_08_37_35.trx
Error:
Expected triggerTimes[i] to be greater than 1700, but found 0 (difference of -1700).
Raw output
Expected triggerTimes[i] to be greater than 1700, but found 0 (difference of -1700).
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`2.BeGreaterThan(T expected, String because, Object[] becauseArgs)
at Testably.Abstractions.Tests.TimeSystem.TimerTests`1.Change_WithTimeSpan_ShouldResetTimer() in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs:line 388
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)