From 5b324350632995d87a7c2e3c467916e2fc3cd519 Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Thu, 27 Jun 2019 23:41:26 +0800 Subject: [PATCH] Fix unit test - still fails though.. --- .../AnimationGeneralTests.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/Avalonia.Animation.UnitTests/AnimationGeneralTests.cs b/tests/Avalonia.Animation.UnitTests/AnimationGeneralTests.cs index 234d9f3cc8..287f15d363 100644 --- a/tests/Avalonia.Animation.UnitTests/AnimationGeneralTests.cs +++ b/tests/Avalonia.Animation.UnitTests/AnimationGeneralTests.cs @@ -75,6 +75,10 @@ namespace Avalonia.Animation.UnitTests { using (UnitTestApplication.Start(TestServices.RealStyler)) { + + // initialize SCB handler + var initSCB = new SolidColorBrush(); + var kf1 = new KeyFrame() { Setters = @@ -114,7 +118,7 @@ namespace Avalonia.Animation.UnitTests var root = new TestRoot { Clock = testClk, - Style = + Styles = { new Style(x => x.OfType().Class("Rect")) { @@ -126,6 +130,10 @@ namespace Avalonia.Animation.UnitTests new Setter( Border.WidthProperty, 100), + }, + Animations = + { + animation } } },