From 43d0030c7b2d63ac4881cd6d0146a4ad118a6539 Mon Sep 17 00:00:00 2001 From: zhaoyuan17 Date: Thu, 16 Dec 2021 15:25:34 +0800 Subject: [PATCH] Update xts amsmultiapp code Signed-off-by: zhaoyuan17 --- aafwk/aafwk_standard/BUILD.gn | 16 ++++++++-------- .../amsMissionSnapshotTest/Test.json | 6 +++--- .../js/test/amsMissionSnapshotTest.test.js | 10 ++++------ .../amsMissionSnapshotTestSingleton/BUILD.gn | 4 ++-- .../amsMissionSnapshotTestSingletonS/BUILD.gn | 4 ++-- .../amsmultiapp/MultiAppPage/Test.json | 17 +---------------- .../MultiAppPageConnectService/Test.json | 17 +---------------- .../MultiAppPageConnect_Service/Test.json | 17 +---------------- .../MultiAppPagePermission/Test.json | 17 +---------------- .../MultiAppPagePermission_Page/Test.json | 17 +---------------- .../amsmultiapp/MultiAppPage_PSS/Test.json | 17 +---------------- .../amsmultiapp/MultiAppPage_Page/Test.json | 17 +---------------- .../amsmultiapp/MultiAppPage_Service/Test.json | 17 +---------------- .../MultiAppSimultaneousOnline/Test.json | 17 +---------------- .../MultiAppSimultaneousOnline_test/Test.json | 17 +---------------- .../amsmultiapp/MultiAppTermination/Test.json | 17 +---------------- .../MultiAppTermination_test/Test.json | 17 +---------------- .../amsmultiapppageexecutor/BUILD.gn | 4 ++-- .../amsmultiapppageexecutor/Test.json | 2 +- .../amsmultiappserviceexecutor/BUILD.gn | 4 ++-- .../amsmultiappserviceexecutor/Test.json | 2 +- .../amsmultiappservicestarter/BUILD.gn | 4 ++-- .../amsmultiappservicestarter/Test.json | 2 +- .../amsmultiapp/amsmultiapptester/BUILD.gn | 6 +++--- .../amsmultiapp/amsmultiapptester/Test.json | 17 +---------------- .../amsmultidataabilityclone/BUILD.gn | 4 ++-- .../amsmultidataabilityclone/Test.json | 18 +----------------- .../amsmultidataabilityself/BUILD.gn | 4 ++-- .../amsmultidataabilityself/Test.json | 18 +----------------- 29 files changed, 50 insertions(+), 279 deletions(-) diff --git a/aafwk/aafwk_standard/BUILD.gn b/aafwk/aafwk_standard/BUILD.gn index 155ab9470..64e2a39a2 100644 --- a/aafwk/aafwk_standard/BUILD.gn +++ b/aafwk/aafwk_standard/BUILD.gn @@ -19,8 +19,8 @@ group("aafwk_standard") { deps = [ "abilitymanager:actsabilitymanagertest", "amsabilitymanager/amsMissionSnapshotTest:ActsAmsMissionSnapshotTest", - "amsabilitymanager/amsMissionSnapshotTestSingleton:amsMissionSnapshotTestSingleton", - "amsabilitymanager/amsMissionSnapshotTestSingletonS:amsMissionSnapshotTestSingletonS", + "amsabilitymanager/amsMissionSnapshotTestSingleton:ActsAmsMissionSnapshotTestSingleton", + "amsabilitymanager/amsMissionSnapshotTestSingletonS:ActsAmsMissionSnapshotTestSingletonS", "amsdatauriutils:ActsAmsDataUriUtilsTest", "amsmultiapp/MultiAppPage:ActsAmsMultiPageApp", "amsmultiapp/MultiAppPageConnectService:ActsAmsMultiPageAppConnectService", @@ -34,12 +34,12 @@ group("aafwk_standard") { "amsmultiapp/MultiAppSimultaneousOnline_test:ActsAmsMultiAppPageClone", "amsmultiapp/MultiAppTermination:ActsAmsMultiAppTermination", "amsmultiapp/MultiAppTermination_test:ActsAmsMultiAppPageCloneTermination", - "amsmultiapp/amsmultiapppageexecutor:MultiAppPageExecutor", - "amsmultiapp/amsmultiappserviceexecutor:MultiAppServiceExecutor", - "amsmultiapp/amsmultiappservicestarter:MultiAppServiceStarter", - "amsmultiapp/amsmultiapptester:MultiAppTester", - "amsmultiapp/amsmultidataabilityclone:amsMultiDataAbilityClone", - "amsmultiapp/amsmultidataabilityself:amsMultiDataAbilitySelf", + "amsmultiapp/amsmultiapppageexecutor:ActsAmsMultiAppPageExecutor", + "amsmultiapp/amsmultiappserviceexecutor:ActsAmsMultiAppServiceExecutor", + "amsmultiapp/amsmultiappservicestarter:ActsAmsMultiAppServiceStarter", + "amsmultiapp/amsmultiapptester:ActsAmsMultiAppTester", + "amsmultiapp/amsmultidataabilityclone:ActsAmsMultiDataAbilityClone", + "amsmultiapp/amsmultidataabilityself:ActsAmsMultiDataAbilitySelf", "amszipfileunzipfilest:ActsAmsZipfileUnzipfileSTest", "context:context", "featureability:featureability", diff --git a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/Test.json b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/Test.json index 20ee72c3c..0c3ef2845 100644 --- a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/Test.json +++ b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/Test.json @@ -9,9 +9,9 @@ "kits": [ { "test-file-name": [ - "amsMissionSnapshotTest.hap", - "amsMissionSnapshotTestSingleton.hap", - "amsMissionSnapshotTestSingletonS.hap" + "ActsAmsMissionSnapshotTest.hap", + "ActsAmsMissionSnapshotTestSingleton.hap", + "ActsAmsMissionSnapshotTestSingletonS.hap" ], "type": "AppInstallKit", "cleanup-apps": true diff --git a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/test/amsMissionSnapshotTest.test.js b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/test/amsMissionSnapshotTest.test.js index 19a0e45b6..3b210c329 100644 --- a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/test/amsMissionSnapshotTest.test.js +++ b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/test/amsMissionSnapshotTest.test.js @@ -106,7 +106,7 @@ describe('ActsMissionSnapshotTest', function () { data.snapshot.getPixelBytesNumber().then(function (data){ console.debug("=ACTS_MissionSnapshot_0200 ====>" +"(data.snapshot.getPixelBytesNumber()=)" + data) - expect(data != 0).assertEqual(true); + expect(data > 0).assertEqual(true); console.debug('ACTS_MissionSnapshot_0200==== " +("data.snapshot.getPixelBytesNumber()=" + data)) - expect(data != 0).assertEqual(true); + expect(data > 0).assertEqual(true); unsubscribe(".then() ", subscriber); console.debug('ACTS_MissionSnapshot_0300==== " +("data.snapshot.getPixelBytesNumber()=" + data)) - expect(data != 0).assertEqual(true); + expect(data > 0).assertEqual(true); console.debug('ACTS_MissionSnapshot_0500====" + ("json err 【") + JSON.stringify(err) + (" 】 ")); @@ -401,7 +399,7 @@ describe('ActsMissionSnapshotTest', function () { data.snapshot.getPixelBytesNumber().then(function (data){ console.debug("=ACTS_MissionSnapshot_0600 ====> " +("data.snapshot.getPixelBytesNumber()=" + data)) - expect(data != 0).assertEqual(true); + expect(data > 0).assertEqual(true); unsubscribe(".then() ", subscriber); console.debug('ACTS_MissionSnapshot_0600====