File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
MaterialDesignThemes.UITests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
1
+ <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >netcoreapp3.1</TargetFramework >
11
11
12
12
<ItemGroup >
13
13
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.7.1" />
14
- <PackageReference Include =" XAMLTest" Version =" 0.0.6-ci119 " />
14
+ <PackageReference Include =" XAMLTest" Version =" 0.0.8 " />
15
15
<PackageReference Include =" xunit" Version =" 2.4.1" />
16
16
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" >
17
17
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public TestBase(ITestOutputHelper output)
28
28
protected async Task < Color > GetThemeColor ( string name )
29
29
{
30
30
IResource resource = await App . GetResource ( name ) ;
31
- return resource . GetValueAs < Color ? > ( ) ?? throw new Exception ( $ "Failed to convert resource '{ name } ' to color") ;
31
+ return resource . GetAs < Color ? > ( ) ?? throw new Exception ( $ "Failed to convert resource '{ name } ' to color") ;
32
32
}
33
33
34
34
protected async Task < IVisualElement > LoadXaml ( string xaml )
You can’t perform that action at this time.
0 commit comments