public void AccessibilityDoGestureSignalConstructor() { tlog.Debug(tag, $"AccessibilityDoGestureSignalConstructor START"); var testingTarget = new AccessibilityDoGestureSignal(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityDoGestureSignal>(testingTarget, "should be an instance of testing target class!"); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityDoGestureSignalConstructor END (OK)"); }
public void AccessibilityDoGestureSignalGetConnectionCount() { tlog.Debug(tag, $"AccessibilityDoGestureSignal_GetConnectionCount START"); var handle = new ControlHandle(Interop.View.DownCast(new View().SwigCPtr)); var testingTarget = new AccessibilityDoGestureSignal(Interop.ControlDevel.DaliToolkitDevelControlAccessibilityDoGestureSignal(handle), false); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityDoGestureSignal>(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, $"AccessibilityDoGestureSignalGetConnectionCount END (OK)"); }
public void AccessibilityDoGestureSignalDisconnection() { tlog.Debug(tag, $"AccessibilityDoGestureSignalDisconnection START"); var handle = new ControlHandle(Interop.View.DownCast(new View().SwigCPtr)); var testingTarget = new AccessibilityDoGestureSignal(Interop.ControlDevel.DaliToolkitDevelControlAccessibilityDoGestureSignal(handle), false); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <AccessibilityDoGestureSignal>(testingTarget, "should be an instance of testing target class!"); dummyCallback callback = OnDummyCallback; testingTarget.Connect(callback); testingTarget.Disconnect(callback); testingTarget.Dispose(); tlog.Debug(tag, $"AccessibilityDoGestureSignalDisconnection END (OK)"); }