예제 #1
0
파일: TSHover.cs 프로젝트: yunmiha/TizenFX
        public void HoverGetDeviceId()
        {
            tlog.Debug(tag, $"HoverGetDeviceId START");
            /* TEST CODE */
            Hover hover = new Hover();

            Assert.AreEqual(-1, hover.GetDeviceId(0), "Should be equals to the origin value of DeviceId");
            hover.Dispose();
            tlog.Debug(tag, $"HoverGetDeviceId END (OK)");
            Assert.Pass("HoverGetDeviceId");
        }
예제 #2
0
파일: TSHover.cs 프로젝트: wonrst/TizenFX
        public void HoverGetDeviceId()
        {
            tlog.Debug(tag, $"HoverGetDeviceId START");

            var testingTarget = new Hover();

            Assert.IsNotNull(testingTarget, "Can't create success object Hover");
            Assert.IsInstanceOf <Hover>(testingTarget, "Should be an instance of Hover type.");

            tlog.Debug(tag, "DeviceId : " + testingTarget.GetDeviceId(0));

            testingTarget.Dispose();
            tlog.Debug(tag, $"HoverGetDeviceId END (OK)");
            Assert.Pass("HoverGetDeviceId");
        }