Skip to content

[housekeeping] Automated PR to fix formatting errors on net10.0 #30183

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

Merged
merged 1 commit into from
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ namespace Microsoft.Maui.TestCases.Tests.Issues;

public class Issue17204 : _IssuesUITest
{
public override string Issue => "SwipeView does not work correctly on iOS when opened programmatically";
public override string Issue => "SwipeView does not work correctly on iOS when opened programmatically";

public Issue17204(TestDevice device)
: base(device)
{ }
public Issue17204(TestDevice device)
: base(device)
{ }

[Test]
[Category(UITestCategories.SwipeView)]
public void ProgrammaticallyOpenedSwipeViewShouldBeVisible()
{
App.WaitForElement("OpenSwipeViewButton");
App.Tap("OpenSwipeViewButton");
VerifyScreenshot();
}
[Test]
[Category(UITestCategories.SwipeView)]
public void ProgrammaticallyOpenedSwipeViewShouldBeVisible()
{
App.WaitForElement("OpenSwipeViewButton");
App.Tap("OpenSwipeViewButton");
VerifyScreenshot();
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if TEST_FAILS_ON_WINDOWS && TEST_FAILS_ON_IOS && TEST_FAILS_ON_CATALYST
// Related issue link https://github.com/dotnet/maui/pull/25642#discussion_r1833637157 - Windows
// The screenshot looks different on iOS depending on using the new or old handler. https://github.com/dotnet/maui/pull/29881#issuecomment-2957208107 - iOS
// Related issue link https://github.com/dotnet/maui/pull/25642#discussion_r1833637157 - Windows
// The screenshot looks different on iOS depending on using the new or old handler. https://github.com/dotnet/maui/pull/29881#issuecomment-2957208107 - iOS
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public IImage Downsize(float maxWidth, float maxHeight, bool disposeOriginal = f
}

IImage ResizeInternal(float canvasWidth, float canvasHeight, float drawX, float drawY, float drawWidth, float drawHeight, bool disposeOriginal)
{
{
using var renderTarget = new CanvasRenderTarget(_creator, canvasWidth, canvasHeight, _bitmap.Dpi);

using (var drawingSession = renderTarget.CreateDrawingSession())
Expand Down Expand Up @@ -102,7 +102,7 @@ IImage ResizeInternal(float canvasWidth, float canvasHeight, float drawX, float
{
throw saveException;
}

resizedStream.Seek(0);

var newImage = FromStream(resizedStream.AsStreamForRead());
Expand Down