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