Skip to content

Commit

Permalink
Fix namespaces in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Wilmans committed Aug 5, 2024
1 parent 61e0742 commit 8e3b32f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions AutomaticInterface/Tests/GeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ public void IgnoresMembersAttributedWithSkip()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.IO;

namespace AutomaticInterfaceExample
Expand All @@ -745,7 +745,7 @@ class DemoClass
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.IO;

namespace AutomaticInterfaceExample
Expand Down Expand Up @@ -2258,7 +2258,7 @@ public void WorksWithMethodOverrides()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample;

Expand All @@ -2285,7 +2285,7 @@ public class DemoClass : BaseClass
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample
{
Expand All @@ -2307,7 +2307,7 @@ public void WorksWithMethodShadowing()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample;

Expand All @@ -2334,7 +2334,7 @@ public class DemoClass : BaseClass
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample
{
Expand All @@ -2356,7 +2356,7 @@ public void WorksWithParameterDirectionOverloads()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample;

Expand All @@ -2380,7 +2380,7 @@ public class DemoClass
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;

namespace AutomaticInterfaceExample
{
Expand Down
12 changes: 6 additions & 6 deletions AutomaticInterface/Tests/GeneratorsTests.MethodParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void WorksWithMethodOutParameter()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample;
Expand All @@ -35,7 +35,7 @@ public void AMethod(out int someOutParameter)
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample
Expand All @@ -58,7 +58,7 @@ public void WorksWithMethodInParameter()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample;
Expand All @@ -82,7 +82,7 @@ public void AMethod(in int someOutParameter)
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample
Expand All @@ -105,7 +105,7 @@ public void WorksWithMethodRefParameter()
{
const string code = """

using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample;
Expand All @@ -129,7 +129,7 @@ public void AMethod(ref int someOutParameter)
//--------------------------------------------------------------------------------------------------

using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using AutomaticInterface;
using System.Threading.Tasks;

namespace AutomaticInterfaceExample
Expand Down

0 comments on commit 8e3b32f

Please sign in to comment.