public void VisualEventSignalGetConnectionCount() { tlog.Debug(tag, $"VisualEventSignalGetConnectionCount START"); using (View view = new View()) { var testingTarget = new VisualEventSignal(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <VisualEventSignal>(testingTarget, "Should be an Instance of VisualEventSignal!"); try { testingTarget.GetConnectionCount(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"VisualEventSignalGetConnectionCount END (OK)"); }
public void VisualEventSignalConstructor() { tlog.Debug(tag, $"VisualEventSignalConstructor START"); using (View view = new View()) { var testingTarget = new VisualEventSignal(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <VisualEventSignal>(testingTarget, "Should be an Instance of VisualEventSignal!"); testingTarget.Dispose(); } tlog.Debug(tag, $"VisualEventSignalConstructor END (OK)"); }