未验证 提交 3edf9e2b 编写于 作者: O openharmony_ci 提交者: Gitee

!8239 【杂散】【输入法】修改inputmethod字段值,挑单到release3.2

Merge pull request !8239 from 张育帅/release
......@@ -21,8 +21,10 @@ import testsuite from '../../test/List.test'
@Component
struct Index {
@State message: string = 'Hello World';
@State inputValue: string = 'inputMethodEngineinputMethodEngineinputMethodEngineinputMethodEngine' +
'inputMethodEngineinputMethodEngineinputMethodEngineinputMethodEngineinputMethodEngine';
@State inputValue: string = 'inputMethodEngine1inputMethodEngine2inputMethodEngine3inputMethodEngine' +
'inputMethodEngine4inputMethodEngine5inputMethodEngine6inputMethodEngine7inputMethodEngine8inputMethodEn' +
'gine9inputMethodEngine10inputMethodEngine11inputMethodEngine12inputMethodEngine13inputMethodEngine14inputMet' +
'hodEngine15inputMethodEngine16inputMethodEngine17inputMethodEngine18inputMethodEngine19inputMethodEngine20inputMethodEngine21';
build() {
Row() {
......@@ -32,7 +34,6 @@ struct Index {
.fontWeight(FontWeight.Bold)
.defaultFocus(true)
TextArea({ text: this.inputValue })
.height(50)
.onChange((value: string) => {
this.inputValue = value;
})
......
......@@ -48,9 +48,9 @@ export default function inputMethodAbility() {
inputServer.id = inputM.methodId;
console.info("====>beforeAll inputMethodStageJSUnit start");
let inputDemoService: subtype ={
id: 'com.acts.inputmethodengine.test',
label: 'inputStageService',
name: '',
id: 'inputStageService',
label: '',
name: 'com.acts.inputmethodengine.test',
mode: 'lower',
locale: '',
language: '',
......
......@@ -42,9 +42,9 @@ export default function inputMethodEngineJSUnit() {
inputSever.id = inputM.methodId;
let inputDemoService: subtype = {
id: "com.acts.inputmethodengine.test",
label: "InputDemoService",
name: "",
id: "InputDemoService",
label: "",
name: "com.acts.inputmethodengine.test",
mode: "lower",
locale: "",
language: "",
......
......@@ -335,8 +335,8 @@ export default function inputMethodStageJSUnit() {
console.info("inputMethod_test_switchCurrentInputMethodAndSubtype_001 getCurrentInputMethodSubtype: " + JSON.stringify(inputMS));
let inputMethodSubProperty : subtype = {
id: inputMS.id,
label: inputMS.label,
name: "",
label: "",
name: inputMS.name,
mode: "lower",
locale: "",
language: "",
......@@ -387,8 +387,8 @@ export default function inputMethodStageJSUnit() {
console.info("inputMethod_test_switchCurrentInputMethodAndSubtype_002 getCurrentInputMethodSubtype: " + JSON.stringify(inputMS));
let inputMethodSubProperty : subtype = {
id: inputMS.id,
label: inputMS.label,
name: "",
label: "",
name: inputMS.name,
mode: "lower",
locale: "",
language: "",
......@@ -427,8 +427,8 @@ export default function inputMethodStageJSUnit() {
console.info("inputMethod_test_switchCurrentInputMethodSubtype_001 getCurrentInputMethodSubtype: " + JSON.stringify(inputMS));
let inputMethodSubProperty : subtype = {
id: inputMS.id,
label: inputMS.label,
name: "",
label: "",
name: inputMS.name,
mode: "lower",
locale: "",
language: "",
......@@ -467,8 +467,8 @@ export default function inputMethodStageJSUnit() {
console.info("inputMethod_test_switchCurrentInputMethodSubtype_002 getCurrentInputMethodSubtype: " + JSON.stringify(inputMS));
let inputMethodSubProperty : subtype = {
id: inputMS.id,
label: inputMS.label,
name: "",
label: "",
name: inputMS.name,
mode: "lower",
locale: "",
language: "",
......@@ -493,7 +493,6 @@ export default function inputMethodStageJSUnit() {
done();
};
console.info("====>************* inputMethod_test_switchCurrentInputMethodSubtype_002 Test end*************");
done();
});
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册