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

[housekeeping] Automated PR to fix formatting errors #16771

Merged
merged 1 commit into from Aug 16, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Controls/tests/UITests/Tests/_ViewUITests.cs
Expand Up @@ -15,7 +15,7 @@ public abstract class _ViewUITests : UITestBase
protected override void FixtureSetup()
{
int retries = 0;
while(true)
while (true)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Picker/PickerHandler.iOS.cs
Expand Up @@ -251,7 +251,7 @@ void OnEnded(object? sender, EventArgs eventArgs)
{
if (Handler is not PickerHandler handler || handler._pickerView is not UIPickerView pickerView)
return;

PickerSource? model = (PickerSource)pickerView.Model;
if (model.SelectedIndex != -1 && model.SelectedIndex != pickerView.SelectedRowInComponent(0))
{
Expand Down
Expand Up @@ -82,7 +82,7 @@ public UITestContext CreateUITestContext(TestConfig testConfig)
};
break;
}
catch(WebDriverException)
catch (WebDriverException)
{
// Default command timeout is 60 seconds when executing the NewSessionCommand
if (retries++ < 10)
Expand Down
Expand Up @@ -105,10 +105,10 @@ public ApplicationState AppState
{
get
{
return IsWindows
? GetWindowsAppState()
: IsAndroid
? GetUIAutomator2TestAppState()
return IsWindows
? GetWindowsAppState()
: IsAndroid
? GetUIAutomator2TestAppState()
: GetXCUITestAppState();
}
}
Expand Down
Expand Up @@ -16,24 +16,24 @@ public abstract class UITestContextTestBase
}
}

protected static TestDevice Device
{
get
protected static TestDevice Device
{
get
{
return UITestContext == null
? throw new InvalidOperationException($"Call {nameof(InitialSetup)} before accessing the {nameof(Device)} property.")
: UITestContext.TestConfig.TestDevice;
}
}

protected static IApp App
protected static IApp App
{
get
get
{
return UITestContext == null
return UITestContext == null
? throw new InvalidOperationException($"Call {nameof(InitialSetup)} before accessing the {nameof(App)} property.")
: UITestContext.App;
}
}
}

public abstract TestConfig GetTestConfig();
Expand Down