public void TextEditorSignalConnect() { tlog.Debug(tag, $"TextEditorSignalConnect START"); var testingTarget = new TextEditorSignal(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <TextEditorSignal>(testingTarget, "Should be an Instance of TextEditorSignal!"); try { dummyCallback callback = OnDummyCallback; testingTarget.Connect(callback); testingTarget.Disconnect(callback); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"TextEditorSignalConnect END (OK)"); }
public void TextEditorSignalConstructor() { tlog.Debug(tag, $"TextEditorSignalConstructor START"); using (View view = new View()) { var testingTarget = new TextEditorSignal(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <TextEditorSignal>(testingTarget, "Should be an Instance of TextEditorSignal!"); testingTarget.Dispose(); } tlog.Debug(tag, $"TextEditorSignalConstructor END (OK)"); }
public void TextEditorSignalEmpty() { tlog.Debug(tag, $"TextEditorSignalEmpty START"); var testingTarget = new TextEditorSignal(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <TextEditorSignal>(testingTarget, "Should be an Instance of TextEditorSignal!"); try { testingTarget.Empty(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"TextEditorSignalEmpty END (OK)"); }