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

<audio焦点用例修改上库>

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