public void KeyboardRepeatSettingsChangedSignalGetConnectionCount() { tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalGetConnectionCount START"); using (View view = new View()) { var testingTarget = new KeyboardRepeatSettingsChangedSignal(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <KeyboardRepeatSettingsChangedSignal>(testingTarget, "Should be an Instance of KeyboardRepeatSettingsChangedSignal!"); try { testingTarget.GetConnectionCount(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalGetConnectionCount END (OK)"); }
public void KeyboardRepeatSettingsChangedSignalEmit() { tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalEmit START"); var currentPid = global::System.Diagnostics.Process.GetCurrentProcess().Id; var currentTid = global::System.Threading.Thread.CurrentThread.ManagedThreadId; tlog.Debug(tag, $"thread check! main pid={App.mainPid}, current pid={currentPid}, main tid={App.mainTid}, current tid={currentTid}"); var testingTarget = new KeyboardRepeatSettingsChangedSignal(Window.Instance); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <KeyboardRepeatSettingsChangedSignal>(testingTarget, "Should be an Instance of KeyboardRepeatSettingsChangedSignal!"); try { testingTarget.Emit(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalEmit END (OK)"); }
public void KeyboardRepeatSettingsChangedSignalConstructor() { tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalConstructor START"); var testingTarget = new KeyboardRepeatSettingsChangedSignal(Window.Instance); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <KeyboardRepeatSettingsChangedSignal>(testingTarget, "Should be an Instance of KeyboardRepeatSettingsChangedSignal!"); testingTarget.Dispose(); tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalConstructor END (OK)"); }
public void KeyboardRepeatSettingsChangedSignalConstructor() { tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalConstructor START"); using (View view = new View()) { var testingTarget = new KeyboardRepeatSettingsChangedSignal(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <KeyboardRepeatSettingsChangedSignal>(testingTarget, "Should be an Instance of KeyboardRepeatSettingsChangedSignal!"); testingTarget.Dispose(); } tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalConstructor END (OK)"); }
public void KeyboardRepeatSettingsChangedSignalEmpty() { tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalEmpty START"); var testingTarget = new KeyboardRepeatSettingsChangedSignal(Window.Instance); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <KeyboardRepeatSettingsChangedSignal>(testingTarget, "Should be an Instance of KeyboardRepeatSettingsChangedSignal!"); try { testingTarget.Empty(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"KeyboardRepeatSettingsChangedSignalEmpty END (OK)"); }