mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-27 17:01:21 +00:00
commit
d21d0ab8ee
@ -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");
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user