Permalink
Browse files

Stub out tests in Mono Distros in Mono-for-mac, mono-for-linux and mo…

…notouch
  • Loading branch information...
1 parent 942907a commit e9ba402d4b2398029454058d3f4896107223756b @crimsonred crimsonred committed Dec 25, 2012
Showing with 6,198 additions and 10,825 deletions.
  1. BIN mono-for-linux/3.3.0.1/PubNub-Messaging/PubNub-Console/PubNub-Messaging.pidb
  2. +507 −290 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNub-Console/Pubnub.cs
  3. +17 −7 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNub-Messaging.userprefs
  4. +20 −1 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/Common.cs
  5. +1 −1 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/PubNub-Messaging.Tests.csproj
  6. BIN mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/PubNub-Messaging.Tests.pidb
  7. +505 −0 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/PubnubUnitTest.cs
  8. +21 −6 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenAClientIsPresented.cs
  9. +8 −0 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenAMessageIsPublished.cs
  10. +678 −579 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenDetailedHistoryIsRequested.cs
  11. +9 −2 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenGetRequestServerTime.cs
  12. +28 −24 mono-for-linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenSubscribedToAChannel.cs
  13. +0 −82 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/DetailedHistory_Example.cs
  14. +0 −39 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Here_Now_Example.cs
  15. +0 −75 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Main.cs
  16. +0 −74 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PresenceUnsubscribe_Example.cs
  17. +0 −157 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Presence_Example.cs
  18. +0 −65 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PubNub-Console.csproj
  19. +0 −213 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PubNub-Example.cs
  20. +0 −796 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PubNub-Example2.cs
  21. +0 −114 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Publish_Example.cs
  22. +507 −290 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Pubnub.cs
  23. +0 −2,925 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PubnubBase.cs
  24. +0 −21 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/PubnubExtend.cs
  25. +0 −226 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/Subscribe_Example.cs
  26. +3 −0 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/app.config
  27. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/bin/Debug/Newtonsoft.Json.dll
  28. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/bin/Debug/PubNub-Messaging.exe
  29. +0 −16 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/bin/Debug/PubNub-Messaging.exe.config
  30. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/bin/Debug/PubNub-Messaging.exe.mdb
  31. +0 −69 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Console/bin/Debug/pubnub-messaging.log
  32. +22 −17 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNub-Messaging.userprefs
  33. +20 −1 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/Common.cs
  34. +1 −1 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/PubNub-Messaging.Tests.csproj
  35. +505 −0 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/PubnubUnitTest.cs
  36. +21 −6 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/WhenAClientIsPresented.cs
  37. +6 −0 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/WhenAMessageIsPublished.cs
  38. +678 −579 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/WhenDetailedHistoryIsRequested.cs
  39. +9 −2 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/WhenGetRequestServerTime.cs
  40. +28 −24 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/WhenSubscribedToAChannel.cs
  41. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/Newtonsoft.Json.dll
  42. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNub-Messaging.exe
  43. +0 −16 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNub-Messaging.exe.config
  44. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNub-Messaging.exe.mdb
  45. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNubTest.dll
  46. +0 −16 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNubTest.dll.config
  47. BIN mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/PubNubTest.dll.mdb
  48. +0 −17 mono-for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/bin/Debug/pubnub-messaging.log
  49. +0 −628 ...3.0.1/PubNub-Messaging/PubNubTest/test-results/PubNub-Messaging.Tests.csproj-Debug-2012-11-27.xml
  50. BIN ...for-mac/3.3.0.1/PubNub-Messaging/PubNubTest/test-results/PubNub-Messaging.Tests.csproj.test-cache
  51. +0 −208 monotouch/3.3.0.1/Pubnub-Messaging/Newtonsoft.Json/backup/Newtonsoft.Json.MonoTouch.csproj
  52. BIN monotouch/3.3.0.1/Pubnub-Messaging/Newtonsoft.Json/bin/Debug/Newtonsoft.Json.MonoTouch.dll
  53. BIN monotouch/3.3.0.1/Pubnub-Messaging/Newtonsoft.Json/bin/Debug/Newtonsoft.Json.MonoTouch.dll.mdb
  54. +101 −82 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/Common.cs
  55. +1 −1 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/Pubnub-Messaging.Tests.csproj
  56. +505 −0 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/PubnubUnitTest.cs
  57. +121 −107 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenAClientIsPresented.cs
  58. +167 −161 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenAMessageIsPublished.cs
  59. +1,061 −963 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenDetailedHistoryIsRequested.cs
  60. +119 −119 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenGetRequestHistoryMessages.cs
  61. +37 −30 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenGetRequestServerTime.cs
  62. +94 −90 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/WhenSubscribedToAChannel.cs
  63. BIN ...1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/Newtonsoft.Json.MonoTouch.dll
  64. BIN ...bnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/Newtonsoft.Json.MonoTouch.dll.mdb
  65. BIN ...uch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/Newtonsoft.Json.dll
  66. BIN ...uch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessaging.exe
  67. +0 −16 ....0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessaging.exe.config
  68. BIN ...3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessaging.exe.mdb
  69. +0 −56 ...ub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Info.plist
  70. +0 −1 ...aging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Mono.Security.dll
  71. +0 −1 ...g/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Mono.Security.dll.mdb
  72. +0 −1 .../Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouch.Dialog-1.dll
  73. +0 −1 ...nub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouch.Dialog-1.dll.mdb
  74. +0 −1 ...Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouch.NUnitLite.dll
  75. +0 −1 ...ub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouch.NUnitLite.dll.mdb
  76. +0 −2 ...essaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouchDebugConfiguration.txt
  77. +0 −10 ...saging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/MonoTouchSimulatorAssemblies.list
  78. +0 −1 ...-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Newtonsoft.Json.MonoTouch.dll
  79. +0 −1 ...saging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Newtonsoft.Json.MonoTouch.dll.mdb
  80. +0 −1 ...ing/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessaging.exe
  81. +0 −1 ...nub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessaging.exe.config
  82. +0 −1 ...Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessaging.exe.mdb
  83. BIN ...ng/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessagingTests
  84. +0 −1 ...ubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessagingTests.exe
  85. +0 −1 ...b-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/PubnubMessagingTests.exe.mdb
  86. +0 −47 ...nub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/Settings.bundle/Root.plist
  87. +0 −1 ...ssaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Core.dll
  88. +0 −1 ...ing/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Core.dll.mdb
  89. +0 −1 ...ssaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Json.dll
  90. +0 −1 ...ing/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Json.dll.mdb
  91. +0 −1 ...ssaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Runtime.Serialization.dll
  92. +0 −1 ...ing.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Runtime.Serialization.dll.mdb
  93. +0 −1 ...essaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Xml.dll
  94. +0 −1 ...ging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.Xml.dll.mdb
  95. +0 −1 ...ub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.dll
  96. +0 −1 ...essaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/System.dll.mdb
  97. +0 −1 ...Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/monotouch.dll
  98. +0 −1 ...aging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/monotouch.dll.mdb
  99. +0 −1 ...-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/mscorlib.dll
  100. +0 −1 ...saging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.app/mscorlib.dll.mdb
  101. BIN ....3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.exe
  102. BIN ....1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/PubnubMessagingTests.exe.mdb
  103. +0 −1,057 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/err.log
  104. 0 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/bin/iPhoneSimulator/Debug/out.log
  105. +0 −2 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/obj/Debug/monotouch_dll_content_processed
  106. +0 −1 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.Tests/obj/Debug/monotouch_version
  107. +3 −1 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging.userprefs
  108. +395 −270 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/Pubnub.cs
  109. BIN ...3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/Newtonsoft.Json.MonoTouch.dll
  110. BIN ...0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/Newtonsoft.Json.MonoTouch.dll.mdb
  111. BIN monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/Newtonsoft.Json.dll
  112. +0 −60 ....3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Info.plist
  113. +0 −1 ...Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Mono.Security.dll
  114. +0 −1 ...ub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Mono.Security.dll.mdb
  115. +0 −1 ...b-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/MonoTouch.Dialog-1.dll
  116. +0 −1 ...ssaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/MonoTouch.Dialog-1.dll.mdb
  117. +0 −2 ...ng/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/MonoTouchDebugConfiguration.txt
  118. +0 −9 .../Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/MonoTouchSimulatorAssemblies.list
  119. +0 −1 ...ging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Newtonsoft.Json.MonoTouch.dll
  120. +0 −1 .../Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Newtonsoft.Json.MonoTouch.dll.mdb
  121. BIN ...1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/PubnubMessaging
  122. +0 −1 ...bnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/PubnubMessaging.exe
  123. +0 −1 ...ssaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/PubnubMessaging.exe.config
  124. +0 −1 ...-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/PubnubMessaging.exe.mdb
  125. +0 −47 ...ssaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/Settings.bundle/Root.plist
  126. +0 −1 ...1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Core.dll
  127. +0 −1 ...bnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Core.dll.mdb
  128. +0 −1 ...1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Json.dll
  129. +0 −1 ...bnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Json.dll.mdb
  130. +0 −1 ...g/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Runtime.Serialization.dll
  131. +0 −1 ...bnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Runtime.Serialization.dll.mdb
  132. +0 −1 ....1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Xml.dll
  133. +0 −1 ...ubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.Xml.dll.mdb
  134. +0 −1 ....3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.dll
  135. +0 −1 ....1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/System.dll.mdb
  136. +0 −1 ...0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/monotouch.dll
  137. +0 −1 ...Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/monotouch.dll.mdb
  138. +0 −1 ....0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/mscorlib.dll
  139. +0 −1 .../Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.app/mscorlib.dll.mdb
  140. BIN monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.exe
  141. +0 −16 ...ch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.exe.config
  142. BIN ...touch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/PubnubMessaging.exe.mdb
  143. +0 −37 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/err.log
  144. 0 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/bin/iPhoneSimulator/Debug/out.log
  145. +0 −1 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/obj/Debug/monotouch_dll_content_processed
  146. +0 −1 monotouch/3.3.0.1/Pubnub-Messaging/Pubnub-Messaging/obj/Debug/monotouch_version
