提交 0290ceb5 编写于 作者: D durui

<audio焦点用例修改上库>

Signed-off-by: Ndurui <durui15@huawei.com>
上级 d914451d
......@@ -18,7 +18,7 @@ import featureAbility from '@ohos.ability.featureAbility';
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from '@ohos/hypium';
import { UiDriver, BY } from '@ohos.UiTest'
export default function audioCapturerInterrupt() {
describe("AudioCapturerInterruptUnitTest", function () {
describe("AudioRenderCapturerInterruptUnitTest", function () {
async function getPermission() {
let permissions = ['ohos.permission.MICROPHONE'];
featureAbility.getContext().requestPermissionsFromUser(permissions, 0, (data) => {
......
......@@ -16,11 +16,14 @@
import audioCapturer from './AudioCapturer.test.js'
import AudioCapturerInterruptUnitTest from './AudioCapturerInterrupt.test.js'
import AudioPlaybackCapturer from './AudioPlaybackCapturer.test.js'
import AudioRenderCapturerInterruptUnitTest from './AudioRenderCapturerInterrupt.test'
export default function testsuite() {
audioCapturer()
AudioCapturerInterruptUnitTest()
AudioPlaybackCapturer()
AudioRenderCapturerInterruptUnitTest()
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册