From 1dffd7ea890fbbca209910297e2ea4a783357b96 Mon Sep 17 00:00:00 2001 From: yanglifeng1217 Date: Tue, 31 May 2022 19:09:06 +0800 Subject: [PATCH] Signed-off-by: yanglifeng1217 --- distributeddatamgr/appdatamgrjstest/hap/Test.json | 3 +-- .../appdatamgrjstest/hap/src/main/config.json | 6 +++--- .../src/main/js/default/test/StorageCallBackJsunit.test.js | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/distributeddatamgr/appdatamgrjstest/hap/Test.json b/distributeddatamgr/appdatamgrjstest/hap/Test.json index 0f12d3db9..ee62ddc04 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/Test.json +++ b/distributeddatamgr/appdatamgrjstest/hap/Test.json @@ -3,8 +3,7 @@ "driver": { "type": "JSUnitTest", "test-timeout": "1000000", - "package": "com.example.myapplication", - "abilityName": "decc.testkit.runner.JsEntryAbility", + "package": "ohos.acts.appdatamgrjstest", "shell-timeout": "60000" }, "kits": [ diff --git a/distributeddatamgr/appdatamgrjstest/hap/src/main/config.json b/distributeddatamgr/appdatamgrjstest/hap/src/main/config.json index aeb97fd73..493cb6932 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/src/main/config.json +++ b/distributeddatamgr/appdatamgrjstest/hap/src/main/config.json @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.example.myapplication", + "bundleName": "ohos.acts.appdatamgrjstest", "vendor": "example", "version": { "code": 1, @@ -13,7 +13,7 @@ }, "deviceConfig": {}, "module": { - "package": "com.example.myapplication", + "package": "ohos.acts.appdatamgrjstest", "name": ".AppdatamgrJSTest", "deviceType": [ "phone" @@ -36,7 +36,7 @@ ] } ], - "name": "decc.testkit.runner.JsEntryAbility", + "name": "ohos.acts.appdatamgrjstest.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "AppdatamgrJSTest", diff --git a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/StorageCallBackJsunit.test.js b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/StorageCallBackJsunit.test.js index 275a439a1..e1be3aeaf 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/StorageCallBackJsunit.test.js +++ b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/StorageCallBackJsunit.test.js @@ -320,7 +320,7 @@ describe('storageTest', function () { /** * @tc.name delete callback interface test - * @tc.number SUB_DDM_AppDataFWK_JSPreferences_Storage_0180 + * @tc.number SUB_DDM_AppDataFWK_JSPreferences_CallBack_0180 * @tc.desc delete callback interface test */ -- GitLab