From 7d5362bc08fcedde60984911636af6ab5932e308 Mon Sep 17 00:00:00 2001 From: zhangyushuai Date: Thu, 28 Jul 2022 07:49:51 +0000 Subject: [PATCH] del witchInputTest(Promise) Signed-off-by: zhangyushuai --- .../main/ets/test/InputmethohJsunit.test.ets | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/miscservices/InputMethodTest_ets/entry/src/main/ets/test/InputmethohJsunit.test.ets b/miscservices/InputMethodTest_ets/entry/src/main/ets/test/InputmethohJsunit.test.ets index 6ba0403a0..dd50b97f7 100644 --- a/miscservices/InputMethodTest_ets/entry/src/main/ets/test/InputmethohJsunit.test.ets +++ b/miscservices/InputMethodTest_ets/entry/src/main/ets/test/InputmethohJsunit.test.ets @@ -96,28 +96,6 @@ export default function settingUiJsunit() { done(); }); - /* - * @tc.number inputmethod_test_switchInputMethod_001 - * @tc.name Test Indicates the input method which will replace the current one. - * @tc.desc Function test - * @tc.level 2 - */ - it('inputmethod_test_switchInputMethod_001', 0, async function (done) { - console.info("************* inputmethod_test_switchInputMethod_001 Test start*************"); - let inputMethodProperty = { - packageName:"com.example.kikakeyboard", - methodId:"ServiceExtAbility" - } - inputMethod.switchInputMethod(inputMethodProperty).then((data) => { - console.info("inputmethod_test_switchInputMethod_001 data:" + data) - expect(data).assertEqual(true); - }).catch((err) => { - console.error('inputmethod_test_switchInputMethod_001 failed because ' + JSON.stringify(err)); - }); - console.info("************* inputmethod_test_switchInputMethod_001 Test end*************"); - done(); - }); - /* * @tc.number inputmethod_test_switchInputMethod_002 * @tc.name Test Indicates the input method which will replace the current one. -- GitLab