!815 告警清零

Merge pull request !815 from wangdongqi/master
This commit is contained in:
openharmony_ci 2023-07-24 07:25:51 +00:00 committed by Gitee
commit d21d0ab8ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,7 @@ constexpr int32_t LOOP_COUNT = 5;
constexpr int64_t DELAY_TIME = 100;
const std::unordered_map<std::string, EventType> EVENT_TYPE{ { "imeChange", IME_CHANGE }, { "imeShow", IME_SHOW },
{ "imeHide", IME_HIDE } };
InputMethodController::InputMethodController() : stop_(false)
InputMethodController::InputMethodController() : msgHandler_(nullptr), stop_(false)
{
IMSA_HILOGI("InputMethodController structure");
}

View File

@ -857,7 +857,9 @@ HWTEST_F(InputMethodControllerTest, testSetControllerListener, TestSize.Level0)
inputMethodAbility_->SelectByRange(1, 2);
Sequence s;
EXPECT_CALL(*controllerListener_, OnSelectByMovement(Eq(static_cast<int32_t>(Direction::UP)))).Times(1).InSequence(s);
EXPECT_CALL(*controllerListener_, OnSelectByMovement(Eq(static_cast<int32_t>(Direction::UP))))
.Times(1)
.InSequence(s);
EXPECT_CALL(*controllerListener_, OnSelectByMovement(Eq(static_cast<int32_t>(Direction::DOWN))))
.Times(1)
.InSequence(s);