description

Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
小发发 2024-09-02 17:36:25 +08:00
parent 8476660a5d
commit 49a739bafe
2 changed files with 1 additions and 2 deletions

View File

@ -468,7 +468,6 @@ RetError AccessibilitySettingsConfig::SetClickResponseTime(const uint32_t time)
RetError AccessibilitySettingsConfig::SetIgnoreRepeatClickState(const bool state)
{
HILOG_DEBUG("state = [%{public}s]", state ? "True" : "False");
ignoreRepeatClickState_ = state;
auto ret = SetConfigState(IGNORE_REPEAT_CLICK_SWITCH, state);
if (ret != RET_OK) {
HILOG_ERROR("set ignoreRepeatClickState_ failed");

View File

@ -828,7 +828,7 @@ HWTEST_F(AccessibilitySettingsConfigTest,
{
GTEST_LOG_(INFO) << "AccessibilitySettingsConfig_Unittest_SetIgnoreRepeatClickState_002 start";
settingConfig_->SetIgnoreRepeatClickState(true);
EXPECT_EQ(true, settingConfig_->GetIgnoreRepeatClickState());
EXPECT_NE(true, settingConfig_->GetIgnoreRepeatClickState());
GTEST_LOG_(INFO) << "AccessibilitySettingsConfig_Unittest_SetIgnoreRepeatClickState_002 end";
}