public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            Debug.Log("Running ThenPubnubShouldGenerateUniqueIdentifier()");
            Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

            UUnitAssert.NotNull(pubnub.GenerateGuid());
        }
        public void ThenItShouldGenerateUniqueIdentifier()
        {
            Pubnub pubnub = new Pubnub(
                "demo",
                "demo",
                "",
                "",
                false
            );

            Assert.IsNotNull(pubnub.GenerateGuid());
        }
        public void ThenItShouldGenerateUniqueIdentifier()
        {
            Pubnub pubnub = new Pubnub (
                          "demo",
                          "demo",
                          "",
                          "",
                          false
                      );

            Assert.IsNotNull (pubnub.GenerateGuid ());
        }
        public void ThenItShouldGenerateUniqueIdentifier()
        {
            Pubnub pubnub = new Pubnub(
                Common.PublishKey,
                Common.SubscribeKey,
                "",
                "",
                false
                );

            Assert.IsNotNull(pubnub.GenerateGuid());
        }
示例#5
0
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            ThreadPool.QueueUserWorkItem((s) =>
            {
                Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

                Deployment.Current.Dispatcher.BeginInvoke(() =>
                {
                    Assert.IsNotNull(pubnub.GenerateGuid());
                    TestComplete();
                });
            });
        }
示例#6
0
        public static void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            PNConfiguration config = new PNConfiguration
            {
                PublishKey   = PubnubCommon.PublishKey,
                SubscribeKey = PubnubCommon.SubscribeKey,
            };

            pubnub = createPubNubInstance(config);

            Assert.IsNotNull(pubnub.GenerateGuid());
            pubnub = null;
        }
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            ThreadPool.QueueUserWorkItem((s) =>
                {
                    Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

                    Deployment.Current.Dispatcher.BeginInvoke(() =>
                               {
                                   Assert.IsNotNull(pubnub.GenerateGuid());
                                   TestComplete();
                               });
                });

        }
示例#8
0
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
			Debug.Log("Running ThenPubnubShouldGenerateUniqueIdentifier()");
            Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

            UUnitAssert.NotNull(pubnub.GenerateGuid());
        }
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            Pubnub pubnub = new Pubnub(PubnubCommon.PublishKey, PubnubCommon.SubscribeKey, "", "", false);

            Assert.IsNotNull(pubnub.GenerateGuid());
        }
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
			Debug.Log("Running ThenPubnubShouldGenerateUniqueIdentifier()");
            Pubnub pubnub = new Pubnub(PubnubCommon.PublishKey, PubnubCommon.SubscribeKey, "", "", false);
			
            UUnitAssert.NotNull(pubnub.GenerateGuid());
        }