diff --git a/ace/ace_ets_component_two/entry/src/main/ets/MainAbility/test/DatePickerJsunit.test.ets b/ace/ace_ets_component_two/entry/src/main/ets/MainAbility/test/DatePickerJsunit.test.ets index 70958e7d0d983affbd02e33742b36ca719083cec..b2fc353fc69ec8baea8cccf3de72f6c53beec717 100755 --- a/ace/ace_ets_component_two/entry/src/main/ets/MainAbility/test/DatePickerJsunit.test.ets +++ b/ace/ace_ets_component_two/entry/src/main/ets/MainAbility/test/DatePickerJsunit.test.ets @@ -56,17 +56,6 @@ export default function datePickerJsunit() { done(); }); - it('datePickerTest_0200', 0, async function (done) { - console.info('datePickerTest_0200 START'); - let strJson = getInspectorByKey('datePicker'); - console.info("datePickerTest_0200 component strJson:" + strJson); - let obj = JSON.parse(strJson); - console.info("datePickerTest_0200 component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.useMilitaryTime).assertEqual('true'); - console.info('datePickerTest_0200 END'); - done(); - }); - it('datePickerTest_0300', 0, async function (done) { console.info('datePickerTest_0300 START'); try { diff --git a/ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets b/ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets index e3689ddde47e6ba57d54a7f083b057d9aa3a630d..1779e06d69c6ab5ea89fea47d13bc8fe2c999ad0 100644 --- a/ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets +++ b/ace/ace_ets_third_test/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets @@ -97,40 +97,6 @@ export default function toggleJsunit() { done(); }); - /** - * @tc.number SUB_ACE_BASIC_ETS_API_1660 - * @tc.name testToggle030 - * @tc.desc aceEtsTest - */ - it('testToggle030', 0, async function (done) { - console.info('testToggle030 START'); - let strJson = getInspectorByKey('toggle3'); - let obj = JSON.parse(strJson); - console.info("[toggle3] get inspector value is: " + JSON.stringify(obj)); - expect(obj.$type).assertEqual('Toggle') - expect(obj.$attrs.type).assertEqual('ToggleType.Checkbox') - expect(obj.$attrs.isOn).assertEqual('false') - console.info('testToggle030 End'); - done(); - }); - - /** - * @tc.number SUB_ACE_BASIC_ETS_API_1670 - * @tc.name testToggle040 - * @tc.desc aceEtsTest - */ - it('testToggle040', 0, async function (done) { - console.info('testToggle040 START'); - let strJson = getInspectorByKey('toggle4'); - let obj = JSON.parse(strJson); - console.info("[toggle4] get inspector value is: " + JSON.stringify(obj)); - expect(obj.$type).assertEqual('Toggle') - expect(obj.$attrs.type).assertEqual('ToggleType.Checkbox') - expect(obj.$attrs.isOn).assertEqual('true') - console.info('testToggle040 End'); - done(); - }); - /** * @tc.number SUB_ACE_BASIC_ETS_API_1680 * @tc.name testToggle050