public void CaptureCaptureSignalEmpty() { tlog.Debug(tag, $"CaptureCaptureSignalEmpty START"); using (Capture capture = new Capture()) { var testingTarget = new CaptureSignal(capture.SwigCPtr.Handle, true); Assert.IsNotNull(testingTarget, "Can't create success object CaptureSignal"); Assert.IsInstanceOf <CaptureSignal>(testingTarget, "Should be an instance of CaptureSignal type."); try { var result = testingTarget.Empty(); tlog.Debug(tag, "Empty : " + result); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"CaptureCaptureSignalEmpty END (OK)"); }
public void CaptureCaptureSignalEmpty() { tlog.Debug(tag, $"CaptureCaptureSignalEmpty START"); using (Capture capture = new Capture()) { var testingTarget = new CaptureSignal(capture.SwigCPtr.Handle, true); Assert.IsNotNull(testingTarget, "Can't create success object CaptureSignal"); Assert.IsInstanceOf <CaptureSignal>(testingTarget, "Should be an instance of CaptureSignal type."); var result = testingTarget.Empty(); Assert.IsTrue(result); testingTarget.Dispose(); } tlog.Debug(tag, $"CaptureCaptureSignalEmpty END (OK)"); }