From b6fa3d9aa8ba59aaae828be09845093c7009d444 Mon Sep 17 00:00:00 2001 From: lwx1121892 Date: Mon, 25 Jul 2022 14:29:22 +0800 Subject: [PATCH] =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lwx1121892 --- .../audio/audioplayer/MyApplication.java | 29 ------------------- .../src/main/js/test/AudioFramework.test.js | 15 ++++++++++ 2 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java 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 a735d0a33..000000000 --- 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 1dbf2799c..5f18bbd47 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 -- GitLab