Merge pull request !12261 from 红书包指挥官/master
This commit is contained in:
openharmony_ci 2025-01-23 03:12:02 +00:00 committed by Gitee
commit c42e77b095
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -591,7 +591,7 @@ HWTEST_F(SceneSessionManagerTest12, NotifyWatchGestureConsumeResult, Function |
ASSERT_EQ(WMError::WM_OK, ret);
ssm_->onWatchGestureConsumeResultFunc_ = nullptr;
ret = ssm_->NotifyWatchGestureConsumeResult(keyCode, isConsumed);
ASSERT_NE(ret, WMError::WM_ERROR_INVALID_PARAM);
ASSERT_EQ(ret, WMError::WM_ERROR_INVALID_PARAM);
}
/**
@ -607,7 +607,7 @@ HWTEST_F(SceneSessionManagerTest12, NotifyWatchFocusActiveChange, Function | Sma
ASSERT_EQ(WMError::WM_OK, ret);
ssm_->onWatchFocusActiveChangeFunc_ = nullptr;
ret = ssm_->NotifyWatchFocusActiveChange(isActive);
ASSERT_NE(ret, WMError::WM_ERROR_INVALID_PARAM);
ASSERT_EQ(ret, WMError::WM_ERROR_INVALID_PARAM);
}
/**