File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed
tests/Files.App.UnitTests/Tests Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments