Navigation Menu

Skip to content

Commit

Permalink
Multi PCL Profile support
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandu committed Jul 28, 2016
1 parent db70f69 commit 07c63d3
Show file tree
Hide file tree
Showing 13 changed files with 2,349 additions and 2,456 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -73,6 +73,8 @@
/NetPlatform/PubNub-Messaging.Tests/*.user
/NetPlatform/PubNub-Messaging.Tests/bin/Debug/*
/NetPlatform/PubNub-Messaging.Tests/obj/Debug/*
/NetPlatform/PubNub-Messaging.Tests/bin/Release/*
/NetPlatform/PubNub-Messaging.Tests/obj/Release/*
/NetPlatform/PubnubConsole/*.log
/NetPlatform/PubnubConsole/*.user
/NetPlatform/PubnubConsole/obj/Debug/*
Expand Down
19 changes: 19 additions & 0 deletions NetPlatform/PubNub-Messaging.Tests/WhenGetRequestServerTime.cs
Expand Up @@ -131,6 +131,25 @@ public void ThenWithProxyItShouldReturnTimeStampWithSSL()

}

[Test]
public void ThenSdkVersionIsVerified()
{
string expectedSdkVersion = "PubNub-CSharp-.NET/3.8.0";

pubnub = new Pubnub(PubnubCommon.PublishKey, PubnubCommon.SubscribeKey, "", "", false);

PubnubUnitTest unitTest = new PubnubUnitTest();
unitTest.TestClassName = "WhenGetRequestServerTime";
unitTest.TestCaseName = "ThenSdkVersionIsVerified";

pubnub.PubnubUnitTest = unitTest;

string actualSdkVersion = pubnub.Version;

pubnub.PubnubUnitTest = null;
pubnub = null;
Assert.AreEqual(expectedSdkVersion, actualSdkVersion, "Verify SDK Version");
}

private void ReturnTimeStampCallback(string result)
{
Expand Down
12 changes: 6 additions & 6 deletions NetPlatform/PubNub-Messaging.Tests/project.json
@@ -1,5 +1,5 @@
{
"version": "1.0.0-*",
"version": "3.8.0",
"buildOptions": {
"emitEntryPoint": true
},
Expand All @@ -9,11 +9,11 @@
"type": "platform",
"version": "1.0.0-rc2-3002702"
},
"Newtonsoft.Json": "9.0.1-beta1",
"NUnitLite": "3.2.1",
"PubnubNetPlatform": "3.7.6-rc1",
"System.Reflection": "4.1.0-rc2-24027",
"System.Threading.Thread": "4.0.0-rc2-24027"
"Newtonsoft.Json": "9.0.1",
"NUnitLite": "3.4.1",
"PubnubNetPlatform": "3.8.0",
"System.Reflection": "4.1.0",
"System.Threading.Thread": "4.0.0"
},

"frameworks": {
Expand Down

0 comments on commit 07c63d3

Please sign in to comment.