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"); }
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"); }