Skip to content

Commit b8e7e8d

Browse files
committed
Update
1 parent fe4e5fa commit b8e7e8d

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,5 @@ jobs:
276276
277277
- name: Run the unit tests
278278
run: |
279+
Set-DisplayResolution -Width 1920 -Height 1080 -Force
279280
dotnet test $env:UNIT_TESTS_PROJECT_DIR\bin\**\Files.App.UnitTests.dll

src/Files.App.Storage/Storables/WindowsStorage/WindowsStorable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public IContextMenu* ContextMenu
4545

4646
if (hr.Failed)
4747
{
48-
throw new COMException($"{(nint)pszPath}, {(nint)IID.IID_IShellItem}, {(nint)pShellItem}");
48+
throw new COMException($"Failed with {hr:X}", hr);
4949
}
5050
}
5151

tests/Files.App.UnitTests/Tests/Test_WindowsBulkOperations.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,5 @@ public void Test_WindowsBulkOperations_WithoutSink_AllOps()
5858
hr = bulkOperations.PerformAllOperations();
5959
Assert.IsTrue(hr.Succeeded, $"Failed to perform the delete operation: {hr}");
6060
}
61-
62-
[STATestMethod]
63-
public void Test_WindowsBulkOperations_WithSink_CopyOpsOnly()
64-
{
65-
}
6661
}
6762
}

tests/Files.App.UnitTests/Tests/Test_WindowsStorables.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,5 @@ namespace Files.App.UnitTests.Tests
1010
[STATestClass]
1111
public class Test_WindowsStorables
1212
{
13-
[STATestMethod]
14-
public void Test_Initializations()
15-
{
16-
}
1713
}
1814
}

0 commit comments

Comments
 (0)