|
|
|
@ -32,6 +32,23 @@ namespace Avalonia.Direct2D1.RenderTests.Media |
|
|
|
get { return System.IO.Path.Combine(OutputPath, "github_icon_small.png"); } |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
public async Task ImageBrush_NullSource() |
|
|
|
{ |
|
|
|
Decorator target = new Decorator |
|
|
|
{ |
|
|
|
Width = 200, |
|
|
|
Height = 200, |
|
|
|
Child = new Rectangle |
|
|
|
{ |
|
|
|
Margin = new Thickness(8), |
|
|
|
Fill = new ImageBrush() |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
await RenderToFile(target); |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
public async Task ImageBrush_Tile_Fill() |
|
|
|
{ |
|
|
|
|