From aa8a523f007aac6c4db338b1aa4eb9079c0c56f8 Mon Sep 17 00:00:00 2001 From: libing23 Date: Fri, 22 Sep 2023 10:50:30 +0800 Subject: [PATCH] =?UTF-8?q?fixed=209be6ddc=20from=20https://gitee.com/libi?= =?UTF-8?q?ng23/security=5Fsecurity=5Fcomponent/pulls/34=20first=20use=20d?= =?UTF-8?q?ialog=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E7=AD=89=E5=BE=85=20Signed-off-by:=20libing2?= =?UTF-8?q?3=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