Skip to content

Commit 3e7a191

Browse files
author
Elad Zelingher
committed
Some authentication polish
and first Unit Tests
1 parent d1bae9d commit 3e7a191

File tree

11 files changed

+473
-33
lines changed

11 files changed

+473
-33
lines changed

src/mono/Tests/WampSharp.Tests.Wampv2/WampSharp.Tests.Wampv2.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@
8585
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Client\RawTest.cs">
8686
<Link>Client\RawTest.cs</Link>
8787
</Compile>
88-
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationTests.cs">
89-
<Link>Integration\AuthenticationTests.cs</Link>
88+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationClientTests.cs">
89+
<Link>Integration\AuthenticationClientTests.cs</Link>
90+
</Compile>
91+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationServerTests.cs">
92+
<Link>Integration\AuthenticationServerTests.cs</Link>
9093
</Compile>
9194
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\CallerCallee.cs">
9295
<Link>Integration\CallerCallee.cs</Link>
@@ -160,6 +163,9 @@
160163
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\MockTransport.cs">
161164
<Link>TestHelpers\Integration\MockTransport.cs</Link>
162165
</Compile>
166+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\WampAuthenticationPlayground.cs">
167+
<Link>TestHelpers\Integration\WampAuthenticationPlayground.cs</Link>
168+
</Compile>
163169
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\WampClientPlayground.cs">
164170
<Link>TestHelpers\Integration\WampClientPlayground.cs</Link>
165171
</Compile>

src/net40/Tests/WampSharp.Tests.Wampv2/WampSharp.Tests.Wampv2.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@
8585
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Client\RawTest.cs">
8686
<Link>Client\RawTest.cs</Link>
8787
</Compile>
88-
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationTests.cs">
89-
<Link>Integration\AuthenticationTests.cs</Link>
88+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationClientTests.cs">
89+
<Link>Integration\AuthenticationClientTests.cs</Link>
90+
</Compile>
91+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\AuthenticationServerTests.cs">
92+
<Link>Integration\AuthenticationServerTests.cs</Link>
9093
</Compile>
9194
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\Integration\CallerCallee.cs">
9295
<Link>Integration\CallerCallee.cs</Link>
@@ -160,6 +163,9 @@
160163
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\MockTransport.cs">
161164
<Link>TestHelpers\Integration\MockTransport.cs</Link>
162165
</Compile>
166+
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\WampAuthenticationPlayground.cs">
167+
<Link>TestHelpers\Integration\WampAuthenticationPlayground.cs</Link>
168+
</Compile>
163169
<Compile Include="..\..\..\net45\Tests\WampSharp.Tests.Wampv2\TestHelpers\Integration\WampClientPlayground.cs">
164170
<Link>TestHelpers\Integration\WampClientPlayground.cs</Link>
165171
</Compile>

src/net45/Tests/WampSharp.Tests.Wampv2/Integration/AuthenticationTests.cs renamed to src/net45/Tests/WampSharp.Tests.Wampv2/Integration/AuthenticationClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace WampSharp.Tests.Wampv2.Integration
1616
{
1717
[TestFixture]
18-
public class AuthenticationTests
18+
public class AuthenticationClientTests
1919
{
2020
[Test]
2121
public void AuthenticatorSendsDetailsToHello()

0 commit comments

Comments
 (0)