Exemplo n.º 1
0
        public void WatchTimeSignalGetConnectionCount()
        {
            tlog.Debug(tag, $"WatchTimeSignalGetConnectionCount START");

            if (IsWearable())
            {
                var testingTarget = new WatchTimeSignal();
                Assert.IsNotNull(testingTarget, "should be not null");
                Assert.IsInstanceOf <WatchTimeSignal>(testingTarget, "should be an instance of testing target class!");

                var result = testingTarget.GetConnectionCount();
                Assert.IsTrue(result == 0, "result should be 0");

                testingTarget.Dispose();
                tlog.Debug(tag, $"WatchTimeSignalGetConnectionCount END (OK)");
            }
            else
            {
                tlog.Debug(tag, $"WatchTimeSignalGetConnectionCount END (OK)");
                Assert.Pass("Not Supported profile");
            }
        }