Skip to content

Commit 9257689

Browse files
committed
Update
1 parent aadd75b commit 9257689

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ jobs:
247247

248248
if: github.repository_owner == 'files-community' && always()
249249

250-
needs: [build]
251250
runs-on: windows-latest
252251
strategy:
253252
fail-fast: false

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ public class Test_WindowsStorableHelpers
1414
public void Test_GetShellNewItems()
1515
{
1616
using var folder = new WindowsFolder(new Guid("{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"));
17-
18-
Assert.IsNotNull(folder);
17+
Assert.IsNotNull(folder, $"{folder} must not be null.");
1918

2019
var items = folder.GetShellNewMenuItems();
21-
22-
Assert.IsNotNull(items);
20+
Assert.IsNotNull(items, $"{items} must not be null.");
2321

2422
foreach (var item in items)
2523
{
@@ -43,10 +41,10 @@ public void Test_GetOpenWithMenuItems()
4341
Assert.IsTrue(hr.Succeeded, $"Failed to perform the copy operation: {hr}");
4442

4543
using var file = WindowsStorable.TryParse("::{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\\Test_GetOpenWithMenuItems.txt") as WindowsFile;
46-
Assert.IsNotNull(file);
44+
Assert.IsNotNull(file, $"{file} must not be null.");
4745

4846
var items = file.GetOpenWithMenuItems();
49-
Assert.IsNotNull(items);
47+
Assert.IsNotNull(items, $"{items} must not be null.");
5048

5149
foreach (var item in items)
5250
{
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright (c) Files Community
2+
// Licensed under the MIT License.
3+
4+
using Windows.Win32;
5+
using Windows.Win32.Foundation;
6+
using Windows.Win32.Storage.FileSystem;
7+
8+
namespace Files.App.UnitTests.Tests
9+
{
10+
[TestClass]
11+
public class Test_WindowsStorables
12+
{
13+
[TestMethod]
14+
public void Test_Initializations()
15+
{
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)