From: Joogab Yun Date: Tue, 18 May 2021 08:16:25 +0000 (+0900) Subject: Fixed an issue where the multi-tap did not work properly. X-Git-Tag: dali_2.0.29~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F258474%2F2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Fixed an issue where the multi-tap did not work properly. (https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/258466/) Due to this bug, using multi-tap in automated-tests worked fine. Modify not to be multi-tap. Change-Id: I459520faf346da7aa380773ebf04c6b85c3e4e87 --- diff --git a/automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp b/automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp index c615774..51d27c8 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp @@ -1113,7 +1113,7 @@ int utcDaliTextFieldAnchorClicked02(void) application.GetGlAbstraction().SetCheckFramebufferStatusResult(GL_FRAMEBUFFER_COMPLETE); // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 100); application.SendNotification(); application.Render(); @@ -1134,7 +1134,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 700); application.SendNotification(); field.SetKeyInputFocus(); @@ -1152,7 +1152,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 1300); application.SendNotification(); field.SetKeyInputFocus(); @@ -1170,7 +1170,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 1900); application.SendNotification(); field.SetKeyInputFocus(); @@ -1189,7 +1189,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 2500); application.SendNotification(); field.SetKeyInputFocus(); @@ -1208,7 +1208,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 3100); application.SendNotification(); application.Render(); @@ -1227,7 +1227,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 3700); application.SendNotification(); application.Render(); @@ -1246,7 +1246,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 4300); application.SendNotification(); application.Render(); @@ -1265,7 +1265,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 4900); application.SendNotification(); application.Render(); @@ -1284,7 +1284,7 @@ int utcDaliTextFieldAnchorClicked02(void) gAnchorClickedCallBackCalled = false; // Create a tap event to touch the text field. - TestGenerateTap(application, 30.0f, 25.0f); + TestGenerateTap(application, 30.0f, 25.0f, 5500); application.SendNotification(); application.Render(); @@ -1931,7 +1931,7 @@ int utcDaliTextFieldInputStyleChanged02(void) DALI_TEST_CHECK( !inputStyleChangedSignal ); // Create a tap event to touch the text field. - TestGenerateTap( application, 63.0f, 25.0f, 300 ); + TestGenerateTap( application, 63.0f, 25.0f, 700 ); // Render and notify application.SendNotification();