Ejemplo n.º 1
0
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            Debug.Log("Running ThenPubnubShouldGenerateUniqueIdentifier()");
            Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

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

            Assert.IsNotNull(pubnub.GenerateGuid());
        }
Ejemplo n.º 3
0
        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());
        }
Ejemplo n.º 5
0
        public void ThenPubnubShouldGenerateUniqueIdentifier()
        {
            ThreadPool.QueueUserWorkItem((s) =>
            {
                Pubnub pubnub = new Pubnub("demo", "demo", "", "", false);

                Deployment.Current.Dispatcher.BeginInvoke(() =>
                {
                    Assert.IsNotNull(pubnub.GenerateGuid());
                    TestComplete();
                });
            });
        }
Ejemplo n.º 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();
                               });
                });

        }
Ejemplo n.º 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());
        }