Oops, something went wrong.
@@ -1,12 +1,22 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
- <MonoDevelop.Ide.Workbench>
+ <MonoDevelop.Ide.Workbench ActiveDocument="PubNubTest/WhenDetailedHistoryIsRequested.cs">
+ <Files>
+ <File FileName="PubNubTest/WhenAMessageIsPublished.cs" Line="37" Column="9" />
+ <File FileName="PubNubTest/WhenSubscribedToAChannel.cs" Line="39" Column="26" />
+ <File FileName="PubNubTest/Common.cs" Line="110" Column="1" />
+ <File FileName="PubNubTest/PubnubUnitTest.cs" Line="1" Column="1" />
+ <File FileName="PubNubTest/WhenDetailedHistoryIsRequested.cs" Line="902" Column="1" />
+ <File FileName="PubNub-Console/Pubnub.cs" Line="448" Column="1" />
+ </Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True">
- <Node name="PubNub-Messaging" expanded="True" />
+ <Node name="PubNub-Messaging" expanded="True">
+ <Node name="Library" expanded="True" />
+ </Node>
<Node name="PubNub-Messaging.Tests" expanded="True">
- <Node name="WhenSubscribedToAChannel.cs" selected="True" />
+ <Node name="WhenDetailedHistoryIsRequested.cs" selected="True" />
</Node>
</State>
</Pad>
@@ -34,10 +44,8 @@
<State expanded="True">
<Node name="PubNub-Messaging.Tests" expanded="True">
<Node name="PubNubTest" expanded="True">
- <Node name="WhenDetailedHistoryIsRequested" expanded="True" />
- <Node name="WhenGetRequestServerTime" expanded="True" />
- <Node name="WhenSubscribedToAChannel" expanded="True">
- <Node name="ThenItShouldReturnReceivedMessageCipher" selected="True" />
+ <Node name="WhenDetailedHistoryIsRequested" expanded="True">
+ <Node name="TestUnencryptedSecretDetailedHistoryParams" selected="True" />
</Node>
</Node>
</Node>
@@ -68,6 +76,8 @@
<Breakpoint file="/Volumes/Macintosh/Users/rajatkalsy/Projects/Client/ODesk/pubnub/mono-mac-new copy/3.3.0.1/PubNub-Messaging/PubNubTest/WhenSubscribedToAChannel.cs" line="78" />
<Breakpoint file="/Volumes/Macintosh/Users/rajatkalsy/Projects/Client/ODesk/pubnub/mono-mac-new copy/3.3.0.1/PubNub-Messaging/PubNub-Console/Pubnub.cs" line="1488" />
<Breakpoint file="/home/rajat/Projects/pubnub/Mono-Linux/3.3.0.1/PubNub-Messaging/PubNubTest/EncryptionTests.cs" line="125" />
+ <Breakpoint file="/home/rajat/Projects/pubnub/Mono-Linux/3.3.0.1/PubNub-Messaging/PubNubTest/WhenDetailedHistoryIsRequested.cs" line="902" />
+ <Breakpoint file="/home/rajat/Projects/pubnub/Mono-Linux/3.3.0.1/PubNub-Messaging/PubNub-Console/Pubnub.cs" line="1244" />
</BreakpointStore>
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches>
@@ -9,6 +9,25 @@ public class Common
{
public object objResponse = null;
public bool deliveryStatus = false;
+
+ public void DisplayReturnMessageDummy(object result)
+ {
+ IList<object> message = result as IList<object>;
+
+ if (message != null && message.Count >= 2)
+ {
+ for (int index = 0; index < message.Count; index++)
+ {
+ //ParseObject(message[index], 1);
+ }
+ }
+ else
+ {
+ Console.WriteLine("unable to parse data");
+ }
+ //deliveryStatus = true;
+ //objResponse = result;
+ }
public void DisplayReturnMessage(object result)
{
@@ -18,7 +37,7 @@ public void DisplayReturnMessage(object result)
{
for (int index = 0; index < message.Count; index++)
{
- ParseObject(message[index], 1);
+ //ParseObject(message[index], 1);
}
}
else
@@ -44,9 +44,9 @@
<Compile Include="WhenDetailedHistoryIsRequested.cs" />
<Compile Include="WhenGetRequestServerTime.cs" />
<Compile Include="WhenSubscribedToAChannel.cs" />
- <Compile Include="WhenGetRequestHistoryMessages.cs" />
<Compile Include="WhenAClientIsPresented.cs" />
<Compile Include="Common.cs" />
+ <Compile Include="PubnubUnitTest.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
Oops, something went wrong.
@@ -8,7 +8,7 @@
namespace PubNubTest
{
[TestFixture]
- public class WhenAClientIsPresented
+ public class WhenAClientIsPresented
{
[Test]
public void ThenItShouldReturnReceivedMessage()
@@ -25,10 +25,15 @@ public void ThenItShouldReturnReceivedMessage()
cm.deliveryStatus = false;
cm.objResponse = null;
+ PubnubUnitTest unitTest = new PubnubUnitTest();
+ unitTest.TestClassName = "WhenAClientIsPresented";
+ unitTest.TestCaseName = "ThenPresenceShouldReturnReceivedMessage";
+ pubnub.PubnubUnitTest = unitTest;
+
pubnub.presence(channel, cm.DisplayReturnMessage);
//while (!cm.deliveryStatus) ;
- cm.objResponse = null;
- pubnub.subscribe(channel, cm.DisplayReturnMessage);
+ //cm.objResponse = null;
+ pubnub.subscribe(channel, cm.DisplayReturnMessageDummy);
while (!cm.deliveryStatus) ;
string strResponse = "";
@@ -41,7 +46,7 @@ public void ThenItShouldReturnReceivedMessage()
foreach (object item in fields)
{
strResponse = item.ToString();
- Console.WriteLine(strResponse);
+ Console.WriteLine("Resp:" + strResponse);
//Assert.IsNotEmpty(strResponse);
}
Assert.AreEqual("hello_world", fields[2]);
@@ -59,6 +64,11 @@ public void IfHereNowIsCalledThenItShouldReturnInfo()
false
);
string channel = "hello_world";
+ PubnubUnitTest unitTest = new PubnubUnitTest();
+ unitTest.TestClassName = "WhenAClientIsPresented";
+ unitTest.TestCaseName = "IfHereNowIsCalledThenItShouldReturnInfo";
+ pubnub.PubnubUnitTest = unitTest;
+
Common cm = new Common();
cm.deliveryStatus = false;
cm.objResponse = null;
@@ -75,7 +85,7 @@ public void IfHereNowIsCalledThenItShouldReturnInfo()
foreach(object lst in fields)
{
strResponse = lst.ToString();
- Console.WriteLine(strResponse);
+ Console.WriteLine("Resp:" + strResponse);
Assert.IsNotEmpty(strResponse);
}
Dictionary<string, object> message = (Dictionary<string, object>)fields[0];
@@ -105,6 +115,11 @@ public void IfHereNowIsCalledWithCipherThenItShouldReturnInfo()
false
);
string channel = "hello_world";
+ PubnubUnitTest unitTest = new PubnubUnitTest();
+ unitTest.TestClassName = "WhenAClientIsPresented";
+ unitTest.TestCaseName = "IfHereNowIsCalledThenItShouldReturnInfo";
+ pubnub.PubnubUnitTest = unitTest;
+
Common cm = new Common();
cm.deliveryStatus = false;
cm.objResponse = null;
@@ -122,7 +137,7 @@ public void IfHereNowIsCalledWithCipherThenItShouldReturnInfo()
foreach(object lst in fields)
{
strResponse = lst.ToString();
- Console.WriteLine(strResponse);
+ Console.WriteLine("resp:" + strResponse);
Assert.IsNotEmpty(strResponse);
}
Dictionary<string, object> message = (Dictionary<string, object>)fields[0];
@@ -50,6 +50,12 @@ public void ThenItShouldReturnSuccessCodeAndInfo()
string message = "Pubnub API Usage Example";
Common cm = new Common();
+ PubnubUnitTest unitTest = new PubnubUnitTest();
+ unitTest.TestClassName = "WhenAMessageIsPublished";
+ unitTest.TestCaseName = "ThenItShouldReturnSuccessCodeAndInfo";
+
+ pubnub.PubnubUnitTest = unitTest;
+
cm.deliveryStatus = false;
cm.objResponse = null;
@@ -170,3 +176,5 @@ public void NullShouldBeTreatedAsEmpty()
}
}
+
+
Oops, something went wrong.

0 comments on commit e9ba402

Please sign in to comment.