From 3c47e86a48fc32b56b87f5dd61bad62a09053379 Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Tue, 18 May 2021 17:16:25 +0900 Subject: [PATCH] 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 --- .../src/dali-toolkit/utc-Dali-TextField.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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(); -- 2.7.4