提交 5eccc881 编写于 作者: M mayunteng_1

获取键盘类型修改

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: Ifd23b5e619f75a581da7d19ad4220471bb5d1d18
上级 9d2c51f4
...@@ -181,7 +181,7 @@ describe('MultimodalInput_Device_test', function () { ...@@ -181,7 +181,7 @@ describe('MultimodalInput_Device_test', function () {
try { try {
inputDevice.getKeyboardType(-1); inputDevice.getKeyboardType(-1);
} catch (error) { } catch (error) {
expect(error.message).assertEqual("getKeyboardType: \"The second parameter type is wrong\""); expect(error.message).assertEqual("Invalid input device id");
} }
console.info(`inputDevice::getKeyboardType_test-02 exit`); console.info(`inputDevice::getKeyboardType_test-02 exit`);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册