未验证 提交 b59b05ac 编写于 作者: O openharmony_ci 提交者: Gitee

!5543 audioPlayer、audioRecorder测试用例名称修改

Merge pull request !5543 from FULIZHONG/0919master
......@@ -241,14 +241,14 @@ describe('PlayerLocalTestAudioAPI', function () {
}
/* *
* @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0100
* @tc.name : fd is wrong
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.fd = -1;
let mySteps = new Array(ERROR_STATE, END_STATE);
......@@ -258,14 +258,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0200
* @tc.name : offset is -1
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.offset = 1;
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
......@@ -275,14 +275,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0300
* @tc.name : length is -1
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.length = -1;
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
......@@ -292,14 +292,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0400
* @tc.name : fdSrc is undefined
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AudioPlayer_SRC_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SRC_API_0400', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(ERROR_STATE, END_STATE);
initAudioPlayer();
......@@ -308,14 +308,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0100
* @tc.name : 01.pause->play
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
console.info(`case update`);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
......@@ -325,14 +325,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0200
* @tc.name : 02.stop->play
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, PLAY_STATE, ERROR_STATE, END_STATE);
initAudioPlayer();
......@@ -341,14 +341,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0300
* @tc.name : 03.seek->play
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, PLAY_STATE, END_STATE);
initAudioPlayer();
......@@ -357,14 +357,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0400
* @tc.name : 04.reset->play
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PLAY_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PLAY_API_0400', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, RESET_STATE, PLAY_STATE, ERROR_STATE, END_STATE);
initAudioPlayer();
......@@ -373,14 +373,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0100
* @tc.name : 01.createAudioPlayer->play
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(PAUSE_STATE, ERROR_STATE, END_STATE);
initAudioPlayer();
......@@ -389,14 +389,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0200
* @tc.name : 02.play->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, END_STATE);
initAudioPlayer();
......@@ -405,14 +405,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0300
* @tc.name : 03.stop->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(PLAY_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE, END_STATE);
initAudioPlayer();
......@@ -421,14 +421,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0400
* @tc.name : 04.seek->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_PAUSE_API_0400', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, PAUSE_STATE, END_STATE);
initAudioPlayer();
......@@ -437,14 +437,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0100
* @tc.name : 01.play->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, END_STATE);
initAudioPlayer();
......@@ -453,14 +453,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0200
* @tc.name : 02.pause->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, STOP_STATE, END_STATE);
initAudioPlayer();
......@@ -469,14 +469,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0300
* @tc.name : 03.seek->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_STOP_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_STOP_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, STOP_STATE, END_STATE);
initAudioPlayer();
......@@ -485,14 +485,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0100
* @tc.name : 01.play->seek
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, END_STATE);
initAudioPlayer();
......@@ -501,14 +501,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0200
* @tc.name : 02.pause->seek
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, END_STATE);
initAudioPlayer();
......@@ -517,14 +517,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0300
* @tc.name : 03.seek(0)
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SEEK_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SEEK_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, 0, END_STATE);
initAudioPlayer();
......@@ -533,14 +533,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RESET_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RESET_API_0100
* @tc.name : 01.play->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RESET_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RESET_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, END_STATE);
initAudioPlayer();
......@@ -549,14 +549,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RESET_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RESET_API_0200
* @tc.name : 02.pause->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RESET_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RESET_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RESET_STATE, END_STATE);
initAudioPlayer();
......@@ -565,14 +565,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0100
* @tc.name : 01.createAudioPlayer->setVolume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer();
......@@ -581,14 +581,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0200
* @tc.name : 02.play->setVolume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(SRC_STATE, PLAY_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer();
......@@ -597,14 +597,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0300
* @tc.name : 03.pause->setVolume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_SETVOLUME_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer();
......@@ -613,14 +613,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0100
* @tc.name : 01.play->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer();
......@@ -629,14 +629,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0200
* @tc.name : 02.pause->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer();
......@@ -645,14 +645,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0300
* @tc.name : 03.stop->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0300', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer();
......@@ -661,14 +661,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0400
* @tc.name : 04.seek->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0400', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, RELEASE_STATE, END_STATE);
initAudioPlayer();
......@@ -677,14 +677,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0400
* @tc.name : 05.reset->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_RELEASE_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_RELEASE_API_0400', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer();
......@@ -693,14 +693,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_TIME_API_0100
* @tc.name : 01.get parameters after createAudioPlayer
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_TIME_API_0100', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
initAudioPlayer();
expect(audioPlayer.src).assertEqual('');
......@@ -712,14 +712,14 @@ describe('PlayerLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_TIME_API_0200
* @tc.name : 02.get parameters after src
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_TIME_API_0200', 0, async function (done) {
mediaTestBase.isFileOpen(fileDescriptor, done);
initAudioPlayer();
audioPlayer.src = fdHead + fileDescriptor.fd;
......
......@@ -167,14 +167,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0200
* @tc.name : 02.start->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(START_STATE, ERROR_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -182,14 +182,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0300
* @tc.name : 03.pause->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE,
PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -198,14 +198,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0400
* @tc.name : 04.resume->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE,
PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -214,14 +214,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0500
* @tc.name : 05.stop->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -229,14 +229,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0600
* @tc.name : 06.reset->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -244,14 +244,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0800
* @tc.name : 08.all steps->prepare
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PRE_STATE, ERROR_STATE, STOP_STATE,
PRE_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
......@@ -260,14 +260,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0900
* @tc.name : 09.prepare called three times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, PRE_STATE, ERROR_STATE, PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -275,14 +275,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1000
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1000
* @tc.name : 10.channel:-1
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1000', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1000', 0, async function (done) {
audioConfig.numberOfChannels = -1;
audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = 22050;
......@@ -293,14 +293,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1100
* @tc.name : 11.channel:-1
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1100', 0, async function (done) {
audioConfig.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = -1;
audioConfig.audioEncodeBitRate = 22050;
......@@ -311,14 +311,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1200
* @tc.name : 12.channel:-1
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_Prepare_API_1200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1200', 0, async function (done) {
audioConfig.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = -1;
......@@ -329,14 +329,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0100
* @tc.name : 01.creatAudioRecorder->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0100', 0, async function (done) {
audioConfig.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = 22050;
......@@ -347,14 +347,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0200
* @tc.name : 02.prepare->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -362,14 +362,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0300
* @tc.name : 03.pause->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, START_STATE,
ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -378,14 +378,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0400
* @tc.name : 04.resume->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -394,14 +394,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0500
* @tc.name : 05.stop->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -410,14 +410,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0600
* @tc.name : 06.reset->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -426,14 +426,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0800
* @tc.name : 08.all steps->start
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, START_STATE, ERROR_STATE,
PRE_STATE, START_STATE, RESET_STATE, START_STATE, ERROR_STATE, PRE_STATE, START_STATE,
......@@ -443,14 +443,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0900
* @tc.name : 09.start called three times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_START_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_START_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, START_STATE, ERROR_STATE,
START_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -459,14 +459,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0100
* @tc.name : 01.creatAudioRecorder->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0100', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -474,14 +474,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0200
* @tc.name : 02.prepare->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -489,14 +489,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0300
* @tc.name : 03.start->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -504,14 +504,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0400
* @tc.name : 04.resume->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, PAUSE_STATE,
RELEASE_STATE, END_STATE);
......@@ -520,14 +520,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0500
* @tc.name : 05.stop->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -536,14 +536,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0600
* @tc.name : 06.reset->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PAUSE_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -552,14 +552,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0800
* @tc.name : 08.all step->pause
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, PAUSE_STATE,
STOP_STATE, PAUSE_STATE, ERROR_STATE, RESET_STATE, PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -568,14 +568,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0900
* @tc.name : 09.pause three times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_PAUSE_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PAUSE_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, PAUSE_STATE, ERROR_STATE,
PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -584,14 +584,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0100
* @tc.name : 01.creatAudioRecorder->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0100', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -599,14 +599,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0200
* @tc.name : 02.prepare->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -614,14 +614,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0300
* @tc.name : 03.start->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -629,14 +629,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0400
* @tc.name : 04.pause->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -644,14 +644,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0500
* @tc.name : 05.stop->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -660,14 +660,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0600
* @tc.name : 06.reset->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RESUME_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -676,14 +676,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0800
* @tc.name : 08.all->resume
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE,
PAUSE_STATE, RESUME_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE,
......@@ -693,14 +693,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0900
* @tc.name : 09.resume threee times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESUME_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESUME_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE,
RESUME_STATE, RESUME_STATE, ERROR_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -709,14 +709,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0100
* @tc.name : 01.creatAudioRecorder->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0100', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -724,14 +724,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0200
* @tc.name : 02.prepare->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -739,14 +739,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0300
* @tc.name : 03.start->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -754,14 +754,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0400
* @tc.name : 04.pause->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -769,14 +769,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0500
* @tc.name : 05.resume->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, STOP_STATE,
RELEASE_STATE, END_STATE);
......@@ -785,14 +785,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0600
* @tc.name : 06.reset->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, STOP_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE);
......@@ -801,14 +801,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0800
* @tc.name : 08.all steps->stop
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, STOP_STATE, ERROR_STATE, RESET_STATE, PRE_STATE, START_STATE, STOP_STATE,
RESET_STATE, PRE_STATE, RESET_STATE, STOP_STATE, ERROR_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
......@@ -817,14 +817,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0900
* @tc.name : 09.stop called three times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_STOP_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_STOP_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, STOP_STATE, ERROR_STATE,
STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
......@@ -833,14 +833,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0100
* @tc.name : 01.creatAudioRecorder->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0100', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -848,14 +848,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0200
* @tc.name : 02.prepare->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -863,14 +863,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0300
* @tc.name : 03.start->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -878,14 +878,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0400
* @tc.name : 04.pause->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -893,14 +893,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0500
* @tc.name : 05.resume->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RESET_STATE,
RELEASE_STATE, END_STATE);
......@@ -909,14 +909,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0600
* @tc.name : 06.stop->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -924,14 +924,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0800
* @tc.name : 08.all steps->reset
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0800', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESET_STATE, PRE_STATE, START_STATE, RESET_STATE, PRE_STATE, START_STATE,
STOP_STATE, RESET_STATE, PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
......@@ -940,14 +940,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0900
* @tc.name : 09.reset callend three times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RESET_API_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RESET_API_0900', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE,
RESET_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
......@@ -956,14 +956,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0100
* @tc.name : 01.creatAudioRecorder->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0100', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -972,14 +972,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0200
* @tc.name : 02.prepare->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0200', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -987,14 +987,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0300
* @tc.name : 03.start->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0300', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -1002,14 +1002,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0400
* @tc.name : 04.pause->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0400', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -1017,14 +1017,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0500
* @tc.name : 05.resume->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0500', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -1032,14 +1032,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0600
* @tc.name : 06.stop->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0600', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......@@ -1047,14 +1047,14 @@ describe('RecorderLocalTestAudioAPI', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0700
* @tc.name : 07.reset->release
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it('SUB_MEDIA_RECORDER_AUDIORECORDER_RELEASE_API_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_RELEASE_API_0700', 0, async function (done) {
initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done);
......
......@@ -336,14 +336,14 @@ describe('RecorderLocalTestAudioFUNC', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0350
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0800
* @tc.name : 03.AAC_DifferentSampleRate 96000
* @tc.desc : Audio recordr control test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level0
*/
it('SUB_MEDIA_RECORDER_CODEC_AAC_0350', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0800', 0, async function (done) {
fdObject = await mediaTestBase.getAudioFd('audio_08.m4a');
fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath;
......@@ -479,14 +479,14 @@ describe('RecorderLocalTestAudioFUNC', function () {
})
/* *
* @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_MP4_0100
* @tc.name : 02.AAC,mp4
* @tc.desc : Audio recordr control test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level0
*/
it('SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_MP4_0100', 0, async function (done) {
fdObject = await mediaTestBase.getFd('audio_14.mp4');
fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath;
......@@ -503,14 +503,14 @@ describe('RecorderLocalTestAudioFUNC', function () {
})
/* *
* @tc.number : SUB_MEDIA_RECORDER_Format_M4A_Function_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_M4A_0100
* @tc.name : 02.AAC,mp4
* @tc.desc : Audio recordr control test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level0
*/
it('SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_M4A_0100', 0, async function (done) {
fdObject = await mediaTestBase.getAudioFd('audio_15.m4a');
fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册