Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(xLoad): fix unload-reload scenarios when using x:Bind with x:Load #19174

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

test: add When_xLoad_Set_Back_And_Forth

dfdecf1
Select commit
Loading
Failed to load commit list.
Open

fix(xLoad): fix unload-reload scenarios when using x:Bind with x:Load #19174

test: add When_xLoad_Set_Back_And_Forth
dfdecf1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI failed Jan 9, 2025 in 1h 4m 5s

Build #5.7.0-PullRequest-19174-151416-19174.17 had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

Build log #L128

Bash exited with code '1'.

Check failure on line 128 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

Build log #L128

Bash exited with code '1'.

Check failure on line 1 in When_MaxVisiblePips_GreaterThan_NumberOfPages_Horizontal()

See this annotation in the file changed.

@azure-pipelines 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()

See this annotation in the file changed.

@azure-pipelines 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)

See this annotation in the file changed.

@azure-pipelines 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)

See this annotation in the file changed.

@azure-pipelines 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()