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

chore: Remove unnecessary usings #24

Merged
merged 1 commit into from
Apr 27, 2024
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
1 change: 0 additions & 1 deletion src/FlaUI.WebDriver.UITests/TestUtil/FlaUIDriverOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using OpenQA.Selenium;
using System;

namespace FlaUI.WebDriver.UITests.TestUtil
{
Expand Down
1 change: 0 additions & 1 deletion src/FlaUI.WebDriver/Action.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using FlaUI.WebDriver.Models;
using System;

namespace FlaUI.WebDriver
{
Expand Down
5 changes: 0 additions & 5 deletions src/FlaUI.WebDriver/Controllers/ActionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
using FlaUI.Core.WindowsAPI;
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
2 changes: 0 additions & 2 deletions src/FlaUI.WebDriver/Controllers/ElementController.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using FlaUI.Core.AutomationElements;
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Text;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
3 changes: 0 additions & 3 deletions src/FlaUI.WebDriver/Controllers/ExecuteController.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
4 changes: 0 additions & 4 deletions src/FlaUI.WebDriver/Controllers/FindElementsController.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System;
using Microsoft.Extensions.Logging;
using FlaUI.Core.Conditions;
using FlaUI.Core.Definitions;
using System.Linq;
using FlaUI.Core.AutomationElements;
using System.Text.RegularExpressions;

Expand Down
4 changes: 0 additions & 4 deletions src/FlaUI.WebDriver/Controllers/ScreenshotController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
using System;
using FlaUI.Core.AutomationElements;
using System.Drawing;

Expand Down
6 changes: 0 additions & 6 deletions src/FlaUI.WebDriver/Controllers/SessionController.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
2 changes: 0 additions & 2 deletions src/FlaUI.WebDriver/Controllers/TimeoutsController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
5 changes: 0 additions & 5 deletions src/FlaUI.WebDriver/Controllers/WindowController.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using FlaUI.Core.AutomationElements;
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FlaUI.WebDriver.Controllers
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/InputState.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver
namespace FlaUI.WebDriver
{
public class InputState
{
Expand Down
1 change: 0 additions & 1 deletion src/FlaUI.WebDriver/KnownElement.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using FlaUI.Core.AutomationElements;
using System;

namespace FlaUI.WebDriver
{
Expand Down
1 change: 0 additions & 1 deletion src/FlaUI.WebDriver/KnownWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using FlaUI.Core.AutomationElements;
using System;

namespace FlaUI.WebDriver
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/Models/ActionItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver.Models
namespace FlaUI.WebDriver.Models
{
public class ActionItem
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/Models/ActionSequence.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver.Models
namespace FlaUI.WebDriver.Models
{
public class ActionSequence
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/Models/ActionsRequest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver.Models
namespace FlaUI.WebDriver.Models
{
public class ActionsRequest
{
Expand Down
3 changes: 1 addition & 2 deletions src/FlaUI.WebDriver/Models/Capabilities.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json;

namespace FlaUI.WebDriver.Models
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/Models/CreateSessionRequest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver.Models
namespace FlaUI.WebDriver.Models
{
public class CreateSessionRequest
{
Expand Down
3 changes: 1 addition & 2 deletions src/FlaUI.WebDriver/Models/CreateSessionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json;

namespace FlaUI.WebDriver.Models
{
Expand Down
3 changes: 1 addition & 2 deletions src/FlaUI.WebDriver/Models/ErrorResponse.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace FlaUI.WebDriver.Models
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/Models/ExecuteScriptRequest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace FlaUI.WebDriver.Models
namespace FlaUI.WebDriver.Models
{
public class ExecuteScriptRequest
{
Expand Down
3 changes: 0 additions & 3 deletions src/FlaUI.WebDriver/Session.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using FlaUI.Core;
using FlaUI.Core.AutomationElements;
using FlaUI.UIA3;
using System;
using System.Collections.Generic;
using System.Linq;

namespace FlaUI.WebDriver
{
Expand Down
5 changes: 1 addition & 4 deletions src/FlaUI.WebDriver/SessionRepository.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Linq;

namespace FlaUI.WebDriver
namespace FlaUI.WebDriver
{
public class SessionRepository : ISessionRepository
{
Expand Down
5 changes: 1 addition & 4 deletions src/FlaUI.WebDriver/Wait.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Threading.Tasks;
using System;

namespace FlaUI.WebDriver
namespace FlaUI.WebDriver
{
public static class Wait
{
Expand Down
4 changes: 0 additions & 4 deletions src/FlaUI.WebDriver/WebDriverExceptionFilter.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using Microsoft.AspNetCore.Mvc.Filters;
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using FlaUI.Core.Logging;
using Microsoft.Extensions.Logging;
using System.Windows.Forms.Design;
using Microsoft.Extensions.DependencyInjection;

namespace FlaUI.WebDriver
{
Expand Down
4 changes: 1 addition & 3 deletions src/FlaUI.WebDriver/WebDriverResponseException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace FlaUI.WebDriver
namespace FlaUI.WebDriver
{
public class WebDriverResponseException : Exception
{
Expand Down
1 change: 0 additions & 1 deletion src/FlaUI.WebDriver/WebDriverResult.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using FlaUI.WebDriver.Models;
using Microsoft.AspNetCore.Mvc;
using System;

namespace FlaUI.WebDriver
{
Expand Down
Loading