Skip to content

Commit

Permalink
Changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Jan 23, 2025
1 parent 0db9a60 commit 47d96af
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 47 deletions.
4 changes: 0 additions & 4 deletions src/NUnitConsole/nunit4-console.tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ class Program
{
static int Main(string[] args)
{
#if NETFRAMEWORK
return new NUnitLite.TextRunner(typeof(Program).Assembly).Execute(args);
#else
return new NUnitLite.TextRunner(typeof(Program).GetTypeInfo().Assembly).Execute(args);
#endif
}
}
}
16 changes: 0 additions & 16 deletions src/NUnitEngine/agents/AgentExitCodes.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\AgentExitCodes.cs" Link="AgentExitCodes.cs" />
<Compile Include="..\Program.cs" Link="Program.cs" />
</ItemGroup>

Expand Down
4 changes: 0 additions & 4 deletions src/NUnitEngine/nunit.common.tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ class Program
{
static int Main(string[] args)
{
#if NETFRAMEWORK
return new TextRunner(typeof(Program).Assembly).Execute(args);
#else
return new TextRunner(typeof(Program).GetTypeInfo().Assembly).Execute(args);
#endif
}
}
}
2 changes: 1 addition & 1 deletion src/NUnitEngine/nunit.common/AgentExitCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace NUnit
{
internal static class AgentExitCodes
public static class AgentExitCodes
{
public const int OK = 0;
public const int PARENT_PROCESS_TERMINATED = -1;
Expand Down
4 changes: 0 additions & 4 deletions src/NUnitEngine/nunit.engine.core.tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ class Program
{
static int Main(string[] args)
{
#if NETFRAMEWORK
return new TextRunner(typeof(Program).Assembly).Execute(args);
#else
return new TextRunner(typeof(Program).GetTypeInfo().Assembly).Execute(args);
#endif
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,4 @@
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<Folder Include="Internal\Logging\" />
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions src/NUnitEngine/nunit.engine.tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ class Program
{
static int Main(string[] args)
{
#if NETFRAMEWORK
return new TextRunner(typeof(Program).Assembly).Execute(args);
#else
return new TextRunner(typeof(Program).GetTypeInfo().Assembly).Execute(args);
#endif
}
}
}
4 changes: 0 additions & 4 deletions src/NUnitEngine/nunit.engine/nunit.engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
<Reference Include="System.Web" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\agents\AgentExitCodes.cs" LinkBase="Agents" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\nunit.engine.api\nunit.engine.api.csproj" />
<ProjectReference Include="..\nunit.engine.core\nunit.engine.core.csproj" />
Expand Down

0 comments on commit 47d96af

Please sign in to comment.