未验证 提交 5ad30089 编写于 作者: O openharmony_ci 提交者: Gitee

!8255 【杂散】【输入法框架】优化inputmethod不能自动亮屏的问题,挑单到release3.2

Merge pull request !8255 from 张育帅/release
......@@ -8,11 +8,22 @@
"shell-timeout": "600000",
"testcase-timeout": 15000
},
"kits": [{
"kits": [
{
"type": "ShellKit",
"run-command": [
"power-shell wakeup",
"power-shell setmode 602",
"uinput -T -m 300 720 300 360 200",
"uinput -T -m 650 2760 650 1380 200"
]
},
{
"test-file-name": [
"ActsInputMethodEngineTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
}]
}
]
}
......@@ -299,12 +299,12 @@ export default function inputMethodAbility() {
console.info("====>inputMethodAbility_test_getInputMethodAbility_001 subscriber data:" + JSON.stringify(data));
commonEventManager.subscribe(subscriber, subscriberCallback);
console.info("====>inputMethodAbility_test_getInputMethodAbility_001 subscriber finish");
})
var commonEventPublishData = {
let commonEventPublishData = {
code: 1
}
commonEventManager.publish('test', commonEventPublishData, publishCallback);
})
});
it('inputMethodAbility_test_getKeyboardDelegate_001', 0, async function (done) {
......@@ -355,12 +355,12 @@ export default function inputMethodAbility() {
console.info("====>inputMethodAbility_test_getKeyboardDelegate_001 subscriber data:" + JSON.stringify(data));
commonEventManager.subscribe(subscriber, subscriberCallback);
console.info("====>inputMethodAbility_test_getKeyboardDelegate_001 subscriber finish");
})
var commonEventPublishData = {
let commonEventPublishData = {
code: 2
}
commonEventManager.publish('test', commonEventPublishData, publishCallback);
})
});
it('inputMethodAbility_test_028', 0, async function (done) {
......
......@@ -133,13 +133,12 @@ export default function inputMethodEngineJSUnit() {
console.debug("====>inputMethodEngine_test_getInputMethodEngine_001 subscribe data: " + JSON.stringify(data));
commoneventmanager.subscribe(subscriber, subscriberCallback);
console.debug("====>inputMethodEngine_test_getInputMethodEngine_001 subscribe finish====");
})
var commonEventPublishData = {
let commonEventPublishData = {
code: 1
}
commoneventmanager.publish("test1", commonEventPublishData, publishCallback);
})
});
it('inputMethodEngine_test_getKeyboardDelegate_001', 0, async function (done) {
......@@ -186,13 +185,12 @@ export default function inputMethodEngineJSUnit() {
console.debug("====>inputMethodEngine_test_getKeyboardDelegate_001 subscribe data: " + JSON.stringify(data));
commoneventmanager.subscribe(subscriber, subscriberCallback);
console.debug("====>inputMethodEngine_test_getKeyboardDelegate_001 subscribe finish====");
})
var commonEventPublishData = {
let commonEventPublishData = {
code: 2
}
commoneventmanager.publish("test1", commonEventPublishData, publishCallback);
})
});
it('inputMethodEngine_test_028', 0, async function (done) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册