Fix test project namespace inconsistency (#413)

This commit is contained in:
Andrew Stakhov
2020-04-14 20:08:03 -04:00
committed by GitHub
parent 4ce6e876e2
commit 4da6b657e0
5 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
* These tests are only for the netstandard version of the client (there are separate tests for netcoreapp that connect to a local test-hosted server). * These tests are only for the netstandard version of the client (there are separate tests for netcoreapp that connect to a local test-hosted server).
*/ */
using k8s.tests.Mock; using k8s.Tests.Mock;
using Microsoft.Rest; using Microsoft.Rest;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -10,7 +10,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Xunit; using Xunit;
namespace k8s.tests namespace k8s.Tests
{ {
public class KubernetesExecTests public class KubernetesExecTests
{ {

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<RootNamespace>k8s.tests</RootNamespace> <RootNamespace>k8s.Tests</RootNamespace>
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0</TargetFrameworks> <TargetFrameworks>netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
</PropertyGroup> </PropertyGroup>

View File

@@ -5,7 +5,7 @@ using System.Net.WebSockets;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace k8s.tests.Mock namespace k8s.Tests.Mock
{ {
public class MockWebSocket : WebSocket public class MockWebSocket : WebSocket
{ {
@@ -20,7 +20,7 @@ namespace k8s.tests.Mock
{ {
this.subProtocol = subProtocol; this.subProtocol = subProtocol;
} }
public void SetState(WebSocketState state) public void SetState(WebSocketState state)
{ {
this.state = state; this.state = state;

View File

@@ -8,7 +8,7 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace k8s.tests.Mock namespace k8s.Tests.Mock
{ {
public class MockWebSocketBuilder : WebSocketBuilder public class MockWebSocketBuilder : WebSocketBuilder
{ {

View File

@@ -5,7 +5,7 @@ using System.Net.WebSockets;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using k8s.tests.Mock; using k8s.Tests.Mock;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;