Browse Source

Updated test output.

ImageMagick couldn't tell that the deferred renderer was failing the
test previously!!?!?
scenegraph-after-breakage
Steven Kirk 10 years ago
parent
commit
6f07978361
  1. 10
      tests/Avalonia.RenderTests/Media/VisualBrushTests.cs
  2. BIN
      tests/TestFiles/Direct2D1/Media/VisualBrush/VisualBrush_InTree_Visual.expected.png

10
tests/Avalonia.RenderTests/Media/VisualBrushTests.cs

@ -429,7 +429,7 @@ namespace Avalonia.Direct2D1.RenderTests.Media
[Fact] [Fact]
public void VisualBrush_InTree_Visual() public void VisualBrush_InTree_Visual()
{ {
TextBlock source; Border source;
Decorator target = new Decorator Decorator target = new Decorator
{ {
Padding = new Thickness(8), Padding = new Thickness(8),
@ -440,10 +440,14 @@ namespace Avalonia.Direct2D1.RenderTests.Media
RowDefinitions = new RowDefinitions("Auto,*"), RowDefinitions = new RowDefinitions("Auto,*"),
Children = Children =
{ {
(source = new TextBlock (source = new Border
{ {
Background = Brushes.Yellow,
HorizontalAlignment = HorizontalAlignment.Left, HorizontalAlignment = HorizontalAlignment.Left,
Text = "Visual" Child = new TextBlock
{
Text = "Visual"
}
}), }),
new Rectangle new Rectangle
{ {

BIN
tests/TestFiles/Direct2D1/Media/VisualBrush/VisualBrush_InTree_Visual.expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Loading…
Cancel
Save