Browse Source
Make sure the resm scheme is registered before we attempt to parse something (#19629)
pull/19642/head
Benedikt Stebner
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
0 deletions
-
tests/Avalonia.Base.UnitTests/Media/FontFamilyTests.cs
|
|
|
@ -2,12 +2,18 @@ |
|
|
|
using System.Linq; |
|
|
|
using Avalonia.Media; |
|
|
|
using Avalonia.Media.Fonts; |
|
|
|
using Avalonia.Platform; |
|
|
|
using Xunit; |
|
|
|
|
|
|
|
namespace Avalonia.Base.UnitTests.Media |
|
|
|
{ |
|
|
|
public class FontFamilyTests |
|
|
|
{ |
|
|
|
public FontFamilyTests() |
|
|
|
{ |
|
|
|
AssetLoader.RegisterResUriParsers(); |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
public void Should_Implicitly_Convert_String_To_FontFamily() |
|
|
|
{ |
|
|
|
|