public void AuthenticationSignalTypeEmit() { tlog.Debug(tag, $"AuthenticationSignalTypeEmit 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 AuthenticationSignalType(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <AuthenticationSignalType>(testingTarget, "Should be an Instance of AuthenticationSignalType!"); try { using (AutofillContainer container = new AutofillContainer("container")) { testingTarget.Emit(container); } } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"AuthenticationSignalTypeEmit END (OK)"); }
public void AuthenticationSignalTypeConnect() { tlog.Debug(tag, $"AuthenticationSignalTypeConnect START"); var testingTarget = new AuthenticationSignalType(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <AuthenticationSignalType>(testingTarget, "Should be an Instance of AuthenticationSignalType!"); 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, $"AuthenticationSignalTypeConnect END (OK)"); }
public void AuthenticationSignalTypeConstructor() { tlog.Debug(tag, $"AuthenticationSignalTypeConstructor START"); using (View view = new View()) { var testingTarget = new AuthenticationSignalType(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <AuthenticationSignalType>(testingTarget, "Should be an Instance of AuthenticationSignalType!"); testingTarget.Dispose(); } tlog.Debug(tag, $"AuthenticationSignalTypeConstructor END (OK)"); }
public void AuthenticationSignalTypeEmpty() { tlog.Debug(tag, $"AuthenticationSignalTypeEmpty START"); var testingTarget = new AuthenticationSignalType(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <AuthenticationSignalType>(testingTarget, "Should be an Instance of AuthenticationSignalType!"); try { testingTarget.Empty(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"AuthenticationSignalTypeEmpty END (OK)"); }