mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-12-11 10:01:58 +00:00
tdd测试修复
Signed-off-by: yangziyong <nsyangziyong@huawei.com> Change-Id: I1575300948cd9cb7e10401d0c22ad37acede64b4
This commit is contained in:
parent
209cd356c3
commit
8043cc91be
@ -4032,7 +4032,7 @@ HWTEST_F(SelectOverlayTestNg, ShowCamera001, TestSize.Level1)
|
||||
EXPECT_NE(selectOverlayNode->backButton_, nullptr);
|
||||
|
||||
float maxWidth = 8.0f;
|
||||
float allocatedSize = 7.0f;
|
||||
float allocatedSize = 14.0f;
|
||||
auto ret = selectOverlayNode->ShowCamera(maxWidth, allocatedSize, infoPtr);
|
||||
EXPECT_TRUE(ret);
|
||||
}
|
||||
@ -4059,8 +4059,8 @@ HWTEST_F(SelectOverlayTestNg, ShowCamera002, TestSize.Level1)
|
||||
ElementRegister::GetInstance()->MakeUniqueId(), []() { return AceType::MakeRefPtr<ButtonPattern>(); });
|
||||
EXPECT_NE(selectOverlayNode->backButton_, nullptr);
|
||||
|
||||
float maxWidth = 80.0f;
|
||||
float allocatedSize = 4.0f;
|
||||
float maxWidth = 8.0f;
|
||||
float allocatedSize = 11.0f;
|
||||
auto ret = selectOverlayNode->ShowCamera(maxWidth, allocatedSize, infoPtr);
|
||||
EXPECT_TRUE(ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user