Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5ad30089
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
5ad30089
编写于
3月 29, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 29, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8255 【杂散】【输入法框架】优化inputmethod不能自动亮屏的问题,挑单到release3.2
Merge pull request !8255 from 张育帅/release
上级
c2dc67aa
2e4a2626
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
38 addition
and
29 deletion
+38
-29
inputmethod/InputMethodEngine/Test.json
inputmethod/InputMethodEngine/Test.json
+18
-7
inputmethod/InputMethodEngine/entry/src/main/ets/test/inputMethodAbility.test.ets
...ngine/entry/src/main/ets/test/inputMethodAbility.test.ets
+10
-10
inputmethod/InputMethodEngine/entry/src/main/ets/test/inputMethodEngine.test.ets
...Engine/entry/src/main/ets/test/inputMethodEngine.test.ets
+10
-12
未找到文件。
inputmethod/InputMethodEngine/Test.json
浏览文件 @
5ad30089
...
...
@@ -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
}]
}
]
}
inputmethod/InputMethodEngine/entry/src/main/ets/test/inputMethodAbility.test.ets
浏览文件 @
5ad30089
...
...
@@ -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
)
{
...
...
inputmethod/InputMethodEngine/entry/src/main/ets/test/inputMethodEngine.test.ets
浏览文件 @
5ad30089
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录