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

Redundancies removal - namespaces and an empty statement #425

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Reqnroll.Bindings;
using Reqnroll.Infrastructure;
using Reqnroll.Infrastructure;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using NUnit.Framework;
using Reqnroll;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XReqnroll.ExternalData.ReqnrollPlugin.IntegrationTest.StepDefinitions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;

namespace Reqnroll.ExternalData.ReqnrollPlugin.DataSources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using Reqnroll.ExternalData.ReqnrollPlugin.DataSources.Selectors;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Reqnroll.ExternalData.ReqnrollPlugin.DataSources
{
public class DataSource : DataValue
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using Gherkin.Ast;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Reqnroll.ExternalData.ReqnrollPlugin.DataSources.Selectors
{
public abstract class DataSourceSelector
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Reqnroll.ExternalData.ReqnrollPlugin.DataSources.Selectors
{
public class DataSourceSelectorParser
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Globalization;
using System.IO;
using CsvHelper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Data;
using System.IO;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Reqnroll.ExternalData.ReqnrollPlugin.DataSources;

namespace Reqnroll.ExternalData.ReqnrollPlugin.Loaders
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Gherkin.Ast;
using Reqnroll.Parser;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Reqnroll.Generator.Plugins;
using Reqnroll.Infrastructure;
using Reqnroll.MSTest.Generator.ReqnrollPlugin;
using Reqnroll.UnitTestProvider;

[assembly: GeneratorPlugin(typeof(Reqnroll.MSTest.Generator.ReqnrollPlugin.GeneratorPlugin))]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using Reqnroll.BoDi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reqnroll.Infrastructure;
using Reqnroll.Tracing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Reqnroll.Generator.Plugins;
using Reqnroll.Infrastructure;
using Reqnroll.Plugins;
using Reqnroll.UnitTestProvider;

[assembly:GeneratorPlugin(typeof(Reqnroll.NUnit.Generator.ReqnrollPlugin.GeneratorPlugin))]
Expand Down
1 change: 0 additions & 1 deletion Plugins/Reqnroll.NUnit.ReqnrollPlugin/RuntimePlugin.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Reqnroll.Infrastructure;
using Reqnroll.NUnit.ReqnrollPlugin;
using Reqnroll.Plugins;
using Reqnroll.TestFramework;
using Reqnroll.Tracing;
using Reqnroll.UnitTestProvider;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Reqnroll;


// ReSharper disable once CheckNamespace
namespace TechTalk.SpecFlow.Assist;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Reqnroll;


// ReSharper disable once CheckNamespace
namespace TechTalk.SpecFlow.Infrastructure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Reqnroll;

// ReSharper disable once CheckNamespace
namespace TechTalk.SpecFlow.Assist;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
using System.Runtime.CompilerServices;


Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using Reqnroll.Plugins;
using Reqnroll.UnitTestProvider;
using Reqnroll.Verify.ReqnrollPlugin;
Expand Down
1 change: 0 additions & 1 deletion Plugins/Reqnroll.Windsor.ReqnrollPlugin/ContainerFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Reflection;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Reqnroll;
using Reqnroll.Bindings;

namespace Reqnroll.Windsor
Expand Down
1 change: 0 additions & 1 deletion Plugins/Reqnroll.Windsor.ReqnrollPlugin/WindsorPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Reqnroll.Windsor;
using Reqnroll;
using Reqnroll.Infrastructure;
using Reqnroll.Plugins;
using Reqnroll.UnitTestProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Reqnroll.Generator.Plugins;
using Reqnroll.Infrastructure;
using Reqnroll.Plugins;
using Reqnroll.UnitTestProvider;

[assembly:GeneratorPlugin(typeof(Reqnroll.xUnit.Generator.ReqnrollPlugin.GeneratorPlugin))]
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/Configuration/GeneratorInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Linq;

namespace Reqnroll.Generator.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Collections.Generic;
using Reqnroll.Configuration;
using Reqnroll.Generator.Interfaces;
using Reqnroll.Plugins;

namespace Reqnroll.Generator.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Reqnroll.Configuration;
using Reqnroll.Generator.Interfaces;
using Reqnroll.Generator.Project;

namespace Reqnroll.Generator.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Reqnroll.Generator.Configuration
{
public class InProcGeneratorInfoProvider : IGeneratorInfoProvider
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/DefaultDependencyProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Reqnroll.Generator.UnitTestConverter;
using Reqnroll.Parser;
using Reqnroll.PlatformCompatibility;
using Reqnroll.Plugins;
using Reqnroll.Tracing;
using Reqnroll.Utils;

Expand Down
3 changes: 0 additions & 3 deletions Reqnroll.Generator/FeatureFileInputExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Reqnroll.Generator.Interfaces;

namespace Reqnroll.Generator
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/GenerationTargetLanguage.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using Reqnroll.Generator.CodeDom;
using Reqnroll.Utils;

namespace Reqnroll.Generator
{
Expand Down
2 changes: 0 additions & 2 deletions Reqnroll.Generator/GeneratorContainerBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -10,7 +9,6 @@
using Reqnroll.Generator.Plugins;
using Reqnroll.Generator.UnitTestProvider;
using Reqnroll.Plugins;
using Reqnroll.Tracing;
using Reqnroll.UnitTestProvider;

namespace Reqnroll.Generator
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/ITestHeaderWriter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Linq;

namespace Reqnroll.Generator
{
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/ITestUpToDateChecker.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Reqnroll.Generator.Interfaces;

namespace Reqnroll.Generator
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/Interfaces/ITestGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;

namespace Reqnroll.Generator.Interfaces
{
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/Interfaces/ProjectSettings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Reqnroll.Configuration;

namespace Reqnroll.Generator.Interfaces
{
Expand Down
2 changes: 0 additions & 2 deletions Reqnroll.Generator/Plugins/GeneratorPluginEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Linq;
using Reqnroll.BoDi;
using Reqnroll.Generator.Configuration;
using Reqnroll.Infrastructure;
using Reqnroll.Plugins;

namespace Reqnroll.Generator.Plugins
Expand Down
2 changes: 0 additions & 2 deletions Reqnroll.Generator/Plugins/GeneratorPluginEvents.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Linq;
using Reqnroll.BoDi;
using Reqnroll.Configuration;
using Reqnroll.Generator.Configuration;

namespace Reqnroll.Generator.Plugins
Expand Down
2 changes: 0 additions & 2 deletions Reqnroll.Generator/Project/IReqnrollProjectReader.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using Reqnroll.Generator.Configuration;

namespace Reqnroll.Generator.Project
{
public interface IReqnrollProjectReader
Expand Down
4 changes: 0 additions & 4 deletions Reqnroll.Generator/Project/ReqnrollProject.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using Reqnroll.Generator.Configuration;
using Reqnroll.Generator.Interfaces;
using Reqnroll.Utils;

namespace Reqnroll.Generator.Project
{
Expand Down
3 changes: 0 additions & 3 deletions Reqnroll.Generator/TestGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using Reqnroll.Configuration;
using Reqnroll.Generator.CodeDom;
using Reqnroll.Generator.Configuration;
using Reqnroll.Generator.Interfaces;
using Reqnroll.Generator.UnitTestConverter;
using Reqnroll.Parser;
using Reqnroll.Tracing;
using Reqnroll.Utils;

namespace Reqnroll.Generator
{
Expand Down
3 changes: 0 additions & 3 deletions Reqnroll.Generator/TestGeneratorException.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Reqnroll.Generator
{
Expand Down
4 changes: 0 additions & 4 deletions Reqnroll.Generator/Tracing/TextWriterTraceListener.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace Reqnroll.Tracing
{
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/UnitTestConverter/IFeatureGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.CodeDom;
using Reqnroll.Parser;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Linq;
using Reqnroll.Parser;

namespace Reqnroll.Generator.UnitTestConverter
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Generator/UnitTestConverter/ITagFilterMatcher.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Reqnroll.Parser;
Expand Down
2 changes: 0 additions & 2 deletions Reqnroll.Generator/UnitTestConverter/ITestClassDecorator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.CodeDom;
using System.Linq;

namespace Reqnroll.Generator.UnitTestConverter
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Linq;
using Reqnroll.Parser;

namespace Reqnroll.Generator.UnitTestConverter
Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Parser/ParserExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Gherkin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Gherkin.Ast;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Gherkin.Ast;
using System.Collections.Generic;
using System.Linq;

Expand Down
1 change: 0 additions & 1 deletion Reqnroll.Tools.MsBuild.Generation/AssemblyAttributes.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

using System.Runtime.CompilerServices;
using System.Security;

//[assembly: AllowPartiallyTrustedCallers]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Reqnroll.BoDi;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Reqnroll.Generator;
using Reqnroll.Generator.Interfaces;
using Reqnroll.Generator.Project;

namespace Reqnroll.Tools.MsBuild.Generation
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Reqnroll.BoDi;

namespace Reqnroll.Tools.MsBuild.Generation
{
Expand Down
Loading