mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 23:21:05 +00:00
commit
5383a118e5
@ -647,7 +647,7 @@ HWTEST_F(WebPatternMethodTestNg, OnCursorChange_003, TestSize.Level1)
|
||||
auto info = std::make_shared<NWebCursorInfoTestImpl>();
|
||||
ASSERT_NE(info, nullptr);
|
||||
OHOS::NWeb::CursorType type = OHOS::NWeb::CursorType::CT_CONTEXTMENU;
|
||||
webPattern->isHoverExit_ = true;
|
||||
webPattern->isHoverExit_ = false;
|
||||
auto mouseStyle = MouseStyle::CreateMouseStyle();
|
||||
auto mockMouseStyle = AceType::DynamicCast<MockMouseStyle>(mouseStyle);
|
||||
EXPECT_CALL(*mockMouseStyle, GetPointerStyle(::testing::_, ::testing::_)).WillOnce(Return(0));
|
||||
@ -708,7 +708,7 @@ HWTEST_F(WebPatternMethodTestNg, OnCursorChange_005, TestSize.Level1)
|
||||
auto info = std::make_shared<NWebCursorInfoTestImpl>();
|
||||
ASSERT_NE(info, nullptr);
|
||||
OHOS::NWeb::CursorType type = OHOS::NWeb::CursorType::CT_CUSTOM;
|
||||
webPattern->isHoverExit_ = true;
|
||||
webPattern->isHoverExit_ = false;
|
||||
auto mouseStyle = MouseStyle::CreateMouseStyle();
|
||||
auto mockMouseStyle = AceType::DynamicCast<MockMouseStyle>(mouseStyle);
|
||||
EXPECT_CALL(*mockMouseStyle, GetPointerStyle(::testing::_, ::testing::_)).WillOnce(Return(0));
|
||||
|
Loading…
Reference in New Issue
Block a user