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

perf(brush): Don't use reflection to invoke brush updates #18899

Merged
merged 14 commits into from
Nov 27, 2024

chore: Simplify for loop

63ddc19
Select commit
Loading
Failed to load commit list.
Merged

perf(brush): Don't use reflection to invoke brush updates #18899

chore: Simplify for loop
63ddc19
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI failed Nov 27, 2024 in 3h 10m 31s

Build #5.6.0-PullRequest-18899-148555-18899.975 had test failures

Details

Tests

  • Failed: 130 (0.12%)
  • Passed: 96,366 (90.44%)
  • Other: 10,058 (9.44%)
  • Total: 106,554

Annotations

Check failure on line 29 in Build log

See this annotation in the file changed.

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

Build log #L29

Cmd.exe exited with code '-532462766'.

Check failure on line 1 in ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()

See this annotation in the file changed.

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

ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Expected object to be [865, -678], but found [865, 53].
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.ObjectAssertions.Be(Object expected, String because, Object[] becauseArgs)
   at Private.Infrastructure.TestServices.VERIFY_ARE_EQUAL[Point](Point actual, Point expected, String message)
   at Microsoft.UI.Xaml.Tests.Enterprise.BaseDxamlTestClass.VERIFY_ARE_EQUAL[Point](Point actual, Point expected, String message)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.<>c__DisplayClass25_0.<ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys>b__5()
   at Private.Infrastructure.TestServices.<>c__DisplayClass1_0.<RunOnUIThread>b__0()
   at Private.Infrastructure.UnitTestDispatcherCompat.<>c__DisplayClass18_0.<RunAsync>b__0()
--- End of stack trace from previous location ---
   at Private.Infrastructure.TestServices.RunOnUIThread(Action action)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.<>c__DisplayClass25_0.<<ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys>b__4>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 Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_MultipleSelectionWithoutItemClick_Then_PointersEvents

See this annotation in the file changed.

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

SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_MultipleSelectionWithoutItemClick_Then_PointersEvents

System.Exception : Error while performing WaitFor([unknown], "Timed out waiting...", 00:00:30, 00:00:00.0500000, null)
  ----> System.TimeoutException : Timed out waiting...
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
   at Xamarin.UITest.iOS.iOSApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Xamarin.XamarinApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 483
   at SamplesApp.UITests.SampleControlUITestBase.RunAsync(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 460
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.RunTest(String test, Boolean clicked) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/Selection_Pointers.cs:line 63
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_NoSelectionWithItemClick_Then_PointersEvents

See this annotation in the file changed.

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

SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_NoSelectionWithItemClick_Then_PointersEvents

System.Exception : Error while performing WaitFor([unknown], "Timed out waiting...", 00:00:30, 00:00:00.0500000, null)
  ----> System.TimeoutException : Timed out waiting...
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
   at Xamarin.UITest.iOS.iOSApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Xamarin.XamarinApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 483
   at SamplesApp.UITests.SampleControlUITestBase.RunAsync(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 460
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.RunTest(String test, Boolean clicked) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/Selection_Pointers.cs:line 63
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_SingleSelectionWithItemClick_Then_PointersEvents

See this annotation in the file changed.

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

SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_SingleSelectionWithItemClick_Then_PointersEvents

Expected pageEntered to be "D" because entered page, but "-" differs near "-" (index 0).
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.RunTest(String test, Boolean clicked) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/Selection_Pointers.cs:line 94
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)