public void AccessibilityFocusOvershotSignalConstructor() { tlog.Debug(tag, $"AccessibilityFocusOvershotSignalConstructor START"); var testingTarget = new AccessibilityFocusOvershotSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityFocusOvershotSignal>(testingTarget, "should be an instance of testing target class!"); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityFocusOvershotSignalConstructor END (OK)"); }
public void AccessibilityFocusOvershotSignalGetConnectionCount() { tlog.Debug(tag, $"AccessibilityFocusOvershotSignalGetConnectionCount START"); var testingTarget = new AccessibilityFocusOvershotSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityFocusOvershotSignal>(testingTarget, "should be an instance of testing target class!"); var result = testingTarget.GetConnectionCount(); Assert.IsTrue(result == 0, "result should be 0"); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityFocusOvershotSignalGetConnectionCount END (OK)"); }
public void AccessibilityFocusOvershotSignalEmpty() { tlog.Debug(tag, $"AccessibilityFocusOvershotSignalEmpty START"); var testingTarget = new AccessibilityFocusOvershotSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityFocusOvershotSignal>(testingTarget, "should be an instance of testing target class!"); var result = testingTarget.Empty(); Assert.IsTrue(result); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityFocusOvershotSignalEmpty END (OK)"); }
public void AccessibilityFocusOvershotSignalConnection() { tlog.Debug(tag, $"AccessibilityFocusOvershotSignalConnection START"); var testingTarget = new AccessibilityFocusOvershotSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityFocusOvershotSignal>(testingTarget, "should be an instance of testing target class!"); dummyCallback callback = OnDummyCallback; testingTarget.Connect(callback); testingTarget.Disconnect(callback); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityFocusOvershotSignalConnection END (OK)"); }
public void AccessibilityFocusOvershotSignalEmit() { tlog.Debug(tag, $"AccessibilityFocusOvershotSignalEmit 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 AccessibilityFocusOvershotSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityFocusOvershotSignal>(testingTarget, "should be an instance of testing target class!"); View dummy = new View(); testingTarget.Emit(dummy, Accessibility.AccessibilityManager.FocusOvershotDirection.Previous); testingTarget.Dispose(); dummy.Dispose(); tlog.Debug(tag, $"AccessibilityFocusOvershotSignalEmit END (OK)"); }