mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 15:10:30 +00:00
!44945 【轻量级 PR】:修改layout_wrapper测试用例
Merge pull request !44945 from Winstonffgg/N/A
This commit is contained in:
commit
d34d17c447
@ -766,6 +766,7 @@ HWTEST_F(LayoutWrapperTestTwoNg, LayoutWrapperTest015, TestSize.Level1)
|
||||
safeAreamanager->SetIsAtomicService(true);
|
||||
pipeline->safeAreaManager_ = safeAreamanager;
|
||||
|
||||
node->SetActive(true);
|
||||
EXPECT_TRUE(layoutWrapper->AvoidKeyboard());
|
||||
EXPECT_FALSE(layoutWrapper->AvoidKeyboard(false));
|
||||
EXPECT_TRUE(node->GetFocusHub());
|
||||
@ -963,6 +964,7 @@ HWTEST_F(LayoutWrapperTestTwoNg, LayoutWrapperTest021, TestSize.Level1)
|
||||
safeAreamanager->SetIsAtomicService(true);
|
||||
pipeline->safeAreaManager_ = safeAreamanager;
|
||||
|
||||
node->SetActive(true);
|
||||
EXPECT_TRUE(layoutWrapper->AvoidKeyboard());
|
||||
EXPECT_FALSE(layoutWrapper->AvoidKeyboard(false));
|
||||
EXPECT_TRUE(LessNotEqual(safeAreamanager->GetKeyboardOffset(), 0.0));
|
||||
|
Loading…
Reference in New Issue
Block a user