diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java b/multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java deleted file mode 100644 index a735d0a33e16bdb4ae0194d12fb865e64207b88e..0000000000000000000000000000000000000000 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java +++ /dev/null @@ -1,29 +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. - */ - - package ohos.acts.multimedia.audio.audioplayer; - - import ohos.aafwk.ability.AbilityPackage; - -/* - * java MyApplication - */ - - public class MyApplication extends AbilityPackage { - @Override - public void onInitialize() { - super.onInitialize(); - } - } diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js index 1dbf2799c209245b67debab74b443eba32cc1b07..5f18bbd47857814112c9b6c872a497796b247392 100755 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js @@ -4427,4 +4427,19 @@ describe('audioManager', function () { done(); }) + /* * + * @tc.number : SUB_AUDIO_MANAGER_interrupt_010 + * @tc.name : DeviceType - BLUETOOTH_SCO + * @tc.desc : DeviceType - BLUETOOTH_SCO + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 0 + */ + it('SUB_AUDIO_MANAGER_DeviceType_001', 0, async function (done) { + console.info('audio.DeviceType.BLUETOOTH_SCO :'+ JSON.stringify(audio.DeviceType.BLUETOOTH_SCO)); + expect(audio.DeviceType.BLUETOOTH_SCO).assertEqual(7); + await sleep(50); + done(); + }) + }) \ No newline at end of file