Skip to content

Commit 1e38d57

Browse files
committed
Separate tests between unit tests and integration tests
1 parent 4f83e62 commit 1e38d57

6 files changed

Lines changed: 10 additions & 10 deletions

src/Polly.Caching.Distributed.SharedSpecs/NetStandardIDistributedCacheProvider_CacheRoundTripSpecs.cs renamed to src/Polly.Caching.Distributed.SharedSpecs/Integration/NetStandardIDistributedCacheProvider_CacheRoundTripSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Polly.Caching.Serialization.Json;
1313
using Xunit;
1414

15-
namespace Polly.Specs.Caching.DistributedNew
15+
namespace Polly.Specs.Caching.Distributed.Integration
1616
{
1717
public class NetStandardIDistributedCacheProvider_CacheRoundTripSpecs_String : NetStandardIDistributedCacheProvider_CacheRoundTripSpecs<string> { }
1818

src/Polly.Caching.Distributed.SharedSpecs/Polly.Caching.Distributed.SharedSpecs.projitems

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<Import_RootNamespace>Polly.Caching.Distributed.Specs</Import_RootNamespace>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<Compile Include="$(MSBuildThisFileDirectory)NetStandardIDistributedCacheProvider_CacheRoundTripSpecs.cs" />
13-
<Compile Include="$(MSBuildThisFileDirectory)CacheProviderHelperTests.cs" />
14-
<Compile Include="$(MSBuildThisFileDirectory)NetStandardIDistributedCacheByteArrayProviderSpecs.cs" />
15-
<Compile Include="$(MSBuildThisFileDirectory)NetStandardIDistributedCacheStringProviderSpecs.cs" />
16-
<Compile Include="$(MSBuildThisFileDirectory)TtlStrategyHelperTests.cs" />
12+
<Compile Include="$(MSBuildThisFileDirectory)Integration\NetStandardIDistributedCacheProvider_CacheRoundTripSpecs.cs" />
13+
<Compile Include="$(MSBuildThisFileDirectory)Unit\CacheProviderHelperTests.cs" />
14+
<Compile Include="$(MSBuildThisFileDirectory)Unit\NetStandardIDistributedCacheByteArrayProviderSpecs.cs" />
15+
<Compile Include="$(MSBuildThisFileDirectory)Unit\NetStandardIDistributedCacheStringProviderSpecs.cs" />
16+
<Compile Include="$(MSBuildThisFileDirectory)Unit\TtlStrategyHelperTests.cs" />
1717
</ItemGroup>
1818
</Project>

src/Polly.Caching.Distributed.SharedSpecs/CacheProviderHelperTests.cs renamed to src/Polly.Caching.Distributed.SharedSpecs/Unit/CacheProviderHelperTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using Polly.Caching.Distributed;
55
using Xunit;
66

7-
namespace Polly.Specs.Caching.Distributed
7+
namespace Polly.Specs.Caching.Distributed.Unit
88
{
99
public class CacheProviderHelperTests
1010
{

src/Polly.Caching.Distributed.SharedSpecs/NetStandardIDistributedCacheByteArrayProviderSpecs.cs renamed to src/Polly.Caching.Distributed.SharedSpecs/Unit/NetStandardIDistributedCacheByteArrayProviderSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Polly.Caching.Distributed;
1010
using Xunit;
1111

12-
namespace Polly.Specs.Caching.Distributed
12+
namespace Polly.Specs.Caching.Distributed.Unit
1313
{
1414
public class NetStandardIDistributedCacheByteArrayProviderSpecs
1515
{

src/Polly.Caching.Distributed.SharedSpecs/NetStandardIDistributedCacheStringProviderSpecs.cs renamed to src/Polly.Caching.Distributed.SharedSpecs/Unit/NetStandardIDistributedCacheStringProviderSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Polly.Caching.Distributed;
1010
using Xunit;
1111

12-
namespace Polly.Specs.Caching.Distributed
12+
namespace Polly.Specs.Caching.Distributed.Unit
1313
{
1414
public class NetStandardIDistributedCacheStringProviderSpecs
1515
{

src/Polly.Caching.Distributed.SharedSpecs/TtlStrategyHelperTests.cs renamed to src/Polly.Caching.Distributed.SharedSpecs/Unit/TtlStrategyHelperTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Polly.Caching;
77
using Xunit;
88

9-
namespace Polly.Specs.Caching.Distributed
9+
namespace Polly.Specs.Caching.Distributed.Unit
1010
{
1111
public class TtlStrategyHelperTests
1212
{

0 commit comments

Comments
 (0)