diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayList.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayList.ets index 5e738fcfdfdb6ab9c7b0f0b2a3e7c095f76563cc..6a48820b08dfa16749351cffeef5ed562daf1c7e 100644 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayList.ets +++ b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayList.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { songList } from '../model/SongList' +import { songList, SongListType } from '../model/SongList' import MyDataSource from '../model/SongModule' @Component @@ -79,7 +79,7 @@ export default struct PlayList { this.PlayAll() Scroll() { List() { - LazyForEach(new MyDataSource(songList), item => { + LazyForEach(new MyDataSource(songList), (item: SongListType) => { ListItem() { Column() { this.SongItem(item.title, item.label, item.singer) @@ -89,7 +89,7 @@ export default struct PlayList { .opacity(0.1) }.padding({ left: 14, right: 14 }) } - }, item => item.id) + }, (item: SongListType) => item.id.toString()) } .width('100%') .height('100%') diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayListCover.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayListCover.ets index c99ee0e6f83cab715b7d0628b892ed641f4ea3e1..633b1c7092f615e0a43ff68d638e761b384fd3e7 100644 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayListCover.ets +++ b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/common/PlayListCover.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { optionList } from '../model/SongList' +import { optionList, OptionListType } from '../model/SongList' @Component export default struct PlayListCover { @@ -26,8 +26,8 @@ export default struct PlayListCover { CoverImage() { Stack({ alignContent: Alignment.BottomStart }) { Image($r('app.media.pic_album')) - .width(this.currentBreakpoint == 'sm'? '120vp' : '170vp') - .height(this.currentBreakpoint == 'sm'? '120vp' : '170vp') + .width(this.currentBreakpoint == 'sm' ? '120vp' : '170vp') + .height(this.currentBreakpoint == 'sm' ? '120vp' : '170vp') .borderRadius(8) .onAreaChange((oldArea: Area, newArea: Area) => { this.imgHeight = newArea.height as number @@ -71,7 +71,7 @@ export default struct PlayListCover { @Builder CoverOptions() { Flex({ justifyContent: FlexAlign.SpaceBetween }) { - ForEach(optionList, item => { + ForEach(optionList, (item: OptionListType) => { Column({ space: 4 }) { Image(item.image).height(30).width(30) Text(item.text) diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/MediaData.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/MediaData.ets index 67cf961c3ec93a00561ae52975485a8205991502..548b71ec5f81f35fe33a98e466914b7df506bdfb 100644 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/MediaData.ets +++ b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/MediaData.ets @@ -15,11 +15,15 @@ import mediaQuery from '@ohos.mediaquery' +interface MediaQueryResult { + matches: boolean +} + export default class BreakpointSystem { private currentBreakpoint: string = 'md' - private smListener: mediaQuery.MediaQueryListener - private mdListener: mediaQuery.MediaQueryListener - private lgListener: mediaQuery.MediaQueryListener + private smListener: mediaQuery.MediaQueryListener = {} as mediaQuery.MediaQueryListener + private mdListener: mediaQuery.MediaQueryListener = {} as mediaQuery.MediaQueryListener + private lgListener: mediaQuery.MediaQueryListener = {} as mediaQuery.MediaQueryListener private updateCurrentBreakpoint(breakpoint: string) { if (this.currentBreakpoint !== breakpoint) { @@ -28,21 +32,21 @@ export default class BreakpointSystem { } } - private isBreakpointSM = (mediaQueryResult) => { + private isBreakpointSM = (mediaQueryResult: MediaQueryResult) => { if (mediaQueryResult.matches) { this.updateCurrentBreakpoint('sm') AppStorage.Set('fontSize', 14) AppStorage.Set('coverMargin', 10) } } - private isBreakpointMD = (mediaQueryResult) => { + private isBreakpointMD = (mediaQueryResult: MediaQueryResult) => { if (mediaQueryResult.matches) { this.updateCurrentBreakpoint('md') AppStorage.Set('fontSize', 16) AppStorage.Set('coverMargin', 30) } } - private isBreakpointLG = (mediaQueryResult) => { + private isBreakpointLG = (mediaQueryResult: MediaQueryResult) => { if (mediaQueryResult.matches) { this.updateCurrentBreakpoint('lg') AppStorage.Set('fontSize', 18) diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongList.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongList.ets index 133711c3f41bd63d978501ea0b51f02ca8797338..2fcca3da79b87d56651d9d15c967cf06e5e7d23b 100644 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongList.ets +++ b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongList.ets @@ -12,8 +12,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +interface SongListType { + id: number + title: string + singer: string + label: Resource +} -const songList = [ +interface OptionListType { + image: Resource + text: Resource | string +} + +const songList: SongListType[] = [ { id: 1, title: '不知道', singer: '小碗你好', label: $r('app.media.ic_vip') }, { id: 2, title: '歌名你好', singer: '张三-你好我好都好', label: $r('app.media.ic_SQ') }, { id: 3, title: '还是歌名', singer: '不知道你是谁', label: $r('app.media.ic_SQ') }, @@ -39,11 +50,11 @@ const songList = [ { id: 24, title: '安心安心', singer: '小安安', label: $r('app.media.ic_SQ') }, { id: 25, title: 'Notebook', singer: '小安安', label: $r('app.media.ic_SQ') } ] -const optionList = [ +const optionList: OptionListType[] = [ { image: $r('app.media.ic_collect'), text: '999+' }, { image: $r('app.media.ic_download'), text: $r('app.string.download') }, { image: $r("app.media.icon_comments"), text: $r('app.string.comment') }, { image: $r('app.media.icon_share'), text: $r('app.string.share') } ] -export { songList, optionList } \ No newline at end of file +export { songList, optionList, OptionListType, SongListType } \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongModule.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongModule.ets index c030c27c43067e84733077e1bd077c83a6c245c4..e627a89d1e4aa0b8879f628846a7843032a6d78b 100644 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongModule.ets +++ b/MultiDeviceAppDev/MusicAlbum/entry/src/main/ets/model/SongModule.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -type SongItem = { +interface SongItem { id: number, title: string, singer: string, diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/Ability.test.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/Ability.test.ets deleted file mode 100644 index 675703dceca9d362fc1c820e2b8968cd7d086002..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/Ability.test.ets +++ /dev/null @@ -1,51 +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. - */ - -import hilog from '@ohos.hilog' -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' - -export default function abilityTest() { - describe('ActsAbilityTest', function () { - // Defines a test suite. Two parameters are supported: test suite name and test suite function. - beforeAll(function () { - // Presets an action, which is performed only once before all test cases of the test suite start. - // This API supports only one parameter: preset action function. - }) - beforeEach(function () { - // Presets an action, which is performed before each unit test case starts. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: preset action function. - }) - afterEach(function () { - // Presets a clear action, which is performed after each unit test case ends. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: clear action function. - }) - afterAll(function () { - // Presets a clear action, which is performed after all test cases of the test suite end. - // This API supports only one parameter: clear action function. - }) - it('assertContain', 0, function () { - // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'it begin') - let a = 'abc' - let b = 'b' - // Defines a variety of assertion methods, which are used to declare expected boolean conditions. - expect(a).assertContain(b) - expect(a).assertEqual(a) - }) - }) -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/List.test.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/List.test.ets deleted file mode 100644 index 7e05ea60952f76d30ba3268f238352215f062110..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/test/List.test.ets +++ /dev/null @@ -1,20 +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. - */ - -import abilityTest from './Ability.test' - -export default function testsuite() { - abilityTest() -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/TestAbility.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/TestAbility.ets deleted file mode 100644 index aec33414f0292acf62b7e566bad6a6f91e45f86a..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/TestAbility.ets +++ /dev/null @@ -1,72 +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. - */ - -import hilog from '@ohos.hilog' -import Ability from '@ohos.application.Ability' -import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' -import { Hypium } from '@ohos/hypium' -import testsuite from '../test/List.test' -import Window from '@ohos.window' - -export default class TestAbility extends Ability { - onCreate(want, launchParam) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onCreate') - hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? '') - hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:' + JSON.stringify(launchParam) ?? '') - var abilityDelegator: any - abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() - var abilityDelegatorArguments: any - abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'start run testcase!!!') - Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) - } - - onDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onDestroy') - } - - onWindowStageCreate(windowStage: Window.WindowStage) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate') - windowStage.loadContent('testability/pages/Index', (err, data) => { - if (err.code) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR) - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? '') - return - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', - JSON.stringify(data) ?? '') - }) - } - - onWindowStageDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageDestroy') - } - - onForeground() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onForeground') - } - - onBackground() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground') - } -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/pages/Index.ets b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/pages/Index.ets deleted file mode 100644 index db9979b60e7dfe437a9a0e9fcd4668151dd8a261..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testability/pages/Index.ets +++ /dev/null @@ -1,53 +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. - */ - -import hilog from '@ohos.hilog' - -@Entry -@Component -struct Index { - aboutToAppear() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear') - } - - @State message: string = 'Hello World' - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('next page') - .fontSize(20) - .fontWeight(FontWeight.Bold) - } - .type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .width('35%') - .height('5%') - .onClick(() => { - }) - } - .width('100%') - } - .height('100%') - } -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts deleted file mode 100644 index c333570074880fc4f68af1b9089f2bba3488a2d4..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts +++ /dev/null @@ -1,85 +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. - */ - -import hilog from '@ohos.hilog' -import TestRunner from '@ohos.application.testRunner' -import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' - -var abilityDelegator = undefined -var abilityDelegatorArguments = undefined - -function translateParamsToString(parameters) { - const keySet = new Set([ - '-s class', '-s notClass', '-s suite', '-s it', - '-s level', '-s testType', '-s size', '-s timeout', - '-s dryRun' - ]) - let targetParams = '' - for (const key in parameters) { - if (keySet.has(key)) { - targetParams = `${targetParams} ${key} ${parameters[key]}` - } - } - return targetParams.trim() -} - -async function onAbilityCreateCallback() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'onAbilityCreateCallback') -} - -async function addAbilityMonitorCallback(err: any) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', 'addAbilityMonitorCallback : %{public}s', JSON.stringify(err) ?? '') -} - -export default class OpenHarmonyTestRunner implements TestRunner { - constructor() { - } - - onPrepare() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner OnPrepare ') - } - - async onRun() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun run') - abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() - abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() - var testAbilityName = abilityDelegatorArguments.bundleName + '.TestAbility' - let lMonitor = { - abilityName: testAbilityName, - onAbilityCreate: onAbilityCreateCallback, - }; - abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) - var cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName - cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) - var debug = abilityDelegatorArguments.parameters['-D'] - if (debug == 'true') { - cmd += ' -D' - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd) - abilityDelegator.executeShellCommand(cmd, - (err: any, d: any) => { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO) - hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? '') - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? '') - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.exitCode ?? '') - }) - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun end') - } -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/module.json5 b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/module.json5 deleted file mode 100644 index fd36ba53c20316b267de39f8dfd0e2063ba5eda1..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/module.json5 +++ /dev/null @@ -1,51 +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. - */ - -{ - "module": { - "name": "entry_test", - "type": "feature", - "description": "$string:module_test_desc", - "mainElement": "TestAbility", - "deviceTypes": [ - "phone" - ], - "deliveryWithInstall": true, - "installationFree": false, - "pages": "$profile:test_pages", - "abilities": [ - { - "name": "TestAbility", - "srcEntrance": "./ets/testability/TestAbility.ets", - "description": "$string:TestAbility_desc", - "icon": "$media:icon", - "label": "$string:TestAbility_label", - "visible": true, - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "skills": [ - { - "actions": [ - "action.system.home" - ], - "entities": [ - "entity.system.home" - ] - } - ] - } - ] - } -} diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/color.json b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/color.json deleted file mode 100644 index 3c712962da3c2751c2b9ddb53559afcbd2b54a02..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "color": [ - { - "name": "start_window_background", - "value": "#FFFFFF" - } - ] -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/string.json b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/string.json deleted file mode 100644 index 65d8fa5a7cf54aa3943dcd0214f58d1771bc1f6c..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/element/string.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "string": [ - { - "name": "module_test_desc", - "value": "test ability description" - }, - { - "name": "TestAbility_desc", - "value": "the test ability" - }, - { - "name": "TestAbility_label", - "value": "test label" - } - ] -} \ No newline at end of file diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/media/icon.png b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 Binary files a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/media/icon.png and /dev/null differ diff --git a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/profile/test_pages.json b/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/profile/test_pages.json deleted file mode 100644 index b7e7343cacb32ce982a45e76daad86e435e054fe..0000000000000000000000000000000000000000 --- a/MultiDeviceAppDev/MusicAlbum/entry/src/ohosTest/resources/base/profile/test_pages.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "src": [ - "testability/pages/Index" - ] -}