From 9be6ddc05b2ae649281d7161235dfab43e51d1a3 Mon Sep 17 00:00:00 2001 From: libing23 Date: Fri, 22 Sep 2023 10:50:30 +0800 Subject: [PATCH] =?UTF-8?q?first=20use=20dialog=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=B7=BB=E5=8A=A0=E5=BB=B6=E8=BF=9F=E7=AD=89=E5=BE=85?= =?UTF-8?q?=20Signed-off-by:=20libing23=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sa/test/unittest/src/first_use_dialog_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp b/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp index 143447c..f262416 100644 --- a/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp +++ b/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp @@ -369,4 +369,7 @@ HWTEST_F(FirstUseDialogTest, NotifyFirstUseDialog001, TestSize.Level1) ASSERT_EQ(LOCATION_BUTTON_FIRST_USE | SAVE_BUTTON_FIRST_USE, static_cast(diag.firstUseMap_[0])); diag.StartDialogAbility(PASTE_COMPONENT, nullptr); + + // wait for event handler done + sleep(3); } -- Gitee