diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 7a7e3f6801552f7df004f6ebfeae97ea9e752d4d..f11b4f2c6c629ae669ea9b0fe48fd9f1a0401413 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -147,7 +147,7 @@ describe('ActsAmsCallBackFifthScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_6600 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -282,7 +282,7 @@ describe('ActsAmsCallBackFifthScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_9000 getActiveProcessInfos data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 379292232f8fd7c7406dd2f7ebc711e5130e4203..395fab8e4e2c70ed3214afdddea5017dcd585276 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -118,7 +118,7 @@ describe('ActsAmsCallBackFirstScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_0200 getAllRunningProcesses data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(9); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -253,7 +253,7 @@ describe('ActsAmsCallBackFirstScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_8600 getActiveProcessInfos data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(9); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index f1b615d8364c95eb089548bf2e8e58a60bd3f1fb..2301eabcd3fbd89746d2d596cca389d3ca04bb25 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -163,7 +163,7 @@ describe('ActsAmsCallBackFourthScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_5000 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(11); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -319,7 +319,7 @@ describe('ActsAmsCallBackFourthScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_8900 getActiveProcessInfos data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(11); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 0766feb26677108c276ab2922ea4b6a856a98d17..db7e71b097faf5c072750569c288103bb26f26fa 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -133,7 +133,7 @@ describe('ActsAmsCallBackSecondScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_1800 getAllRunningProcesses data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -268,7 +268,7 @@ describe('ActsAmsCallBackSecondScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_8700 getActiveProcessInfos data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 03ed34028dff50e806764f062c5376b6f9284e06..3b7b6eb64e30a0ac44e3ad4d961457c4c301b52e 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -144,7 +144,7 @@ describe('ActsAmsCallBackThirdScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_3400 getAllRunningProcesses data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -279,7 +279,7 @@ describe('ActsAmsCallBackThirdScene', function () { ' + error.code + ', data length [' + info.length + ']'); console.info('Acts_Ams_test_8800 getActiveProcessInfos data ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 82e62f83dcc1b92c4b0025f4e34e91830863064a..16edfa6155a1d7955055a59c8aa7938f0c4cc77a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -165,7 +165,7 @@ describe('ActsAmsTestFifthScene', function () { console.info('getAllRunningProcesses data length [' + info.length + ']'); console.info('Acts_Ams_test_6500 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -265,7 +265,7 @@ describe('ActsAmsTestFifthScene', function () { var info = await abilitymanager.getActiveProcessInfos(); console.info('Acts_Ams_test_8500 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 8673b8bd965cd3548ebd2803995243924655a9c5..6884e265ab35da28659a3afd7898147155b383b2 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -125,7 +125,7 @@ describe('ActsAmsTestFirstScene', function () { var info = await abilitymanager.getAllRunningProcesses(); console.info('Acts_Ams_test_0100 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(9); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -262,7 +262,7 @@ describe('ActsAmsTestFirstScene', function () { var info = await abilitymanager.getActiveProcessInfos(); console.info('Acts_Ams_test_8100 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(9); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 8c9566d7bddb5557acaded678d4d432d6b5137b3..93c99fe9a1b74c406d21526ce21eefbefce9d976 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -185,7 +185,7 @@ describe('ActsAmsTestFourthScene', function () { console.info('getAllRunningProcesses data length [' + info.length + ']'); console.info('Acts_Ams_test_4900 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(11); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -222,7 +222,7 @@ describe('ActsAmsTestFourthScene', function () { var info = await abilitymanager.getActiveProcessInfos(); console.info('Acts_Ams_test_8400 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(11); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index c2e9d774f02e9132d87e27cdbffde2be9fa53fd6..ad110ac80511afc40b96fc2240ee0870d5fa4f0f 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -145,7 +145,7 @@ describe('ActsAmsTestSecondScene', function () { var info = await abilitymanager.getAllRunningProcesses(); console.info('Acts_Ams_test_1700 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -283,7 +283,7 @@ describe('ActsAmsTestSecondScene', function () { var info = await abilitymanager.getActiveProcessInfos(); console.info('Acts_Ams_test_8200 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 6e9a13743ab4eb3f8c4e031acd366cdfddb679ee..cfaa71809e0fe81593145bd9947a654fdb0ccbfc 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -163,7 +163,7 @@ describe('ActsAmsTestThirdScene', function () { var info = await abilitymanager.getAllRunningProcesses(); console.info('Acts_Ams_test_3300 getAllRunningProcesses JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -284,7 +284,7 @@ describe('ActsAmsTestThirdScene', function () { var info = await abilitymanager.getActiveProcessInfos(); console.info('Acts_Ams_test_8300 getActiveProcessInfos JSON String: ' + JSON.stringify(info)); expect(Array.isArray(info)).assertEqual(true); - expect(info.length).assertEqual(10); + expect(info.length).assertLarger(0); for (var i = 0; i < info.length; i++) { expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); diff --git a/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/config.json b/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/config.json index 9b99a7a6a73ec5136f89b18cbc6f0ec3fd8d0e00..79e0c0994605cbe289649333612d5b7e3ef3d382 100644 --- a/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/config.json +++ b/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/config.json @@ -3,7 +3,7 @@ "bundleName": "com.ohos.launcher", "vendor": "example", "version": { - "code": 1000013, + "code": 1000000, "name": "1.0" }, "apiVersion": { diff --git a/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/config.json b/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/config.json index f8fcdba104baf8983afd961ae604424f60d48dee..0a9d926bbe6b9bda65c93c25ef11bf4f99f1369c 100644 --- a/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/config.json +++ b/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/config.json @@ -3,7 +3,7 @@ "bundleName": "com.ohos.launcher", "vendor": "example", "version": { - "code": 1000013, + "code": 1000000, "name": "1.0" }, "apiVersion": {