fix: Throw correct exception when using File.Replace
with case-only changes on MacOS
#1955
ci.yml
on: pull_request
Stryker mutation testing (Ubuntu)
6m 15s
Stryker mutation testing (Windows)
6m 40s
Test (MacOS)
11m 55s
Test (Ubuntu)
11m 26s
Test (Windows)
20m 4s
Test (.NET Framework)
5m 37s
Test (Examples)
3m 59s
Stryker mutation testing result
2s
Annotations
20 errors and 9 warnings
Test (Ubuntu)
Process returned exit code 1
Launched as "bash --noprofile --norc -eo pipefail /home/runner/work/_actions/Wandalen/wretry.action/v3.5.0_js_action/src/script.sh"
Launched at "/home/runner/work/Testably.Abstractions/Testably.Abstractions"
Attempts exhausted, made 2 attempts :
Attempt #1 started at : 08:30:56 GMT+0000 (Coordinated Universal Time)
Attempt #2 started at : 08:35:44 GMT+0000 (Coordinated Universal Time)
|
Test (MacOS)
Process returned exit code 1
Launched as "bash --noprofile --norc -eo pipefail /Users/runner/work/_actions/Wandalen/wretry.action/v3.5.0_js_action/src/script.sh"
Launched at "/Users/runner/work/Testably.Abstractions/Testably.Abstractions"
Attempts exhausted, made 2 attempts :
Attempt #1 started at : 08:30:59 GMT+0000 (Coordinated Universal Time)
Attempt #2 started at : 08:36:05 GMT+0000 (Coordinated Universal Time)
|
Test (Windows)
Process returned exit code 1
Launched as "pwsh -command ". 'D:\a\_actions\Wandalen\wretry.action\v3.5.0_js_action\src\script.ps1'""
Launched at "/D/a/Testably.Abstractions/Testably.Abstractions"
Attempts exhausted, made 2 attempts :
Attempt #1 started at : 08:31:59 GMT+0000 (Coordinated Universal Time)
Attempt #2 started at : 08:40:36 GMT+0000 (Coordinated Universal Time)
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name322935e7-f348-4904-95db-c68cea2eb1e2", contents: "contentsbc5eae17-93fc-497e-b7ba-b87c5f3a7df3"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
_Mac-1723363828148_2024-08-11_08_31_05[1].trx
_Mac-1723363828148_2024-08-11_08_31_05[1].trx
_Mac-1723363828148_2024-08-11_08_31_05[1].trx
_Mac-1723363828148_2024-08-11_08_36_10[1].trx
_Mac-1723363828148_2024-08-11_08_36_10[1].trx
_Mac-1723363828148_2024-08-11_08_36_10[1].trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namebe3648c2-c289-44ca-a1f9-6e5c34e5ffc4", contents: "contents683cecc7-7603-43af-ae28-25553dc6b08a"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
Failed test found in:
_Mac-1723363828148_2024-08-11_08_31_05[1].trx
_Mac-1723363828148_2024-08-11_08_36_10[1].trx
Error:
Expected type to have HResult set to -2147024864, but found -2146232800.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namedfb89d2a-a485-43c3-b2aa-e83a909b43b7", contents: "contents8554e070-4e2d-4d2b-ae62-2353bf450792"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
_Mac-1723363828148_2024-08-11_08_32_46.trx
_Mac-1723363828148_2024-08-11_08_32_46.trx
_Mac-1723363828148_2024-08-11_08_32_46.trx
_Mac-1723363828148_2024-08-11_08_37_51.trx
_Mac-1723363828148_2024-08-11_08_37_51.trx
_Mac-1723363828148_2024-08-11_08_37_51.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name7601e069-e181-47e7-b318-cf7487112d3c", contents: "contents64b369f9-8a60-4a6a-b4ef-41b3eaec8f23"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
Failed test found in:
_Mac-1723363828148_2024-08-11_08_32_46.trx
_Mac-1723363828148_2024-08-11_08_37_51.trx
Error:
Expected type to have HResult set to -2147024864, but found -2146232800.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "named5484bd2-3c2f-4481-825f-77ffb2d87543", contents: "contentsc6d5fd15-ff48-4137-927c-4f238994b7b5"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
_Mac-1723363828148_2024-08-11_08_34_25.trx
_Mac-1723363828148_2024-08-11_08_34_25.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.MockFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "named7ffc1de-f2f7-4fe7-850b-556e7c3e220f", contents: "contents2a7c7c0c-a2e6-4777-84b1-a436bbd48349"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
_Mac-1723363828148_2024-08-11_08_34_25.trx
_Mac-1723363828148_2024-08-11_08_39_32.trx
_Mac-1723363828148_2024-08-11_08_39_32.trx
_Mac-1723363828148_2024-08-11_08_39_32.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name4a7c9f42-c19c-4f05-afc3-2fd8bccb41bf", contents: "contentscfa2b5ac-f85b-4abd-92d0-49895e1ef6f7"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
Failed test found in:
_Mac-1723363828148_2024-08-11_08_34_25.trx
_Mac-1723363828148_2024-08-11_08_39_32.trx
Error:
Expected type to have HResult set to -2147024864, but found -2146232800.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namebbfef72b-cd2f-49f9-80ae-c9ff2353a003", contents: "contents9b31be8a-154a-4019-86a0-c476372d282d"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
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.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name04ed5f7b-b3c3-4797-ab74-34fc486019c1", contents: "contents335ae946-cc5b-483d-a3f3-c8874f9b6e16"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
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.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name38d7dd14-6edf-4e71-a19c-ab1a3e061b2f", contents: "contentsd3aba598-f06d-4e48-917d-9ad1a8b66f97"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
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.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name41d19f34-0344-4d2e-a04f-44135933a713", contents: "contents64b6d240-4408-4bca-ad2a-4a20f54f013a"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
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.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name200a7ccf-e21f-42fb-b9ca-64e240c82846", contents: "contentsaae27994-649d-4ddd-8658-2d1808ee5267"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
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.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name4097f61c-6f97-4c8f-a745-9ec5bf3aba72", contents: "contents5b052b34-1fd9-44bb-9ac5-0794797d56ad"):
Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
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.
|
Testably.Abstractions.Tests.TimeSystem.TimerTests.MockTimeSystemTests ► Change_WithTimeSpan_ShouldResetTimer:
Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs#L388
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).
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name0fd029bb-6251-433e-852d-037b9098eaf5", contents: "contents99fe6c09-e2ab-46df-8ba6-2cdaae80d439"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
runneradmin_fv-az1105-32_2024-08-11_08_32_11.trx
runneradmin_fv-az1105-32_2024-08-11_08_32_11.trx
runneradmin_fv-az1105-32_2024-08-11_08_40_47.trx
runneradmin_fv-az1105-32_2024-08-11_08_40_47.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namef3cf15cb-99d9-47c2-bc6e-ec3c3ca1cd67", contents: "contentsb2089805-f0de-43c2-844a-652b010fc1e5"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
runneradmin_fv-az1105-32_2024-08-11_08_35_03.trx
runneradmin_fv-az1105-32_2024-08-11_08_35_03.trx
runneradmin_fv-az1105-32_2024-08-11_08_43_39.trx
runneradmin_fv-az1105-32_2024-08-11_08_43_39.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namea6319b22-4d37-4d73-9447-c371f650e70f", contents: "contents5e46985d-c46c-462a-874a-57166f48ff34"):
Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in:
runneradmin_fv-az1105-32_2024-08-11_08_37_51.trx
runneradmin_fv-az1105-32_2024-08-11_08_37_51.trx
runneradmin_fv-az1105-32_2024-08-11_08_46_31.trx
runneradmin_fv-az1105-32_2024-08-11_08_46_31.trx
Error:
Expected type to have HResult set to -2147024864, but found -2147024894.
|
Test (Examples)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (.NET Framework)
The following actions uses node12 which is deprecated and will be forced to run on node16: darenm/Setup-VSTest@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test (.NET Framework)
The following actions use a deprecated Node.js version and will be forced to run on node20: darenm/Setup-VSTest@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Stryker mutation testing (Ubuntu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Stryker mutation testing (Windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (Ubuntu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (MacOS)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (Windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Code coverage (.NET Framework)", "PR_NUMBER", "Stryker", "Test results (.NET Framework)", "Test results (MacOS)", "Test results (Ubuntu)", "Test results (Windows)".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Code coverage (.NET Framework)
|
10.8 MB |
|
PR_NUMBER
|
5 Bytes |
|
Stryker
|
152 MB |
|
Test results (.NET Framework)
|
17.5 MB |
|
Test results (MacOS)
|
191 MB |
|
Test results (Ubuntu)
|
189 MB |
|
Test results (Windows)
|
188 MB |
|