File tree Expand file tree Collapse file tree 6 files changed +10
-9
lines changed
Uno.UI.RuntimeTests/Tests/Windows_Storage Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -11,31 +11,31 @@ public class Given_ApplicationStorage
11
11
[ TestMethod ]
12
12
public async Task When_FileDoesNotExistsInPackage ( )
13
13
{
14
- var fileExists = await Windows . Storage . Helpers . StorageFileHelper . ExistsInPackage ( "Asset_InvalidFile.xml" ) ;
14
+ var fileExists = await Uno . UI . Toolkit . StorageFileHelper . ExistsInPackage ( "Asset_InvalidFile.xml" ) ;
15
15
16
16
Assert . IsFalse ( fileExists ) ;
17
17
}
18
18
19
19
[ TestMethod ]
20
20
public async Task When_FileExistsInPackage_Nested ( )
21
21
{
22
- var fileExists = await Windows . Storage . Helpers . StorageFileHelper . ExistsInPackage ( "Assets/Fonts/uno-fluentui-assets.ttf" ) ;
22
+ var fileExists = await Uno . UI . Toolkit . StorageFileHelper . ExistsInPackage ( "Assets/Fonts/uno-fluentui-assets.ttf" ) ;
23
23
24
24
Assert . IsTrue ( fileExists ) ;
25
25
}
26
26
27
27
[ TestMethod ]
28
28
public async Task When_FileExistsInPackage_RootPath ( )
29
29
{
30
- var fileExists = await Windows . Storage . Helpers . StorageFileHelper . ExistsInPackage ( "Asset_GetFileFromApplicationUriAsync.xml" ) ;
30
+ var fileExists = await Uno . UI . Toolkit . StorageFileHelper . ExistsInPackage ( "Asset_GetFileFromApplicationUriAsync.xml" ) ;
31
31
32
32
Assert . IsTrue ( fileExists ) ;
33
33
}
34
34
35
35
[ TestMethod ]
36
36
public async Task When_ResourceFileExistsInPackage_Nested ( )
37
37
{
38
- var fileExists = await Windows . Storage . Helpers . StorageFileHelper . ExistsInPackage ( "Assets/Icons/menu.png" ) ;
38
+ var fileExists = await Uno . UI . Toolkit . StorageFileHelper . ExistsInPackage ( "Assets/Icons/menu.png" ) ;
39
39
40
40
Assert . IsTrue ( fileExists ) ;
41
41
}
Original file line number Diff line number Diff line change 7
7
using System . Threading . Tasks ;
8
8
using System . Reflection ;
9
9
10
- namespace Windows . Storage . Helpers ;
10
+ namespace Uno . UI . Toolkit ;
11
11
12
12
partial class StorageFileHelper
13
13
{
Original file line number Diff line number Diff line change 1
1
#nullable enable
2
2
using System . Threading ;
3
3
using System . Threading . Tasks ;
4
+ using Windows . Storage . Helpers ;
4
5
5
- namespace Windows . Storage . Helpers ;
6
+ namespace Uno . UI . Toolkit ;
6
7
7
8
partial class StorageFileHelper
8
9
{
Original file line number Diff line number Diff line change 7
7
using Android . Content . Res ;
8
8
using System . Threading . Tasks ;
9
9
10
- namespace Windows . Storage . Helpers ;
10
+ namespace Uno . UI . Toolkit ;
11
11
12
12
partial class StorageFileHelper
13
13
{
Original file line number Diff line number Diff line change 4
4
using System . Threading . Tasks ;
5
5
using Uno ;
6
6
7
- namespace Windows . Storage . Helpers ;
7
+ namespace Uno . UI . Toolkit ;
8
8
9
9
public partial class StorageFileHelper
10
10
{
Original file line number Diff line number Diff line change 9
9
using Foundation ;
10
10
using System . Threading . Tasks ;
11
11
12
- namespace Windows . Storage . Helpers ;
12
+ namespace Uno . UI . Toolkit ;
13
13
14
14
partial class StorageFileHelper
15
15
{
You can’t perform that action at this time.
0 commit comments