diff --git a/tests/Content/images/上田雅美.jpg b/tests/Content/images/上田雅美.jpg new file mode 100644 index 00000000..04ed9859 Binary files /dev/null and b/tests/Content/images/上田雅美.jpg differ diff --git a/tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.csproj b/tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.csproj index e635123a..86f88c15 100644 --- a/tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.csproj +++ b/tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.csproj @@ -120,72 +120,12 @@ - - fonts\content-font.ttf + + fonts\%(FileName)%(Extension) Always - - fonts\Distortable.ttf - Always - - - fonts\Em.ttf - Always - - - fonts\Funkster.ttf - Always - - - fonts\HangingS.ttf - Always - - - fonts\ReallyBigA.ttf - Always - - - fonts\Roboto2-Regular_NoEmbed.ttf - Always - - - fonts\SpiderSymbol.ttf - Always - - - fonts\test.ttc - Always - - - images\baboon.jpg - Always - - - images\baboon.png - Always - - - images\color-wheel.png - Always - - - images\index8.png - Always - - - images\logos.svg - Always - - - images\animated-heart.gif - Always - - - images\CMYK.jpg - Always - - - images\map.png + + images\%(FileName)%(Extension) Always diff --git a/tests/Tests/SKStreamTest.cs b/tests/Tests/SKStreamTest.cs new file mode 100644 index 00000000..042879b2 --- /dev/null +++ b/tests/Tests/SKStreamTest.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using Xunit; + +namespace SkiaSharp.Tests +{ + public class SKStreamTest : SKTest + { + [SkippableFact(Skip = "Windows does not support non-ASCII characters: https://github.com/mono/SkiaSharp/issues/390")] + public void SpecialCharactersPath() + { + var stream = new SKFileStream(@"C:\Projects\SkiaSharp\tests\Content\images\上田jj雅美.jpg"); + Assert.NotNull(stream); + Assert.True(stream.Length > 0); + } + } +}