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: Add WINDOWS to switch in Serilog HostBuilderExtensions #2492

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Add WINDOWS to switch in Serilog HostBuilderExtensions

07b86e3
Select commit
Loading
Failed to load commit list.
Open

fix: Add WINDOWS to switch in Serilog HostBuilderExtensions #2492

Add WINDOWS to switch in Serilog HostBuilderExtensions
07b86e3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / uno.extensions succeeded Aug 3, 2024 in 14m 10s

Build #5.0.0-PullRequest2492.303 had test failures

Details

Tests

  • Failed: 5 (0.31%)
  • Passed: 1,567 (98.31%)
  • Other: 22 (1.38%)
  • Total: 1,594

Annotations

Check failure on line 1 in TestHarness.UITest.Given_PageNavigation.When_PageNavigationRegisteredRoot

See this annotation in the file changed.

@azure-pipelines azure-pipelines / uno.extensions

TestHarness.UITest.Given_PageNavigation.When_PageNavigationRegisteredRoot

ImageAssert.AreEqual @ line 167
pixelTolerance: Color Exclusive tolerance of 100 | Location PerRange tolerance of 0,0 pixels.
expected: When_PageNavigationXAML_Before (When_PageNavigationRegisteredRoot_When_PageNavigationXAML_Before.png {Width=1024, Height=768}) in {X=0,Y=0,Width=1024,Height=768}
actual  : When_PageNavigationXAML_After (When_PageNavigationRegisteredRoot_When_PageNavigationXAML_After.png {Width=1024, Height=768}) in {X=0,Y=0,Width=1024,Height=768}
====================
When_PageNavigationXAML_Before:
18,98: expected: [18,98] FF1C1B1F | actual: [18,98] FFFFFFFF
	a tolerance of 228 [Exclusive] would be required for this test to pass.
	Current: Color Exclusive tolerance of 100 | Location PerRange tolerance of 0,0 pixels.


With expectedRect:
{X=0,Y=0,Width=2147483647,Height=2147483647}
With actualRect:
{X=0,Y=0,Width=2147483647,Height=2147483647}
With expectedToActualScale:
1
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqualImpl(ScreenshotInfo expected, Rectangle expectedRect, ScreenshotInfo actual, PlatformBitmap actualBitmap, Rectangle actualRect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 96
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqualImpl(ScreenshotInfo expected, Rectangle expectedRect, ScreenshotInfo actual, Rectangle actualRect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 68
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqual(ScreenshotInfo expected, ScreenshotInfo actual, Nullable`1 rect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 12
   at TestHarness.UITest.Given_PageNavigation.When_PageNavigationRegisteredRoot() in /__w/1/s/testing/TestHarness/TestHarness.UITest/Ext/Navigation/PageNavigation/Given_PageNavigation.cs:line 167

Check failure on line 1 in TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn

See this annotation in the file changed.

@azure-pipelines azure-pipelines / uno.extensions

TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn

System.TimeoutException : Timed out waiting for element...
Raw output
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at TestHarness.UITest.Extensions.AppExtensions.WaitThenTap(IApp app, Func`2 query, Nullable`1 timeout) in /__w/1/s/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs:line 35
   at TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn() in /__w/1/s/testing/TestHarness/TestHarness.UITest/Ext/Navigation/PageNavigation/Given_PageNavigationRegistered.cs:line 116
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in TestHarness.UITest.Given_PageNavigation.When_PageNavigationCodebehind

See this annotation in the file changed.

@azure-pipelines azure-pipelines / uno.extensions

TestHarness.UITest.Given_PageNavigation.When_PageNavigationCodebehind

ImageAssert.AreEqual @ line 51
pixelTolerance: Color Exclusive tolerance of 100 | Location PerRange tolerance of 0,0 pixels.
expected: When_PageNavigationCodebehind_Before (When_PageNavigationCodebehind_When_PageNavigationCodebehind_Before.png {Width=1024, Height=768}) in {X=0,Y=0,Width=1024,Height=768}
actual  : When_PageNavigationCodebehind_After (When_PageNavigationCodebehind_When_PageNavigationCodebehind_After.png {Width=1024, Height=768}) in {X=0,Y=0,Width=1024,Height=768}
====================
When_PageNavigationCodebehind_Before:
18,98: expected: [18,98] FF1C1B1F | actual: [18,98] FFFFFFFF
	a tolerance of 228 [Exclusive] would be required for this test to pass.
	Current: Color Exclusive tolerance of 100 | Location PerRange tolerance of 0,0 pixels.


With expectedRect:
{X=0,Y=0,Width=2147483647,Height=2147483647}
With actualRect:
{X=0,Y=0,Width=2147483647,Height=2147483647}
With expectedToActualScale:
1
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqualImpl(ScreenshotInfo expected, Rectangle expectedRect, ScreenshotInfo actual, PlatformBitmap actualBitmap, Rectangle actualRect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 96
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqualImpl(ScreenshotInfo expected, Rectangle expectedRect, ScreenshotInfo actual, Rectangle actualRect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 68
   at TestHarness.UITest.TestFramework.ImageAssert.AreEqual(ScreenshotInfo expected, ScreenshotInfo actual, Nullable`1 rect, Double expectedToActualScale, PixelTolerance tolerance, Int32 line) in /__w/1/s/testing/TestHarness/TestHarness.UITest/TestFramework/ImageAssert.cs:line 12
   at TestHarness.UITest.Given_PageNavigation.When_PageNavigationCodebehind() in /__w/1/s/testing/TestHarness/TestHarness.UITest/Ext/Navigation/PageNavigation/Given_PageNavigation.cs:line 51

Check failure on line 1 in TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn

See this annotation in the file changed.

@azure-pipelines azure-pipelines / uno.extensions

TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn

System.TimeoutException : Timed out waiting for element...
Raw output
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at TestHarness.UITest.Extensions.AppExtensions.WaitThenTap(IApp app, Func`2 query, Nullable`1 timeout) in /__w/1/s/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs:line 35
   at TestHarness.UITest.Given_PageNavigationRegistered.When_PageNavigationRegisteredDependsn() in /__w/1/s/testing/TestHarness/TestHarness.UITest/Ext/Navigation/PageNavigation/Given_PageNavigationRegistered.cs:line 116
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)