fix(xLoad): fix unload-reload scenarios when using x:Bind with x:Load #19174
Build #5.7.0-PullRequest-19174-151416-19174.17 had test failures
Details
- Failed: 34 (0.03%)
- Passed: 112,349 (92.47%)
- Other: 9,117 (7.50%)
- Total: 121,500
Annotations
Check failure on line 19 in Build log
azure-pipelines / Uno.UI - CI
Build log #L19
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 20 in Build log
azure-pipelines / Uno.UI - CI
Build log #L20
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 128 in Build log
azure-pipelines / Uno.UI - CI
Build log #L128
Bash exited with code '1'.
Check failure on line 128 in Build log
azure-pipelines / Uno.UI - CI
Build log #L128
Bash exited with code '1'.
Check failure on line 1 in When_MaxVisiblePips_GreaterThan_NumberOfPages_Horizontal()
azure-pipelines / Uno.UI - CI
When_MaxVisiblePips_GreaterThan_NumberOfPages_Horizontal()
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 45
====================
Color at (55,10) is not expected
expected: FF8D8D8D #FF8D8D8D
actual : FF000000 #FF000000
tolerance : 0
difference: 141
screenshot size: 60x20
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Tests.Microsoft_UI_Xaml_Controls.Given_PipsPager.When_MaxVisiblePips_GreaterThan_NumberOfPages_Horizontal()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
Check failure on line 1 in When_xLoad_Set_Back_And_Forth()
azure-pipelines / Uno.UI - CI
When_xLoad_Set_Back_And_Forth()
System.NullReferenceException: Object reference not set to an instance of an object
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml.Given_xLoad.When_xLoad_Set_Back_And_Forth()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
Check failure on line 1 in When_Stretch(None, True)
azure-pipelines / Uno.UI - CI
When_Stretch(None, True)
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 112
====================
Color at (50,6) is not expected
expected: FF0ED145 #FF0ED145
actual : 00000000 #00000000
tolerance : 28
difference: 255
screenshot size: 100x100
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, String expectedColorCode, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media.Given_ImageBrush.<>c__DisplayClass0_0.<<When_Stretch>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Uno.UI.RuntimeTests.Helpers.TestHelper.RetryAssert(Func`1 assertion, Int32 count)
at Uno.UI.RuntimeTests.Helpers.TestHelper.RetryAssert(Func`1 assertion, Int32 count)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media.Given_ImageBrush.When_Stretch(Stretch stretch, Boolean useRectangle)
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
Check failure on line 1 in When_Stretch(Uniform, True)
azure-pipelines / Uno.UI - CI
When_Stretch(Uniform, True)
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 114
====================
Color at (6,50) is not expected
expected: FFEB1C24 #FFEB1C24
actual : 00000000 #00000000
tolerance : 28
difference: 255
screenshot size: 100x100
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, String expectedColorCode, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media.Given_ImageBrush.<>c__DisplayClass0_0.<<When_Stretch>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Uno.UI.RuntimeTests.Helpers.TestHelper.RetryAssert(Func`1 assertion, Int32 count)
at Uno.UI.RuntimeTests.Helpers.TestHelper.RetryAssert(Func`1 assertion, Int32 count)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media.Given_ImageBrush.When_Stretch(Stretch stretch, Boolean useRectangle)
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()