diff --git a/aafwk/aafwk_standard/BUILD.gn b/aafwk/aafwk_standard/BUILD.gn index 155ab947049e0159917910070adaf1b2b9c8ec71..64e2a39a222be9ddd7696844f9a460acf8a12951 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 20ee72c3cb5ba0a7b8940db3973b03625d76dab1..0c3ef284505470fabb61656a9b85e1c4dfb4c808 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 19a0e45b641660f3b489a633e2bcf9f55a6f2ef8..3b210c32904a18fc3fec620bfd0e31350bd2bd97 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====