예제 #1
0
        public void LongPressGestureDetectorDetectedSignal()
        {
            tlog.Debug(tag, $"LongPressGestureDetectorDetectedSignal START");
            LongPressGestureDetector       a1 = new LongPressGestureDetector();
            LongPressGestureDetectedSignal b1 = a1.DetectedSignal();

            a1.Dispose();

            tlog.Debug(tag, $"LongPressGestureDetectorDetectedSignal END (OK)");
            Assert.Pass("LongPressGestureDetectorDetectedSignal");
        }
예제 #2
0
        public void LongPressGestureDetectorDetectedSignal()
        {
            tlog.Debug(tag, $"LongPressGestureDetectorDetectedSignal START");

            using (LongPressGestureDetector detector = new LongPressGestureDetector())
            {
                var testingTarget = detector.DetectedSignal();
                Assert.IsNotNull(testingTarget, "Can't create success object Hover");
                Assert.IsInstanceOf <LongPressGestureDetectedSignal>(testingTarget, "Should be an instance of LongPressGestureDetectedSignal type.");

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"LongPressGestureDetectorDetectedSignal END (OK)");
            Assert.Pass("LongPressGestureDetectorDetectedSignal");
        }