Skip to content

Commit 4cd1517

Browse files
test(CoreApi): all test should have Api in the name
1 parent f136993 commit 4cd1517

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

test/BlockTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Ipfs.Api
77
{
88

99
[TestClass]
10-
public class DataBlockTest
10+
public class BlockTest
1111
{
1212
byte[] someBytes = new byte[] { 1, 2, 3 };
1313

test/CoreApi/BlockTest.cs renamed to test/CoreApi/BlockApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Ipfs.Api
77
{
88

99
[TestClass]
10-
public class BlockTest
10+
public class BlockApiTest
1111
{
1212
IpfsClient ipfs = TestFixture.Ipfs;
1313
string hash = "QmPv52ekjS75L4JmHpXVeuJ5uX2ecSfSZo88NSyxwA3rAQ";

test/CoreApi/ConfigTest.cs renamed to test/CoreApi/ConfigApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Ipfs.Api
88
{
99

1010
[TestClass]
11-
public class ConfigTest
11+
public class ConfigApiTest
1212
{
1313
const string apiAddress = "/ip4/127.0.0.1/tcp/5001";
1414
const string gatewayAddress = "/ip4/127.0.0.1/tcp/8080";

test/CoreApi/DhtTest.cs renamed to test/CoreApi/DhtApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Ipfs.Api
99
{
1010

1111
[TestClass]
12-
public class DhtTest
12+
public class DhtApiTest
1313
{
1414
const string marsId = "QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3";
1515
const string marsPublicKey = "CAASogEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKGUtbRQf+a9SBHFEruNAUatS/tsGUnHuCtifGrlbYPELD3UyyhWf/FYczBCavx3i8hIPEW2jQv4ehxQxi/cg9SHswZCQblSi0ucwTBFr8d40JEiyB9CcapiMdFQxdMgGvXEOQdLz1pz+UPUDojkdKZq8qkkeiBn7KlAoGEocnmpAgMBAAE=";

test/CoreApi/FileSystemTest.cs renamed to test/CoreApi/FileSystemApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Ipfs.Api
99
{
1010
[TestClass]
11-
public class FileSystemTest
11+
public class FileSystemApiTest
1212
{
1313

1414
[TestMethod]

test/CoreApi/GenericTest.cs renamed to test/CoreApi/GenericApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Ipfs.Api
77
{
88
[TestClass]
9-
public class GenericTest
9+
public class GenericApiTest
1010
{
1111
const string marsId = "QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3";
1212

test/CoreApi/ObjectTest.cs renamed to test/CoreApi/ObjectApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Ipfs.Api
1010
{
1111

1212
[TestClass]
13-
public class ObjectTest
13+
public class ObjectApiTest
1414
{
1515
IpfsClient ipfs = TestFixture.Ipfs;
1616

test/CoreApi/PinTest.cs renamed to test/CoreApi/PinApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Ipfs.Api
1010
{
1111

1212
[TestClass]
13-
public class PinTest
13+
public class PinApiTest
1414
{
1515
[TestMethod]
1616
public void List()

test/CoreApi/SwarmTest.cs renamed to test/CoreApi/SwarmApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Ipfs.Api
99
{
1010

1111
[TestClass]
12-
public class SwarmTest
12+
public class SwarmApiTest
1313
{
1414

1515
[TestMethod]

test/IpfsApiTests.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@
8585
</CodeAnalysisDependentAssemblyPaths>
8686
</ItemGroup>
8787
<ItemGroup>
88-
<Compile Include="CoreApi\FileSystemTest.cs" />
89-
<Compile Include="CoreApi\ObjectTest.cs" />
90-
<Compile Include="CoreApi\SwarmTest.cs" />
91-
<Compile Include="CoreApi\DhtTest.cs" />
92-
<Compile Include="CoreApi\PinTest.cs" />
93-
<Compile Include="CoreApi\GenericTest.cs" />
94-
<Compile Include="CoreApi\ConfigTest.cs" />
95-
<Compile Include="CoreApi\BlockTest.cs" />
88+
<Compile Include="CoreApi\FileSystemApiTest.cs" />
89+
<Compile Include="CoreApi\ObjectApiTest.cs" />
90+
<Compile Include="CoreApi\SwarmApiTest.cs" />
91+
<Compile Include="CoreApi\DhtApiTest.cs" />
92+
<Compile Include="CoreApi\PinApiTest.cs" />
93+
<Compile Include="CoreApi\GenericApiTest.cs" />
94+
<Compile Include="CoreApi\ConfigApiTest.cs" />
95+
<Compile Include="CoreApi\BlockApiTest.cs" />
9696
<Compile Include="MerkleNodeTest.cs" />
9797
<Compile Include="ExceptionAssert.cs" />
9898
<Compile Include="PinnedObjectsTest.cs" />

0 commit comments

Comments
 (0)