diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets index 83a3668e78ebb7c00baa571a1113a9ae9d2f5621..d37a3dc3bbb15dcb04cf9aacb9671faca39919a1 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/listTest.test.ets @@ -115,46 +115,29 @@ export default function listNewJsunit() { }); /* - * @tc.number SUB_ACE_BASIC_ETS_API_0006 - * @tc.name testListNe0006 - * @tc.desic acelistNeEtsTest0006 + * @tc.number SUB_ACE_BASIC_ETS_API_0005 + * @tc.name testListNe0005 + * @tc.desic acelistNeEtsTest0005 */ - it('testListNe0006', 0, async function (done) { - console.info('listNe testListNe0006 START'); + it('testListNe0005', 0, async function (done) { + console.info('listNe testListNe0005 START'); await Utils.sleep(2000); let strJson = getInspectorByKey('list1'); - console.info("[testListNe0006] component lanes strJson:" + strJson); + console.info("[testListNe0005] component lanes strJson:" + strJson); let obj = JSON.parse(strJson); expect(obj.$type).assertEqual('List'); expect(obj.$attrs.lanes).assertEqual(undefined); - console.info("[testListNe0006] lanes value :" + obj.$attrs.lanes); + console.info("[testListNe0005] lanes value :" + obj.$attrs.lanes); done(); }); /* * @tc.number SUB_ACE_BASIC_ETS_API_0006 * @tc.name testListNe0006 - * @tc.desic acelistNeEtsTest0006 + * @tc.desic acelistNeEtsTest0006 */ it('testListNe0006', 0, async function (done) { console.info('listNe testListNe0006 START'); - await Utils.sleep(2000); - let strJson = getInspectorByKey('list1'); - console.info("[testListNe0006] component lanes strJson:" + strJson); - let obj = JSON.parse(strJson); - expect(obj.$type).assertEqual('List'); - expect(obj.$attrs.lanes).assertEqual(undefined); - console.info("[testListNe0006] lanes value :" + obj.$attrs.lanes); - done(); - }); - - /* - * @tc.number SUB_ACE_BASIC_ETS_API_0007 - * @tc.name testListNe0007 - * @tc.desic acelistNeEtsTest0007 - */ - it('testListNe0007', 0, async function (done) { - console.info('listNe testListNe0007 START'); var innerEvent = { eventId: 60216, priority: events_emitter.EventPriority.LOW @@ -162,18 +145,18 @@ export default function listNewJsunit() { var callback = (eventData) => { try{ console.info("callback success" ); - console.info("testListNe0007 eventData.data.result result is: " + eventData.data.result); + console.info("testListNe0006 eventData.data.result result is: " + eventData.data.result); expect(eventData.data.result).assertEqual("success"); - console.info("testListNe0007 end"); + console.info("testListNe0006 end"); }catch(err){ - console.info("testListNe0007 on events_emitter err : " + JSON.stringify(err)); + console.info("testListNe0006 on events_emitter err : " + JSON.stringify(err)); } } try{ - console.info("testListNe0007 click result is: " + JSON.stringify(sendEventByKey('onScrollBegin', 10, ""))); + console.info("testListNe0006 click result is: " + JSON.stringify(sendEventByKey('onScrollBegin', 10, ""))); events_emitter.on(innerEvent, callback); }catch(err){ - console.info("testListNe0007 on events_emitter err : " + JSON.stringify(err)); + console.info("testListNe0006 on events_emitter err : " + JSON.stringify(err)); } done(); }); diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/router.test.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/router.test.ets index fabb900a116cef788161c86cd3837e73851ad367..8ccac56217fed1cdc5994bb09ce644facaf3bac5 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/router.test.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/router.test.ets @@ -81,7 +81,7 @@ export default function routerJsunit() { * @tc.name tesRouter_002 * @tc.desc testRouterAPi */ - it('testRouter_001', 0, async function (done) { + it('testRouter_002', 0, async function (done) { await Utils.sleep(2000); try { router.hideAlertBeforeBackPage(); @@ -92,7 +92,6 @@ export default function routerJsunit() { expect(error.code == 13004).assertTrue(); done(); } - }); diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets index 741660c599d4a6262446d9a2bc4e1e271cb8862d..f4c72e88d0b3be6e61ba9a8edac177746d811463 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/stateManagement.test.ets @@ -151,29 +151,8 @@ export default function stateManagementGetSharedJsunit() { console.info('teststateManagementsetAndProp0001 END'); }); - /* - * @tc.number SUB_ACE_BASIC_ETS_API_0007 - * @tc.name test_setAndLink_0001 - * @tc.desc bind localStorage - */ - it('test_setAndLink_0001', 0, async function (done) { - console.info('test_setAndLink_0001 START'); - await Utils.sleep(2000); - try { - let storage = new LocalStorage() - storage.setAndLink('storageSimpleProp', '121'); - let size = storage.size() - expect(size == 1).assertTrue(); - done(); - } catch (err) { - console.info("test_font_registerFont_0001 err : " + JSON.stringify(err)); - expect().assertFail(); - done(); - } - }); - /* - * @tc.number SUB_ACE_BASIC_ETS_API_0007 + * @tc.number SUB_ACE_BASIC_ETS_API_0001 * @tc.name test_setAndLink_0001 * @tc.desc bind localStorage */ diff --git a/arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets b/arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets index 54a38824cc5d96377e3f97e702bfe054fa1ab2a5..7c77736faf8c9bc1573afe11e6bde0d97cf56741 100644 --- a/arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets +++ b/arkui/ace_ets_component_four/entry/src/main/ets/test/SubscribaleAbstractJsunit.test.ets @@ -100,23 +100,6 @@ export default function SubscribaleAbstractJsunit() { done(); }); - /** - * @tc.number stateManagement_IPropertySubscriber_0100 - * @tc.name stateManagement IPropertySubscriber validation - * @tc.desc Function test - */ - it('stateManagement_IPropertySubscriber_0100', 0, function (done) { - done(); - return; - console.info('[stateManagement_IPropertySubscriber_0100] Start'); - let iPropertySubscriber =new IPropertySubscriber(); - let id = iPropertySubscriber.id(); - let aboutToBeDeleted = iPropertySubscriber.aboutToBeDeleted(); - expect(true).assertTrue(); - console.info('[stateManagement_IPropertySubscriber_0100] END'); - done(); - }); - /** * @tc.number stateManagement_SyncedPropertyOneWay_0100 * @tc.name stateManagement stateManagement_SyncedPropertyOneWay_0100 validation diff --git a/arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets b/arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets index 0ea2551b0f01d8b000e2d98d8851830d8ad83923..1a2b7ff94bdc91a4329a65a255436028b00ca4fc 100644 --- a/arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets +++ b/arkui/ace_ets_standard/entry/src/main/ets/test/ProgressJsunit.test.ets @@ -133,7 +133,7 @@ export default function progressJsunit() { * @tc.name testGetProgressAttr050 * @tc.desc aceEtsTest */ - it('testGetProgressAttr020', 0, async function (done) { + it('testGetProgressAttr050', 0, async function (done) { console.info('testGetProgressAttr5 START'); let strJson = getInspectorByKey('progress5'); let obj = JSON.parse(strJson); diff --git a/arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets b/arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets index 6d335ff70830f58d3f2aa7faf8a3b6e7d2b63c79..d9e6772e5f85857be994212f9e8cea011a1a795f 100644 --- a/arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets +++ b/arkui/ace_ets_test/entry/src/main/ets/test/AppStorageJsunit.test.ets @@ -194,7 +194,7 @@ export default function appStorageJsunit() { * @tc.name appStorageTest009 * @tc.desc aceEtsTest */ - it('appStorageTest008', 0, async function (done) { + it('appStorageTest009', 0, async function (done) { console.info('AppStorageTest009 START'); let strJson = getInspectorByKey('Button0_9'); let obj = JSON.parse(strJson); diff --git a/arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js b/arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js index 9261c0fbe02974f1798cb8624c48007eb15df199..f5091bcb49c8abafe2a6ec46e3cfc12ba51dac40 100644 --- a/arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js +++ b/arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js @@ -104,30 +104,6 @@ describe('aceJsTest', function () { done(); }); - /** - * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 - * @tc.name testCameraComponent - * @tc.desc ACE - */ - it('testCameraComponent', 0, async function (done) { - console.info('testCameraComponent START'); - let result; - let options = { - uri: 'pages/camera/router/index' - } - try { - result = router.push(options) - console.info("push camera page success " + JSON.stringify(result)); - } catch (err) { - console.error("push camera page error " + JSON.stringify(result)); - } - await sleep(1000) - let pages = router.getState(); - console.info("[router.camera] getState" + JSON.stringify(pages)); - expect("pages/camera/router/").assertEqual(pages.path); - done(); - }); - /** * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0300 * @tc.name testInputComponent @@ -828,29 +804,6 @@ describe('aceJsTest', function () { done(); }); - /** - * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 - * @tc.name testMarqueeComponent - * @tc.desc ACE - */ - it('testMarqueeComponent', 0, async function (done) { - let result; - let options = { - uri: 'pages/marquee/router/index' - } - try { - result = router.push(options) - console.info("push marquee page success " + JSON.stringify(result)); - } catch (err) { - console.error("push marquee page error " + JSON.stringify(result)); - } - await sleep(5000) - let pages = router.getState(); - console.info("[router.marquee] getState" + JSON.stringify(pages)); - expect("pages/marquee/router/").assertEqual(pages.path); - done(); - }); - /** * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.name testRefreshComponent @@ -1220,7 +1173,7 @@ describe('aceJsTest', function () { /** * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 - * @tc.name testCameraComponent + * @tc.name testWebComponent * @tc.desc ACE */ it('testWebComponent', 0, async function (done) { diff --git a/arkui/ace_standard/src/main/js/default/test/videoProps.test.js b/arkui/ace_standard/src/main/js/default/test/videoProps.test.js index 1ca5cb6d02d253c22e933d9cea502610303be491..6f13128196d8c902ab844929799c1016a560f215 100644 --- a/arkui/ace_standard/src/main/js/default/test/videoProps.test.js +++ b/arkui/ace_standard/src/main/js/default/test/videoProps.test.js @@ -732,7 +732,7 @@ describe('videoPropsJsTest', function () { * @tc.name testVideoAutoplayPropTrue * @tc.desc ACE */ - it('testVideoAutoplayPropFalse', 0, async function (done) { + it('testVideoAutoplayPropTrue', 0, async function (done) { console.info('testVideoAutoplayPropTrue START'); console.info("[videoProps] get globalThis.value is: " + JSON.stringify(globalThis.value));