提交 6af7c01a 编写于 作者: F fulizhong

modify testcases names Signed-off-by: FULIZHONG<fulizhong1@huawei.com>

Signed-off-by: Nfulizhong <fulizhong@huawei.com>
上级 f689cfae
...@@ -241,14 +241,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : fd is wrong
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.fd = -1; fileDescriptor.fd = -1;
let mySteps = new Array(ERROR_STATE, END_STATE); let mySteps = new Array(ERROR_STATE, END_STATE);
...@@ -258,14 +258,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : offset is -1
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.offset = 1; fileDescriptor.offset = 1;
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
...@@ -275,14 +275,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : length is -1
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
fileDescriptor.length = -1; fileDescriptor.length = -1;
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
...@@ -292,14 +292,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : fdSrc is undefined
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(ERROR_STATE, END_STATE); let mySteps = new Array(ERROR_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -308,14 +308,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.pause->play
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
console.info(`case update`); console.info(`case update`);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, PLAY_STATE, END_STATE);
...@@ -325,14 +325,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.stop->play
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, PLAY_STATE, ERROR_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, PLAY_STATE, ERROR_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -341,14 +341,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.seek->play
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, PLAY_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, PLAY_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -357,14 +357,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 04.reset->play
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, RESET_STATE, PLAY_STATE, ERROR_STATE, END_STATE); let mySteps = new Array(SRC_STATE, RESET_STATE, PLAY_STATE, ERROR_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -373,14 +373,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.createAudioPlayer->play
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(PAUSE_STATE, ERROR_STATE, END_STATE); let mySteps = new Array(PAUSE_STATE, ERROR_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -389,14 +389,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.play->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -405,14 +405,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.stop->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(PLAY_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE, END_STATE); let mySteps = new Array(PLAY_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -421,14 +421,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 04.seek->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, PAUSE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, PAUSE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -437,14 +437,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.play->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -453,14 +453,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.pause->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, STOP_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, STOP_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -469,14 +469,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.seek->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, STOP_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, STOP_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -485,14 +485,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.play->seek
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -501,14 +501,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.pause->seek
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, SEEK_STATE, SEEK_TIME, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -517,14 +517,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.seek(0)
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, 0, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, 0, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -533,14 +533,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.play->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -549,14 +549,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.pause->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RESET_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RESET_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -565,14 +565,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.createAudioPlayer->setVolume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(VOLUME_STATE, VOLUME_VALUE, END_STATE); var mySteps = new Array(VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -581,14 +581,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.play->setVolume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(SRC_STATE, PLAY_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE); var mySteps = new Array(SRC_STATE, PLAY_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -597,14 +597,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.pause->setVolume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
var mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE); var mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, VOLUME_STATE, VOLUME_VALUE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -613,14 +613,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.play->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -629,14 +629,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.pause->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -645,14 +645,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 03.stop->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -661,14 +661,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 04.seek->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, RELEASE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, SEEK_TIME, RELEASE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -677,14 +677,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 05.reset->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(SRC_STATE, PLAY_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
initAudioPlayer(); initAudioPlayer();
...@@ -693,14 +693,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 01.get parameters after createAudioPlayer
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
initAudioPlayer(); initAudioPlayer();
expect(audioPlayer.src).assertEqual(''); expect(audioPlayer.src).assertEqual('');
...@@ -712,14 +712,14 @@ describe('PlayerLocalTestAudioAPI', function () { ...@@ -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.name : 02.get parameters after src
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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); mediaTestBase.isFileOpen(fileDescriptor, done);
initAudioPlayer(); initAudioPlayer();
audioPlayer.src = fdHead + fileDescriptor.fd; audioPlayer.src = fdHead + fileDescriptor.fd;
......
...@@ -167,14 +167,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.start->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(START_STATE, ERROR_STATE, PRE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(START_STATE, ERROR_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -182,14 +182,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.pause->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE,
PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -198,14 +198,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.resume->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE,
PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -214,14 +214,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.stop->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -229,14 +229,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.reset->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -244,14 +244,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all steps->prepare
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PRE_STATE, ERROR_STATE, STOP_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PRE_STATE, ERROR_STATE, STOP_STATE,
PRE_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE); PRE_STATE, RESET_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
...@@ -260,14 +260,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.prepare called three times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, PRE_STATE, ERROR_STATE, PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, PRE_STATE, ERROR_STATE, PRE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -275,14 +275,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 10.channel:-1
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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.numberOfChannels = -1;
audioConfig.audioSampleRate = 22050; audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = 22050; audioConfig.audioEncodeBitRate = 22050;
...@@ -293,14 +293,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 11.channel:-1
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = -1; audioConfig.audioSampleRate = -1;
audioConfig.audioEncodeBitRate = 22050; audioConfig.audioEncodeBitRate = 22050;
...@@ -311,14 +311,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 12.channel:-1
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = 22050; audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = -1; audioConfig.audioEncodeBitRate = -1;
...@@ -329,14 +329,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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.numberOfChannels = CHANNEL_TWO;
audioConfig.audioSampleRate = 22050; audioConfig.audioSampleRate = 22050;
audioConfig.audioEncodeBitRate = 22050; audioConfig.audioEncodeBitRate = 22050;
...@@ -347,14 +347,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -362,14 +362,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.pause->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, START_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, START_STATE,
ERROR_STATE, RELEASE_STATE, END_STATE); ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -378,14 +378,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.resume->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, START_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -394,14 +394,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.stop->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, START_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -410,14 +410,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.reset->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, START_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, START_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -426,14 +426,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all steps->start
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, START_STATE, ERROR_STATE, 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, PRE_STATE, START_STATE, RESET_STATE, START_STATE, ERROR_STATE, PRE_STATE, START_STATE,
...@@ -443,14 +443,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.start called three times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, START_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, START_STATE, ERROR_STATE,
START_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); START_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -459,14 +459,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -474,14 +474,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -489,14 +489,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.start->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -504,14 +504,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.resume->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, PAUSE_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, PAUSE_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -520,14 +520,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.stop->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, PAUSE_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -536,14 +536,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.reset->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PAUSE_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, PAUSE_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -552,14 +552,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all step->pause
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, PAUSE_STATE, 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); STOP_STATE, PAUSE_STATE, ERROR_STATE, RESET_STATE, PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -568,14 +568,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.pause three times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, PAUSE_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, PAUSE_STATE, ERROR_STATE,
PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); PAUSE_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -584,14 +584,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -599,14 +599,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -614,14 +614,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.start->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -629,14 +629,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.pause->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -644,14 +644,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.stop->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -660,14 +660,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.reset->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RESUME_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RESUME_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -676,14 +676,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all->resume
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESUME_STATE, ERROR_STATE,
PAUSE_STATE, RESUME_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE, PAUSE_STATE, RESUME_STATE, STOP_STATE, RESUME_STATE, ERROR_STATE,
...@@ -693,14 +693,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.resume threee times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE,
RESUME_STATE, RESUME_STATE, ERROR_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); RESUME_STATE, RESUME_STATE, ERROR_STATE, RESUME_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -709,14 +709,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -724,14 +724,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -739,14 +739,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.start->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -754,14 +754,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.pause->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, STOP_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -769,14 +769,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.resume->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, STOP_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, STOP_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -785,14 +785,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.reset->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, STOP_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, STOP_STATE, ERROR_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -801,14 +801,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all steps->stop
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, STOP_STATE, ERROR_STATE, RESET_STATE, PRE_STATE, START_STATE, STOP_STATE, 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); RESET_STATE, PRE_STATE, RESET_STATE, STOP_STATE, ERROR_STATE, PRE_STATE, RELEASE_STATE, END_STATE);
...@@ -817,14 +817,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.stop called three times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, STOP_STATE, ERROR_STATE, let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, STOP_STATE, ERROR_STATE,
STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); STOP_STATE, ERROR_STATE, RELEASE_STATE, END_STATE);
...@@ -833,14 +833,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -848,14 +848,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -863,14 +863,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.start->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -878,14 +878,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.pause->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -893,14 +893,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.resume->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RESET_STATE, let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RESET_STATE,
RELEASE_STATE, END_STATE); RELEASE_STATE, END_STATE);
...@@ -909,14 +909,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.stop->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -924,14 +924,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 08.all steps->reset
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, RESET_STATE, PRE_STATE, START_STATE, RESET_STATE, PRE_STATE, START_STATE, 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); STOP_STATE, RESET_STATE, PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
...@@ -940,14 +940,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 09.reset callend three times
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE,
RESET_STATE, RESET_STATE, RELEASE_STATE, END_STATE); RESET_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
...@@ -956,14 +956,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 01.creatAudioRecorder->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(RELEASE_STATE, END_STATE); let mySteps = new Array(RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -972,14 +972,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 02.prepare->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -987,14 +987,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 03.start->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -1002,14 +1002,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 04.pause->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -1017,14 +1017,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 05.resume->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, PAUSE_STATE, RESUME_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -1032,14 +1032,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 06.stop->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, STOP_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
...@@ -1047,14 +1047,14 @@ describe('RecorderLocalTestAudioAPI', function () { ...@@ -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.name : 07.reset->release
* @tc.desc : Reliability Test * @tc.desc : Reliability Test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Reliability * @tc.type : Reliability
* @tc.level : Level2 * @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(); initAudioRecorder();
let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE); let mySteps = new Array(PRE_STATE, START_STATE, RESET_STATE, RELEASE_STATE, END_STATE);
setCallback(mySteps, done); setCallback(mySteps, done);
......
...@@ -336,14 +336,14 @@ describe('RecorderLocalTestAudioFUNC', function () { ...@@ -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.name : 03.AAC_DifferentSampleRate 96000
* @tc.desc : Audio recordr control test * @tc.desc : Audio recordr control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function * @tc.type : Function
* @tc.level : Level0 * @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'); fdObject = await mediaTestBase.getAudioFd('audio_08.m4a');
fdPath = "fd://" + fdObject.fdNumber.toString(); fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath; audioConfig.uri = fdPath;
...@@ -479,14 +479,14 @@ describe('RecorderLocalTestAudioFUNC', function () { ...@@ -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.name : 02.AAC,mp4
* @tc.desc : Audio recordr control test * @tc.desc : Audio recordr control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function * @tc.type : Function
* @tc.level : Level0 * @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'); fdObject = await mediaTestBase.getFd('audio_14.mp4');
fdPath = "fd://" + fdObject.fdNumber.toString(); fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath; audioConfig.uri = fdPath;
...@@ -503,14 +503,14 @@ describe('RecorderLocalTestAudioFUNC', function () { ...@@ -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.name : 02.AAC,mp4
* @tc.desc : Audio recordr control test * @tc.desc : Audio recordr control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function * @tc.type : Function
* @tc.level : Level0 * @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'); fdObject = await mediaTestBase.getAudioFd('audio_15.m4a');
fdPath = "fd://" + fdObject.fdNumber.toString(); fdPath = "fd://" + fdObject.fdNumber.toString();
audioConfig.uri = fdPath; audioConfig.uri = fdPath;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册