diff --git a/appexecfwk/bundle_standard/bundlemanager/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/BUILD.gn index 07f3e7292c8443d4f92f1d564555688a2cd7be23..c78b71f148fdb0974a48202fb0491edd93fe636e 100644 --- a/appexecfwk/bundle_standard/bundlemanager/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/BUILD.gn @@ -29,13 +29,9 @@ group("bundlemanager") { "sceneProject/bmsaccesstokenone:bmsAccessTokenTest1", "sceneProject/bmsaccesstokenthree:bmsAccessTokenTest3", "sceneProject/bmsaccesstokentwo:bmsAccessTokenTest2", - "sceneProject/bmseighthright:eighth_right", - "sceneProject/bmseleventhright:eleventh_right", - "sceneProject/bmsfifthright:fifth_right", - "sceneProject/bmsfirstrequestpermissions:FirstRequestPermissions", + "sceneProject/bmsaccesstokenfour:bmsAccessTokenTest4", + "sceneProject/bmsaccesstokenfive:bmsAccessTokenTest5", "sceneProject/bmsfirstright:first_right", - "sceneProject/bmsfourteenthright:fourteenth_right", - "sceneProject/bmsfourthright:fourth_right", "sceneProject/bmsgetinfosfifthscene:bmsThirdBundleTest5", "sceneProject/bmsgetinfosfirstscene:bmsThirdBundleTest1", "sceneProject/bmsgetinfosfirstsceneupdate:bmsThirdBundleTestA1", @@ -43,34 +39,20 @@ group("bundlemanager") { "sceneProject/bmsgetinfoshapc:bmsThirdBundleC", "sceneProject/bmsgetinfosjsscene:bmsThirdBundleJs", "sceneProject/bmsgetinfosscenesystem:bmsSystemBundleTest1", - "sceneProject/bmsgetinfosscenesystemfeature:bmsSystemBundleTest2Feature", "sceneProject/bmsgetinfosscenesystemtwo:bmsSystemBundleTest2", - "sceneProject/bmsgetinfosscenesystemupdate:bmsSystemBundleTest2Update", "sceneProject/bmsgetinfosscenevendor:bmsVendorBundleTest1", "sceneProject/bmsgetinfossecondscene:bmsThirdBundleTest2", "sceneProject/bmsgetinfossixthscene:bmsThirdBundleTest6", "sceneProject/bmsgetinfosthirdscene:bmsThirdBundleTest3", "sceneProject/bmsmainabilityfirstscene:bmsMainAbilityFirstScene", "sceneProject/bmsmainabilitysecondscene:bmsMainAbilitySecondScene", - "sceneProject/bmsninthright:ninth_right", - "sceneProject/bmssceneeight:bmsJstest8", "sceneProject/bmsscenefive:bmsJstest5", "sceneProject/bmsscenefour:bmsJstest4", - "sceneProject/bmsscenenine:bmsJstest9", "sceneProject/bmssceneone:bmsJstest1", - "sceneProject/bmssceneseven:bmsJstest7", "sceneProject/bmsscenesix:bmsJstest6", "sceneProject/bmsscenethree:bmsJstest3", "sceneProject/bmsscenetwo:bmsJstest2", - "sceneProject/bmssecondbackupright:second_backup_right", - "sceneProject/bmssecondrequestpermissions:SecondRequestPermissions", - "sceneProject/bmssecondright:second_right", - "sceneProject/bmssixteenthright:sixteenth_right", - "sceneProject/bmssixthright:sixth_right", - "sceneProject/bmstenthright:tenth_right", - "sceneProject/bmsthirdright:third_right", - "sceneProject/bmsthirteenthright:thirteenth_right", - "sceneProject/bmstwelfthright:twelfth_right", + "sceneProject/bmssecondright:second_right" ] } } diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js index 0a5aa83c00eb206d741210683110e4104fdef4f7..2bbbc3185b76c7d784ea423127d41b7de2883d26 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js @@ -177,22 +177,4 @@ describe('ActsBmsAccessTokenTest', function () { }); }); - /** - * @tc.number bms_AccessTokenId_0800 - * @tc.name BUNDLE::getBundleInfos - * @tc.desc Test getBundleInfos interfaces with a flag - */ - it("bms_AccessTokenId_0800", 0, async function (done) { - await bundle.getApplicationInfo(BUNDLE_NAME2, bundle.BundleFlag.GET_APPLICATION_INFO_WITH_PERMISSION) - .then((applicationInfo) => { - console.info("bms_AccessTokenId_0800 accessTokenId: " + applicationInfo.accessTokenId); - expect(applicationInfo.name).assertEqual(BUNDLE_NAME2); - expect(applicationInfo.accessTokenId).assertLarger(0); - done(); - }).catch((err) => { - expect(err).assertFail(); - done(); - }); - }); - }); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets b/appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets index b63bd6bd88a089edc22e2a1431daf875457f6644..2ffbfebb577f24e637c4afd398f11e985601fa0b 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets @@ -15,6 +15,7 @@ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "deccjsunit/index.ets" import bundle from '@ohos.bundle' +import pkg from '@system.package' const DEFAULT_FLAG = bundle.BundleFlag.GET_BUNDLE_DEFAULT; const INVALID_CODE = 1; @@ -85,6 +86,58 @@ export default function actsBmsJsUnPermissionTest() { }); }); + /* + * @tc.number: SUB_BMS_HAP_STATUS_0011 + * @tc.name: test hasInstalled + * @tc.desc: test hasInstalled without permission + */ + it('SUB_BMS_HAP_STATUS_0011', 0, async function (done) { + pkg.hasInstalled({ + bundleName: SELF_BUNDLENAME, + success: function success(data) { + console.info("get hasInstalled success" + JSON.stringify(data)); + expect(data.result).assertTrue(); + done(); + }, + fail: function fail(data, code) { + console.info("get hasInstalled fail" + JSON.stringify(data)); + expect(data).assertFail(); + done(); + }, + complete: function complete() { + console.info("get hasInstalled complete"); + expect(data).assertFail(); + done(); + } + }) + }); + + /* + * @tc.number: SUB_BMS_HAP_STATUS_0012 + * @tc.name: test hasInstalled + * @tc.desc: test hasInstalled without permission + */ + it('SUB_BMS_HAP_STATUS_0012', 0, async function (done) { + pkg.hasInstalled({ + bundleName: LAUNCHER_BUNDLE_NAME, + success: function success(data) { + console.info("get hasInstalled success" + JSON.stringify(data)); + expect(data.result).assertFalse(); + done(); + }, + fail: function fail(data, code) { + console.info("get hasInstalled fail" + JSON.stringify(data)); + expect(data).assertFail(); + done(); + }, + complete: function complete() { + console.info("get hasInstalled complete"); + expect(data).assertFail(); + done(); + } + }) + }); + /* * @tc.number: getAbilityInfo_100 * @tc.name: test getAbilityInfo diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/Test.json b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/Test.json index 6d95966fe27cc88c93a52d36297e3967929d1ab1..ab8c7e7ee5ea91d208e5e0cead4e5e2088a10c1f 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/Test.json +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/Test.json @@ -32,8 +32,6 @@ "bmsThirdBundleTest4.hap->/data/test/bmsThirdBundleTest4.hap", "bmsThirdBundleTest5.hap->/data/test/bmsThirdBundleTest5.hap", "bmsThirdBundleTest6.hap->/data/test/bmsThirdBundleTest6.hap", - "bmsThirdBundleTest7.hap->/data/test/bmsThirdBundleTest7.hap", - "bmsThirdBundleTest7A.hap->/data/test/bmsThirdBundleTest7A.hap", "bmsThirdBundleTestA1.hap->/data/test/bmsThirdBundleTestA1.hap", "bmsSystemBundleTest2.hap->/data/test/bmsSystemBundleTest2.hap" ] @@ -47,8 +45,6 @@ "bm install -p /data/test/bmsThirdBundleTest4.hap", "bm install -p /data/test/bmsThirdBundleTest5.hap", "bm install -p /data/test/bmsThirdBundleTest6.hap", - "bm install -p /data/test/bmsThirdBundleTest7.hap", - "bm install -p /data/test/bmsThirdBundleTest7A.hap", "bm install -p /data/test/bmsSystemBundleTest2.hap" ], "teardown-command":[ @@ -57,7 +53,6 @@ "bm uninstall -n com.example.third4", "bm uninstall -n com.example.third5", "bm uninstall -n com.example.third6", - "bm uninstall -n com.example.third7", "bm uninstall -n com.example.system2", "rm -rf /data/test/" ] diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js index af6af74524f5e160fb5324688945b84c9767f8d1..bf85eb643b687f6419abfd75955d8151f4ac7ff3 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js @@ -21,14 +21,12 @@ const BUNDLE_NAME2 = 'com.example.third2'; const BUNDLE_NAME4 = 'com.example.third4'; const BUNDLE_NAME5 = 'com.example.third5'; const BUNDLE_NAME6 = 'com.example.third6'; -const BUNDLE_NAME7 = 'com.example.third7'; const ABILITIY_NAME1 = "com.example.third5.MainAbilityA"; const ABILITIY_NAME2 = "com.example.third5.MainAbilityB"; const ABILITIY_NAME3 = "com.example.third2.MainAbilityA"; const ABILITIY_NAME4 = "com.example.third4.MainAbility"; const ABILITIY_NAME5 = "com.example.third1.MainAbilityA"; const ABILITIY_NAME6 = "com.example.third3.MainAbilityA"; -const ABILITIY_NAME7 = "com.example.third7.AMainAbilityA"; const NUM_TWO = 2; const NUM_THREE = 3; const NUM_FOUR = 4; @@ -204,28 +202,4 @@ describe('ActsBmsGetBackGroundModes', function () { done(); }); - /* - * @tc.number: bms_backGroundModes_0600 - * @tc.name: Get the backgroundModes information of the application through queryAbilityByWant - * @tc.desc: Get the backgroundModes information of the upgraded application's ability - */ - it('bms_backGroundModes_0600', 0, async function (done) { - let dataInfos = await bundle.queryAbilityByWant({ - action: 'action.system.home', - entities: ['entity.system.home'], - elementName: { - deviceId: '0', - bundleName: BUNDLE_NAME7, - abilityName: '', - }, - }, bundle.BundleFlag.GET_BUNDLE_DEFAULT, USERID); - expect(dataInfos.length).assertEqual(NUM_TWO); - if (dataInfos.length == NUM_TWO) { - expect(dataInfos[1].name).assertEqual(ABILITIY_NAME7); - expect(dataInfos[1].backgroundModes).assertEqual(AUDIORECORDING | LOCATION | BLUETOOTHINTERACTION | - MULTIDEVICECONNECTION | WIFIINTERACTION | VOIP | TASKKEEPING); - } - done(); - }); - }) \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/Test.json b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/Test.json index b8001194a5f1305769d65b3dc06e0a301fa8da86..e6bd773adfd51507f86c277f9f4768bbe66b90e4 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/Test.json +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/Test.json @@ -27,8 +27,6 @@ "push": [ "bmsMainAbilityFirstScene.hap->/data/test/bmsMainAbilityFirstScene.hap", "bmsMainAbilitySecondScene.hap->/data/test/bmsMainAbilitySecondScene.hap", - "bmsThirdBundleTest1.hap->/data/test/bmsThirdBundleTest1.hap", - "bmsThirdBundleTestA1.hap->/data/test/bmsThirdBundleTestA1.hap", "bmsThirdBundleTest2.hap->/data/test/bmsThirdBundleTest2.hap", "bmsThirdBundleTest5.hap->/data/test/bmsThirdBundleTest5.hap" ] @@ -39,14 +37,11 @@ "chmod 644 /data/test/*.hap", "bm install -p /data/test/bmsMainAbilityFirstScene.hap", "bm install -p /data/test/bmsMainAbilitySecondScene.hap", - "bm install -p /data/test/bmsThirdBundleTest1.hap", "bm install -p /data/test/bmsThirdBundleTest2.hap", - "bm install -p /data/test/bmsThirdBundleTest5.hap", - "bm install -p /data/test/bmsThirdBundleTestA1.hap" + "bm install -p /data/test/bmsThirdBundleTest5.hap" ], "teardown-command":[ "bm uninstall -n com.example.third2", - "bm uninstall -n com.example.third1", "bm uninstall -n com.example.third5", "bm uninstall -n com.example.bmsmainabilityfirstscene", "rm -rf /data/test/" diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js index 50c17e702d4d0c42594eff1fd84c572dd6995896..af4ea27d999965a188251d643afdbcf02c8d4d30 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js @@ -19,7 +19,6 @@ import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from const BUNDLE_NAME1 = 'com.example.bmsmainabilityfirstscene'; const BUNDLE_NAME2 = 'com.example.third2'; const BUNDLE_NAME3 = 'com.example.third5'; -const BUNDLE_NAME4 = 'com.example.third1'; const BUNDLE_NAME5 = 'com.example.system1'; const BUNDLE_NAME6 = "com.example.bmsmainabilitysecondscene"; const FIRSTMAINABILITY = 'com.example.bmsmainabilityfirstscene.MainAbility'; @@ -170,44 +169,6 @@ describe('ActsBmsHapModuleTest', function () { }); }); - /* - * @tc.number: bms_getHapModuleInfo_0500 - * @tc.name: get the hapModuleInfo of the upgraded hap package from an application through getBundleInfo - * @tc.desc: get the module information of the mainAbility upgrade hap - */ - it('bms_getHapModuleInfo_0500', 0, async function (done) { - let dataInfo = await bundle.getBundleInfo(BUNDLE_NAME4, bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES); - bundle.getBundleInfo(BUNDLE_NAME4, bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES, callback); - function callback(err, result) { - expect(JSON.stringify(result)).assertEqual(JSON.stringify(dataInfo)); - expect(result.hapModuleInfos.length).assertEqual(1); - if (result.hapModuleInfos.length == 1) { - let hapModuleInfo = result.hapModuleInfos[0]; - expect(hapModuleInfo.name).assertEqual("com.example.third1.entry"); - expect(hapModuleInfo.moduleName).assertEqual('entry'); - expect(hapModuleInfo.description).assertEqual(''); - expect(hapModuleInfo.descriptionId).assertEqual(0); - expect(hapModuleInfo.iconPath).assertEqual("$media:icon"); - expect(hapModuleInfo.icon).assertEqual(''); - expect(hapModuleInfo.label).assertEqual('$string:app_name'); - expect(hapModuleInfo.labelId).assertEqual(0); - expect(hapModuleInfo.iconId).assertEqual(0); - expect(hapModuleInfo.backgroundImg).assertEqual(""); - expect(hapModuleInfo.supportedModes).assertEqual(0); - expect(hapModuleInfo.reqCapabilities.length).assertEqual(0); - expect(hapModuleInfo.deviceTypes[0]).assertEqual('phone'); - expect(hapModuleInfo.mainAbilityName).assertEqual("com.example.third1.AMainAbility"); - expect(hapModuleInfo.mainElementName).assertEqual("com.example.third1.AMainAbility"); - expect(hapModuleInfo.abilityInfo.length).assertLarger(0); - expect(hapModuleInfo.colorMode).assertEqual(0); - expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); - expect(hapModuleInfo.metadata.length).assertEqual(0); - expect(hapModuleInfo.installationFree).assertEqual(false); - done(); - } - } - }); - /* * @tc.number: bms_getHapModuleInfo_0600 * @tc.name: get hapModuleInfo from the system through getBundleInfo diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/Test.json b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/Test.json index ea929c6cd5cf3734b999f5c8e5a2d085604d48a1..20a4a1b6a6c028a0af7ba6b686d0344c0fc99e9b 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/Test.json +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/Test.json @@ -29,9 +29,7 @@ "bmsThirdBundleTest1.hap->/data/test/bmsThirdBundleTest1.hap", "bmsThirdBundleTest5.hap->/data/test/bmsThirdBundleTest5.hap", "bmsSystemBundleTest1.hap->/data/test/bmsSystemBundleTest1.hap", - "bmsVendorBundleTest1.hap->/data/test/bmsVendorBundleTest1.hap", - "bmsThirdBundleTest7.hap->/data/test/bmsThirdBundleTest7.hap", - "bmsThirdBundleTest7A.hap->/data/test/bmsThirdBundleTest7A.hap" + "bmsVendorBundleTest1.hap->/data/test/bmsVendorBundleTest1.hap" ] }, { @@ -40,16 +38,13 @@ "bm install -p /data/test/bmsThirdBundleTest1.hap", "bm install -p /data/test/bmsSystemBundleTest1.hap", "bm install -p /data/test/bmsVendorBundleTest1.hap", - "bm install -p /data/test/bmsThirdBundleTest5.hap", - "bm install -p /data/test/bmsThirdBundleTest7.hap", - "bm install -p /data/test/bmsThirdBundleTest7A.hap" + "bm install -p /data/test/bmsThirdBundleTest5.hap" ], "teardown-command":[ "bm uninstall -n com.example.third1", "bm uninstall -n com.example.system1", "bm uninstall -n com.example.vendor1", "bm uninstall -n com.example.third5", - "bm uninstall -n com.example.third7", "rm -rf /data/test/" ] } diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js index 77f64566defdbef4993038cbe72764a665b5792a..e7c3257c3103558bff026e76c69ccd9bbfb74086 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js @@ -16,30 +16,17 @@ import bundle from '@ohos.bundle' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' -const BUNDLE_PATH1 = ['/data/test/bmsThirdBundleTest1.hap']; -const BUNDLE_PATH2 = ['/data/test/bmsThirdBundleTestA1.hap']; -const BUNDLE_PATH3 = ['/data/test/bmsThirdBundleTest5.hap']; -const BUNDLE_PATH4 = ['/data/test/bmsSystemBundleTest1.hap']; -const BUNDLE_PATH5 = ['/data/test/bmsVendorBundleTest1.hap']; const BUNDLE_NAME1 = 'com.example.third1'; const BUNDLE_NAME2 = 'com.example.third5'; const BUNDLE_NAME3 = 'com.example.noexist'; const BUNDLE_NAME4 = 'com.example.system1'; const BUNDLE_NAME5 = 'com.example.vendor1'; -const BUNDLE_NAME6 = 'com.example.third7'; const ABILITY_NAME1 = 'com.example.third1.MainAbility'; -const ABILITY_NAME2 = 'com.example.third1.AMainAbility'; const ABILITY_NAME3 = 'com.example.third5.AMainAbility'; const ABILITY_NAME4 = 'com.example.noexist.MainAbility'; const ABILITY_NAME5 = 'com.example.system1.MainAbility'; const ABILITY_NAME6 = 'com.example.vendor1.MainAbility'; -const ABILITY_NAME7 = 'com.example.third7.AMainAbility'; const USERID = 100; -const INSTALLPARAM = { - userId: 100, - installFlag: 1, - isKeepData: false -}; describe('ActsBmsMetaDataTest', function () { @@ -66,29 +53,6 @@ describe('ActsBmsMetaDataTest', function () { }); }); - /* - * @tc.number: bms_getMetaData_0200 - * @tc.name: test to get meta data for an update application. - * @tc.desc: get an application's meta data that is updated. - */ - it('bms_getMetaData_0200', 0, async function (done) { - await bundle.queryAbilityByWant( - { - "bundleName": BUNDLE_NAME6, - "abilityName": ABILITY_NAME7 - }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, USERID).then(dataInfos => { - console.info("dataInfos[0].metaData" + JSON.stringify(dataInfos[0].metaData)); - let metaData = dataInfos[0].metaData; - expect(metaData[0].name).assertEqual("DataA1"); - expect(metaData[0].value).assertEqual("float"); - expect(metaData[0].extra).assertEqual("$string:mainability_description"); - done(); - }).catch(err => { - expect(err).assertFail(); - done(); - }); - }); - /* * @tc.number: bms_getMetaData_0400 * @tc.name: test to get meta data for an application. diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/BUILD.gn similarity index 94% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/BUILD.gn rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/BUILD.gn index 3e7f7467e00ab87df1410a0318b8b7bce4253696..0063f84e99cae8aa26f3504fea60a629c2cfd0f2 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/BUILD.gn @@ -12,9 +12,9 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") -ohos_hap("eighth_right") { +ohos_hap("bmsAccessTokenTest5") { hap_profile = "./src/main/config.json" - hap_name = "eighth_right" + hap_name = "bmsAccessTokenTest5" subsystem_name = XTS_SUITENAME final_hap_path = "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/Test.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/Test.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/Test.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/signature/openharmony_sx.p7b similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/signature/openharmony_sx.p7b rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/signature/openharmony_sx.p7b diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json new file mode 100644 index 0000000000000000000000000000000000000000..a7bb5a8eb6a554e25e7c4d333d3bd14813fdcc11 --- /dev/null +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json @@ -0,0 +1,104 @@ +{ + "app": { + "bundleName": "com.example.bmsaccesstoken3", + "vendor": "example", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 5, + "target": 5, + "releaseType": "Beta1" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.example.bmsaccesstoken3", + "name": ".MyApplication1", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry" + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "name": ".MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:app_name", + "type": "page", + "isVisible": "true", + "launchType": "standard", + "language": "C++", + "metaData": { + "customizeData": [ + { + "name": "originWidgetName", + "value": "com.weather.testWidget" + } + ] + } + } + ], + "js": [ + { + "pages": [ + "pages/index/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + } + ], + "definePermissions":[ + { + "availableLevel":"normal", + "description":"ALPHA description", + "distributedSceneEnable":true, + "grantMode":"user_grant", + "label":"ALPHA label", + "name":"ohos.permission.ALPHA", + "provisionEnable":true + }, + { + "availableLevel":"normal", + "description":"BETA description", + "distributedSceneEnable":true, + "grantMode":"user_grant", + "label":"BETA label", + "name":"ohos.permission.BETA", + "provisionEnable":true + } + ], + "reqPermissions":[ + { + "name":"ohos.permission.ALPHA", + "reason":"use ohos.permission.ALPHA" + }, + { + "name":"ohos.permission.BETA", + "reason":"use ohos.permission.BETA" + }, + { + "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", + "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" + } + ] + } +} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/app.js similarity index 97% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/app.js rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/app.js index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..c158442201abb1888ae8fb1d57f150c5ec26c36b 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/app.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/app.js @@ -1,22 +1,22 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export default { + onCreate() { + console.info('AceApplication onCreate'); + }, + onDestroy() { + console.info('AceApplication onDestroy'); + } +}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/i18n/en-US.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/i18n/en-US.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/i18n/en-US.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/i18n/zh-CN.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/i18n/zh-CN.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.css similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.css rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.css diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.hml similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.hml rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.hml diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.js similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/default/pages/index/index.js rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/default/pages/index/index.js diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/resources/base/element/string.json similarity index 79% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/element/string.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/resources/base/element/string.json index 765de60f53fa554bfcfe58f02a307f53278dcac6..42d35ea0b36004721fb7567ea02f97834d53e296 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/element/string.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/resources/base/element/string.json @@ -1,12 +1,12 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsscenfive" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] +{ + "string": [ + { + "name": "app_name", + "value": "bmsfirstright" + }, + { + "name": "mainability_description", + "value": "JS_Phone_Empty Feature Ability" + } + ] } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/resources/base/media/icon.png similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/resources/base/media/icon.png rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/js/resources/base/media/icon.png diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/BUILD.gn similarity index 94% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/BUILD.gn rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/BUILD.gn index 7928bccb83d933fc05efb9bf32af5b334cb0bdf3..424238265f9edd30ba3eef38fcfbaf5853888177 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/BUILD.gn +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/BUILD.gn @@ -12,9 +12,9 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") -ohos_hap("fifth_right") { +ohos_hap("bmsAccessTokenTest4") { hap_profile = "./src/main/config.json" - hap_name = "fifth_right" + hap_name = "bmsAccessTokenTest4" subsystem_name = XTS_SUITENAME final_hap_path = "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/Test.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/Test.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/Test.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/signature/openharmony_sx.p7b similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/signature/openharmony_sx.p7b rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/signature/openharmony_sx.p7b diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json new file mode 100644 index 0000000000000000000000000000000000000000..20a8be88d6afb97d908179891434dc2576d85556 --- /dev/null +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json @@ -0,0 +1,104 @@ +{ + "app": { + "bundleName": "com.example.bmsaccesstoken2", + "vendor": "example", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 5, + "target": 5, + "releaseType": "Beta1" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.example.bmsaccesstoken2", + "name": ".MyApplication1", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry" + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "name": ".MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:app_name", + "type": "page", + "isVisible": "true", + "launchType": "standard", + "language": "C++", + "metaData": { + "customizeData": [ + { + "name": "originWidgetName", + "value": "com.weather.testWidget" + } + ] + } + } + ], + "js": [ + { + "pages": [ + "pages/index/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + } + ], + "definePermissions":[ + { + "availableLevel":"normal", + "description":"ALPHA description", + "distributedSceneEnable":true, + "grantMode":"user_grant", + "label":"ALPHA label", + "name":"ohos.permission.ALPHA", + "provisionEnable":true + }, + { + "availableLevel":"normal", + "description":"BETA description", + "distributedSceneEnable":true, + "grantMode":"user_grant", + "label":"BETA label", + "name":"ohos.permission.BETA", + "provisionEnable":true + } + ], + "reqPermissions":[ + { + "name":"ohos.permission.ALPHA", + "reason":"use ohos.permission.ALPHA" + }, + { + "name":"ohos.permission.BETA", + "reason":"use ohos.permission.BETA" + }, + { + "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", + "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" + } + ] + } +} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/app.js similarity index 97% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/app.js rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/app.js index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..c158442201abb1888ae8fb1d57f150c5ec26c36b 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/app.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/app.js @@ -1,22 +1,22 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export default { + onCreate() { + console.info('AceApplication onCreate'); + }, + onDestroy() { + console.info('AceApplication onDestroy'); + } +}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/i18n/en-US.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/i18n/en-US.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/i18n/en-US.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/i18n/zh-CN.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/i18n/zh-CN.json diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.css similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.css rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.css diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.hml similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.hml rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.hml diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.js similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/pages/index/index.js rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/default/pages/index/index.js diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/resources/base/element/string.json similarity index 79% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/element/string.json rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/resources/base/element/string.json index 62d9a121bd83115eae4053dbb49df9db70383866..42d35ea0b36004721fb7567ea02f97834d53e296 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/element/string.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/resources/base/element/string.json @@ -1,12 +1,12 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsscenseven" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] +{ + "string": [ + { + "name": "app_name", + "value": "bmsfirstright" + }, + { + "name": "mainability_description", + "value": "JS_Phone_Empty Feature Ability" + } + ] } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/resources/base/media/icon.png similarity index 100% rename from appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/resources/base/media/icon.png rename to appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/js/resources/base/media/icon.png diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json index 3ccb165a2eae63c6c3156cb08a261e1b194b3991..462b69a87de8c338bd00b04fff812637efe545d5 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.example.bmsaccesstoken1", + "bundleName": "com.example.bmsaccesstoken2", "vendor": "example", "version": { "code": 1, @@ -14,7 +14,7 @@ }, "deviceConfig": {}, "module": { - "package": "com.example.bmsaccesstoken1", + "package": "com.example.bmsaccesstoken2", "name": ".MyApplication1", "deviceType": [ "phone" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/config.json deleted file mode 100644 index 759494e8fb17288504ab77e7ad13aa79f0f45767..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "1.0.1" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": false, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 2008ad59f68f3bb7179f174c1a3ce49d3d789fb1..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseighthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmseighthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/BUILD.gn deleted file mode 100644 index ac900911b5d8d7f9843531470e589cbc26ca71fa..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("eleventh_right") { - hap_profile = "./src/main/config.json" - hap_name = "eleventh_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/config.json deleted file mode 100644 index 2b2f60fed9ad5af8e9cee7deb299ecd9eb929066..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "huawei", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": false, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 32db9f0361462130f46f3b8ae88b5717df5bbaef..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmseleventhright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmseleventhright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/config.json deleted file mode 100644 index 2556bbcbc2593dab90d94eeeeaac629a07c66ac0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/config.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "app": { - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "vendor": "example", - "bundleName": "com.example.l3jsdemo", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 16777218, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "descriptionId": 16777217, - "labelId": 16777216, - "icon": "$media:icon", - "name": "com.example.l3jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": true, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l3jsdemo.MainAbility", - "distro": { - "moduleType": "entry", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "entry" - }, - "package": "com.example.l1jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 8fabfb10bf46b4ebb50d7283e87995a5b67ce8aa..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsfifthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfifthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/BUILD.gn deleted file mode 100644 index 34a5af0a5ae54998a2c8b0de179ecf03dc3c51f8..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("FirstRequestPermissions") { - hap_profile = "./src/main/config.json" - hap_name = "FirstRequestPermissions" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/config.json deleted file mode 100644 index ac42b49b5dc8ee00a0f4591bae0d376912787b48..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/config.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "app": { - "bundleName": "com.example.firstrequestpermissions", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.firstrequestpermissions", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "visible": true, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.firstrequestpermissions.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard", - "permissions": ["ohos.permission.CAMERA"] - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ], - "reqPermissions": [ - { - "name": "com.permission.BMS_PERMISSIONCHANGE_U", - "reason": "Need PERMISSION_U", - "usedScene": { - "ability": [ - "com.example.firstrequestpermissions.MainAbility" - ], - "when": "always" - } - }, - { - "name": "com.permission.BMS_PERMISSIONCHANGE_V", - "reason": "Need PERMISSION_V", - "usedScene": { - "ability": [ - "com.example.firstrequestpermissions.MainAbility" - ], - "when": "always" - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.css deleted file mode 100644 index ba0faefa766fc0bd6d401d034deaa693f2c9219e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} - -.button { - margin-top: 15px; - font-size:35px; - background-color: aqua; - text-color: black; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 160e128c9849bf44c636557748cbcbcf2ffafb8e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,22 +0,0 @@ - - -
- - {{ title }} - - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.js deleted file mode 100644 index fce67f7ba75c4eb48e0c165cbff06cb143506833..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import featureAbility from '@ohos.ability.featureAbility' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = "Start First" - }, - onShow() { - }, - async reqPermission() { - var context = await featureAbility.getContext(); - context.requestPermissionsFromUser(["com.permission.BMS_PERMISSIONCHANGE_U", - "com.permission.BMS_PERMISSIONCHANGE_V"], 1, - (err, data) => { - console.log("RequestPermissionForUser:requestCode=" + data.requestCode); - for (var j = 0; j < data.permissions.length; j++) { - console.log("RequestPermissionForUser permissions : " + data.permissions[j]); - } - - for (var j = 0; j < data.grantResults.length; j++) { - console.log("RequestPermissionForUser grantResults : " + data.grantResults[j]); - } - }); - }, -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/element/string.json deleted file mode 100644 index 268d71aef5ab970d472fcab46012605fdfc1590f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "firstrequestpermission" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfirstrequestpermissions/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/BUILD.gn deleted file mode 100644 index 696c55959e5c33b5b8fb3ff7fca4385d7b49626c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("fourteenth_right") { - hap_profile = "./src/main/config.json" - hap_name = "fourteenth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/config.json deleted file mode 100644 index 151bb0ffa2114ccb71d5e499f92ffb582bc4ed50..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/config.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "app": { - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "vendor": "example", - "bundleName": "com.example.l3jsdemo", - "version": { - "code": 3000000, - "name": "3.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 16777218, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "descriptionId": 16777217, - "labelId": 16777216, - "icon": "$media:icon", - "name": "com.example.l3jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": true, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l3jsdemo.MainAbility", - "distro": { - "moduleType": "entry", - "installationFree": false, - "deliveryWithInstall": true, - "moduleName": "entry" - }, - "package": "com.example.l3jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 154c9fd962764a1aa4145170bac551b9201fe5c5..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsfourteenthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourteenthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/BUILD.gn deleted file mode 100644 index dbf733663184783f28754813fdfa49718fa3f2ae..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("fourth_right") { - hap_profile = "./src/main/config.json" - hap_name = "fourth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/config.json deleted file mode 100644 index 80341fe83ff7c745a489590a3b11f0e9a5fa15fd..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 3000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 948bdc6cc5fe4bfa1a39868efef872ef64f8966b..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsfourthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsfourthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/BUILD.gn deleted file mode 100644 index 3212864f9e9256650d62f946e4308a99462b47f8..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("bmsSystemBundleTest2Feature") { - hap_profile = "./src/main/config.json" - hap_name = "bmsSystemBundleTest2Feature" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/signature/openharmony_sx.p7b deleted file mode 100755 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/config.json deleted file mode 100644 index 0fd6bb419733da0ab9a3e5b27e15a068d6f4efd0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/config.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "app": { - "bundleName": "com.example.system2", - "vendor": "example", - "singleUser":true, - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": { - "default":{ - "keepAlive":true - } - }, - "module": { - "package": "com.example.system.feature", - "name": ".system2feature", - "mainAbility": "com.example.system2.MainAbility", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "systemFeature", - "moduleType": "feature" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.system2.MainAbilityB", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/element/string.json deleted file mode 100644 index 8abf35edcac1a14aba258130c1ace4d237188ee7..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "system2" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - }, - { - "name": "shortcut", - "value": "JS_Phone_Empty Shortcut" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemfeature/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/BUILD.gn deleted file mode 100644 index 2669e011c1c7ce8f382ca821d1ed29d2a4e0c715..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("bmsSystemBundleTest2Update") { - hap_profile = "./src/main/config.json" - hap_name = "bmsSystemBundleTest2Update" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/signature/openharmony_sx.p7b deleted file mode 100755 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/config.json deleted file mode 100644 index 704050bee7a5b131c060b22cc787dfcae540342c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/config.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "app": { - "bundleName": "com.example.system2", - "vendor": "example", - "singleUser":true, - "version": { - "code": 5, - "name": "5.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": { - "default":{ - "keepAlive":true - } - }, - "module": { - "package": "com.example.system2", - "name": ".BmsSystemBundle1", - "mainAbility": "com.example.system2.MainAbility", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.system2.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/element/string.json deleted file mode 100644 index 56a8d952c81f3f6c0bee12a1fc212218d10cc1ca..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "upsystem" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - }, - { - "name": "shortcut", - "value": "JS_Phone_Empty Shortcut" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystemupdate/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/BUILD.gn deleted file mode 100644 index 49c1315a041acce469d4e6f61792d3d1d4ded13b..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("ninth_right") { - hap_profile = "./src/main/config.json" - hap_name = "ninth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/config.json deleted file mode 100644 index 9bdc606158e8125631dba4363139107d253e44cc..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 6 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 72d179ce06a70a5f2ca8ec2477a66d18c72a976e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsninthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsninthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn deleted file mode 100644 index ddcb136a9787ef55af5384f6075b026d6fab1335..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("bmsJstest8") { - hap_profile = "./src/main/config.json" - hap_name = "bmsJstest8" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/signature/openharmony_sx.p7b deleted file mode 100755 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json deleted file mode 100644 index e7c204192295a644e9ee7e8098c2f7707c1a522a..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "app": { - "bundleName": "com.example.third1", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.third1", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.third1.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "forms": [ - { - "colorMode": "light", - "description": " JS1 Form", - "supportDimensions": [ "1*2", "2*2", "2*4" ], - "type": "JS", - "jsComponentName": "JS_name1", - "metaData": { - "customizeData": [ - { - "name": "originWidgetName1", - "value": "com.openharmony.weather.testWidget1" - } - ] - }, - "isDefault": true, - "deepLink": "ability://com.example.myapplication.fa/.MainAbility", - "defaultDimension": "1*2", - "name": "Form_JS1", - "scheduledUpateTime": "21:55", - "updateEnabled": true, - "updateDuration": 1 - } - ], - "launchType": "standard", - "visible": true, - "metaData": { - "parameters": [{ - "name": "Data1", - "type": "float", - "description": "$string:mainability_description" - }], - "results": [{ - "name": "Data1", - "type": "float", - "description": "$string:mainability_description" - }], - "customizeData": [{ - "name": "Data1", - "value": "float", - "extra": "$string:mainability_description" - }] - } - } - ], - "shortcuts": [ - { - "icon": "$media:icon", - "shortcutId": "id.third1", - "label": "$string:app_name", - "intents": [ - { - "targetClass":"com.example.third1.MainAbility", - "targetBundle":"com.example.third1" - } - ] - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/app.js deleted file mode 100755 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js deleted file mode 100644 index a2ff58470a93d145ec2da6f0c58ef486b9cbd08d..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import commonEvent from '@ohos.commonevent' -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -function PublishCallBackOne() { - console.debug("====>Publish CallBack Third1_Publish_CommonEvent====>"); -} -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - commonEvent.publish("Third1_Publish_CommonEvent", PublishCallBackOne); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/element/string.json deleted file mode 100644 index 14de079ccdb69ee914ba212fd6586880ce86a582..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmssceneeight" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn deleted file mode 100644 index 16631f9e879a1688158c4f5ad2bd1bda541c716f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("bmsJstest9") { - hap_profile = "./src/main/config.json" - hap_name = "bmsJstest9" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/signature/openharmony_sx.p7b deleted file mode 100755 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json deleted file mode 100644 index 5dbdecb146794f57829444c56347421fb2562368..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "app": { - "bundleName": "com.example.third1", - "vendor": "example", - "version": { - "code": 2, - "name": "2.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.third1", - "name": "com.example.third1.MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.third1.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "forms": [ - { - "colorMode": "light", - "description": " JSA1 Form", - "supportDimensions": [ "2*2", "2*4" ], - "type": "JS", - "jsComponentName": "JS_nameA1", - "metaData": { - "customizeData": [ - { - "name": "originWidgetNameA1", - "value": "com.openharmony.weather.testWidgetA1" - } - ] - }, - "isDefault": true, - "deepLink": "ability://com.example.myapplication.fa/.MainAbility", - "defaultDimension": "1*2", - "name": "Form_JSA1", - "scheduledUpateTime": "21:55", - "updateEnabled": true, - "updateDuration": 1 - } - ], - "launchType": "standard", - "metaData": { - "parameters": [{ - "name": "DataA1", - "type": "float", - "description": "$string:mainability_description" - }], - "results": [{ - "name": "DataA1", - "type": "float", - "description": "$string:mainability_description" - }], - "customizeData": [{ - "name": "DataA1", - "value": "float", - "extra": "$string:mainability_description" - }] - } - } - ], - "shortcuts": [ - { - "icon": "$media:icon", - "shortcutId": "id.thirdA1", - "label": "$string:app_name", - "intents": [ - { - "targetClass":"com.example.third1.MainAbility", - "targetBundle":"com.example.third1" - } - ] - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/app.js deleted file mode 100755 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js deleted file mode 100644 index 2bbeb831276190a9fe5e7d7fd99ab24ad2bbd9e0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "publish_event0100" - }, - onInit() { - this.title = "publish_event0100"; - }, -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/element/string.json deleted file mode 100644 index a1d22c0cde826169dcfb33538ab56e7842d38575..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsscenenine" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn deleted file mode 100644 index e24e97b7742279b1e502c222e46372a3f2297399..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("bmsJstest7") { - hap_profile = "./src/main/config.json" - hap_name = "bmsJstest7" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/signature/openharmony_sx.p7b deleted file mode 100755 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json deleted file mode 100644 index 506c87b97d8e415653313f1897ec5baf54da8ddc..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json +++ /dev/null @@ -1 +0,0 @@ -{"app": {"apiVersion": {"compatible": 5,"releaseType": "Beta1","target": 5},"vendor": "example","bundleName": "com.example.napi_test_suite10","version": {"code": 1,"name": "1.0"}},"deviceConfig": {"default": {"debug": true}},"module": {"abilities": [{"iconId": 16777218,"skills": [{"entities": ["entity.system.home","flag.home.intent.from.system"],"actions": ["action.system.home"]}],"descriptionId": 16777217,"labelId": 16777216,"icon": "$media:icon","name": "com.example.napi_test_suite.MainAbility","description": "$string:mainability_description","label": "$string:app_name","type": "page","launchType": "standard"}],"deviceType": ["phone"],"distro": {"moduleType": "entry","deliveryWithInstall": true,"moduleName": "entry"},"package": "com.example.napi_test_suite","defPermissions": [{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.CAMERA","description": "CAMERA permission in detail","label": "CAMERA permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.music","description": "music permission in detail","label": "music permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.WeChat","description": "WeChat permission in detail","label": "WeChat permission"}],"name": ".MyApplication","js": [{"pages": ["pages/index/index"],"name": "default","window": {"designWidth": 720,"autoDesignWidth": false}}]}} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/app.js deleted file mode 100755 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/BUILD.gn deleted file mode 100644 index 106f552e1840917680df7034477553fca8818bcc..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("second_backup_right") { - hap_profile = "./src/main/config.json" - hap_name = "second_backup_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/config.json deleted file mode 100644 index 2ab33613f033f123e0d8c65a67c2ef0c55a5ffac..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/element/string.json deleted file mode 100644 index a8e0d78256161dd977ef251e3fd0d7f5621ed24e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmssecondbackupright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondbackupright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/BUILD.gn deleted file mode 100644 index d78d0fc777d20579b89d0f41c3e7b3f1d82ed919..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("SecondRequestPermissions") { - hap_profile = "./src/main/config.json" - hap_name = "SecondRequestPermissions" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/config.json deleted file mode 100644 index 38f80ae1a5d23e9868ecc08b2f9bb68429023017..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/config.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "app": { - "bundleName": "com.example.secondrequestpermissions", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.secondrequestpermissions", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "visible": true, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.secondrequestpermissions.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ], - "reqPermissions": [ - { - "name": "com.permission.BMS_PERMISSIONCHANGE_W", - "reason": "Need PERMISSIONCHANGE W", - "usedScene": { - "ability": [ - "com.example.secondrequestpermissions.MainAbility" - ], - "when": "always" - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.css deleted file mode 100644 index dfceb2563512fd1b8853b9f0703fc1b6bc02dab4..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} - -.button { - margin-top: 15px; - font-size:35px; - background-color: aqua; - text-color: black; -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 65cb5afb5514dcbf624825a7dce25718c49d1603..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ title }} - - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.js deleted file mode 100644 index be70e7571888d2a8709f565b2c83d009180249e7..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import featureAbility from '@ohos.ability.featureAbility' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -export default { - data: { - title: "" - }, - onInit() { - this.title = "Start Second"; - }, - onShow() {}, - async reqPermission() - { - var context = await featureAbility.getContext(); - context.requestPermissionsFromUser(["com.permission.BMS_PERMISSIONCHANGE_W"], 1, - (err, data)=>{ - console.log("RequestPermissionForUser:requestCode=" + data.requestCode); - for(var j = 0; j < data.permissions.length; j++) { - console.log("RequestPermissionForUser permissions : " + data.permissions[j]); - } - - for(var j = 0; j < data.grantResults.length; j++) { - console.log("RequestPermissionForUser grantResults : " + data.grantResults[j]); - } - }); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/element/string.json deleted file mode 100644 index 40a792e03f62e897befad23d80e6a9e7a29cfa5c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "secondrequestpermission" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssecondrequestpermissions/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/BUILD.gn deleted file mode 100644 index d4c8429194686f9097d7bdaec7c4ff98431d6f7e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("sixteenth_right") { - hap_profile = "./src/main/config.json" - hap_name = "sixteenth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/config.json deleted file mode 100644 index a47d547f2d6fbd7726e815413f93a6968bc14e07..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 3000000, - "name": "3.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l1jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l1jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": false, - "deliveryWithInstall": true, - "moduleName": "l1jsdemo" - }, - "package": "com.example.l1jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 39988d5508ab29bc0157534ab41f8665c69883c8..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmssixteenthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixteenthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/BUILD.gn deleted file mode 100644 index cadc6611391934097a29f343e0e372d8ee1dba47..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("sixth_right") { - hap_profile = "./src/main/config.json" - hap_name = "sixth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/config.json deleted file mode 100644 index 7cfcf7262d251fbe393f6c47121e20f63137b00b..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 3000000, - "name": "3.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 7123cbbc0f63e957e1d89e993a33865095415589..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmssixthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssixthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/BUILD.gn deleted file mode 100644 index 35fc3f788367b5ba01e95b96cda76e2eda448dab..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("tenth_right") { - hap_profile = "./src/main/config.json" - hap_name = "tenth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/config.json deleted file mode 100644 index b957787e4c810174a3b00f0cbf35156e1e991474..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 5, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l2jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l2jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l2jsdemo" - }, - "package": "com.example.l2jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index a0da92dc23450f77db0b082d19a020b26343054e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmstenthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstenthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/BUILD.gn deleted file mode 100644 index 682627d96fcf3f76c33f9450e4357e4b3928eb64..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("third_right") { - hap_profile = "./src/main/config.json" - hap_name = "third_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/config.json deleted file mode 100644 index 08830bb444c77a7f31831ae6ffbaed3563131a2e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/config.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "app": { - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "vendor": "example", - "bundleName": "com.example.heiheiApplication", - "version": { - "code": 1000000, - "name": "1.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 16777218, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "descriptionId": 16777217, - "labelId": 16777216, - "icon": "$media:icon", - "name": "com.example.heiheiApplication.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": true, - "launchType": "standard" - } - ], - "deviceType": [ - "phone", - "tablet", - "tv", - "wearable" - ], - "mainAbility": "com.example.heiheiApplication.MainAbility", - "distro": { - "moduleType": "entry", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "entry" - }, - "package": "com.example.heihei", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index", - "pages/index/details/details" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/element/string.json deleted file mode 100644 index 7be54a0326d049c671392674c10b0c4e3b418448..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmsthirdright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirdright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/BUILD.gn deleted file mode 100644 index dfe51e1e985fdffeee4cd7441fa2234655f63258..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("thirteenth_right") { - hap_profile = "./src/main/config.json" - hap_name = "thirteenth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/config.json deleted file mode 100644 index fbdc95b9fada1e9412e0917acc62353f5ddf9bba..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 1000000, - "name": "1.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l1jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l1jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": true, - "deliveryWithInstall": true, - "moduleName": "l1jsdemo" - }, - "package": "com.example.l1jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsthirteenthright/src/main/js/resources/base/media/icon.png and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/BUILD.gn b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/BUILD.gn deleted file mode 100644 index bc867d6c38ec872f51711ec1b56718882fc09690..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_hap("twelfth_right") { - hap_profile = "./src/main/config.json" - hap_name = "twelfth_right" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/Test.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/Test.json deleted file mode 100644 index 7a88763ed8d2ac31dd30211b9574f47273e84549..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/signature/openharmony_sx.p7b and /dev/null differ diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/config.json deleted file mode 100644 index b75b9cdcd9831dbe581c589e898db9df7ab4e09e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "app": { - "iconId": 33554436, - "apiVersion": { - "compatible": 4, - "releaseType": "Release", - "target": 5 - }, - "labelId": 33554432, - "vendor": "example", - "icon": "$media:icon", - "bundleName": "com.example.l3jsdemo", - "label": "$string:app_name", - "version": { - "code": 2000000, - "name": "2.0.0" - } - }, - "deviceConfig": { - "default": { - "debug": true - } - }, - "module": { - "abilities": [ - { - "iconId": 33554435, - "descriptionId": 33554434, - "visible": true, - "labelId": 33554433, - "icon": "$media:icon", - "name": "com.example.l1jsdemo.MainAbility", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "homeAbility": false, - "launchType": "standard" - } - ], - "deviceType": [ - "tablet" - ], - "mainAbility": "com.example.l1jsdemo.MainAbility", - "distro": { - "moduleType": "feature", - "installationFree": false, - "deliveryWithInstall": true, - "moduleName": "l1jsdemo" - }, - "package": "com.example.l1jsdemo", - "name": ".MyApplication", - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": true - } - } - ] - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/app.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/app.js deleted file mode 100644 index 2a68c1992145a976957d7dcdd69a7e9c2e8e9877..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/en-US.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/zh-CN.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.css b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.css deleted file mode 100644 index 01ad739b27f208ff04f21924695104bd27c59df0..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2022 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.hml b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8d0e2061b88c99c91488405f0f2ead0c77de1a9e..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.js deleted file mode 100644 index 23ac44c8d392bb6b777ebae8c8a6f17bfff13f83..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/element/string.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/element/string.json deleted file mode 100644 index df46e92017823a52b0931a9f747505d147ea3bd6..0000000000000000000000000000000000000000 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "bmstwelfthright" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/media/icon.png b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmstwelfthright/src/main/js/resources/base/media/icon.png and /dev/null differ