提交 ba32f229 编写于 作者: M mayunteng_1

xts modify

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: Id6a90cb54c2a642b9b3111482eb0e76fdd5abe41
上级 65b65ecb
...@@ -136,7 +136,7 @@ describe('MultimodalInput_Device_test', function () { ...@@ -136,7 +136,7 @@ describe('MultimodalInput_Device_test', function () {
expect(false).assertTrue(); expect(false).assertTrue();
} else { } else {
for (let i = 0; i < data.length; ++i) { for (let i = 0; i < data.length; ++i) {
inputDevice.supportKeys(data[i], [17, 22, 2055], (res, err) => { inputDevice.supportKeys(data[i], [17, 22, 2055], (err, res) => {
expect(res).assertInstanceOf('Array'); expect(res).assertInstanceOf('Array');
}); });
} }
...@@ -166,7 +166,7 @@ describe('MultimodalInput_Device_test', function () { ...@@ -166,7 +166,7 @@ describe('MultimodalInput_Device_test', function () {
expect(false).assertTrue(); expect(false).assertTrue();
} else { } else {
for (let i = 0; i < data.length; ++i) { for (let i = 0; i < data.length; ++i) {
inputDevice.getKeyboardType(data[i], (res, err) => { inputDevice.getKeyboardType(data[i], (err, res) => {
expect(res).assertInstanceOf('Number'); expect(res).assertInstanceOf('Number');
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册