diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js index 3e42214faf3f65630dec741d536fa1fbb9225a91..905ca7d9efbb5ba87ce51deb71bcc16098ef8315 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js @@ -316,14 +316,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Play_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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); @@ -333,14 +333,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Play_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -349,14 +349,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Play_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -365,14 +365,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Play_API_0400 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -381,14 +381,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Pause_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_AUDIOPLAYER_PAUSE_API_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let mySteps = new Array(PAUSE_STATE, ERROR_STATE, END_STATE); initAudioPlayer(); @@ -397,14 +397,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Pause_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -413,14 +413,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Pause_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -429,14 +429,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Pause_API_0400 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -445,14 +445,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Stop_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -461,14 +461,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Stop_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -477,14 +477,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Stop_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -493,14 +493,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Seek_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -509,14 +509,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Seek_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -525,14 +525,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Seek_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -541,14 +541,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Reset_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -557,14 +557,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Reset_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -573,14 +573,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SetVolume_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_AUDIOPLAYER_SETVOLUME_API_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); var mySteps = new Array(VOLUME_STATE, VOLUME_VALUE, END_STATE); initAudioPlayer(); @@ -589,14 +589,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SetVolume_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -605,14 +605,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_SetVolume_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -621,14 +621,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Release_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -637,14 +637,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Release_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -653,14 +653,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Release_API_0300 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -669,14 +669,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Release_API_0400 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -685,14 +685,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Release_API_0400 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_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(); @@ -701,14 +701,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Time_API_0100 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); initAudioPlayer(); expect(audioPlayer.src).assertEqual(''); @@ -720,14 +720,14 @@ describe('PlayerLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_AudioPlayer_Time_API_0200 + * @tc.number : SUB_MEDIA_PLAYER_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_MEDIA_PLAYER_AUDIOPLAYER_TIME_API_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); initAudioPlayer(); audioPlayer.src = fdHead + fileDescriptor.fd; diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js index e9e50d775d1f4fb3572e1e9a6bd2d6a5af158acf..4c44a0ef32266d5cf90f2c718ea55d8c6dda3cb3 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js @@ -287,14 +287,14 @@ describe('PlayerLocalTestAudioFUNC', function () { } /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETSOURCE + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SETSOURCE_0100 * @tc.name : 001.test setSorce '' * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETSOURCE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SETSOURCE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); bufferFlag = true; let mySteps = new Array(SRC_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); @@ -304,14 +304,14 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETVOLUME + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SETVOLUME_0100 * @tc.name : 001.test SetVolume 0/0.5/1 * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETVOLUME', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SETVOLUME_0100', 0, async function (done) { let mySteps = new Array(SRC_STATE, PLAY_STATE, VOLUME_STATE, 0, VOLUME_STATE, 0.5, VOLUME_STATE, MAX_VOLUME, RESET_STATE, RELEASE_STATE, END_STATE); initAudioPlayer(); @@ -320,14 +320,14 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SEEK + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SEEK_0100 * @tc.name : 001.test seek mode 0 / 0.5 * duration/ duration * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SEEK', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_SEEK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, 0, SEEK_STATE, DURATION_TIME / 2, SEEK_STATE, DURATION_TIME, FINISH_STATE, RELEASE_STATE, END_STATE); @@ -337,14 +337,14 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_GETTRECKDESCRIPTION + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_GETTRECKDESCRIPTION_0100 * @tc.name : 001.test getTrackDescription * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_GETTRECKDESCRIPTION', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_GETTRECKDESCRIPTION_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let mySteps = new Array(SRC_STATE, GETDESCRIPTION_PROMISE, GETDESCRIPTION_CALLBACK, RELEASE_STATE, END_STATE); initAudioPlayer(); @@ -353,14 +353,14 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_LOOP + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_LOOP_0100 * @tc.name : 001.test loop * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_LOOP', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_LOOP_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let playCount = 0; let seekCount = 0; @@ -442,40 +442,40 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_BASE_0100 * @tc.name : 001.test audio player (src) * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_BASE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); playAudioSource(fdPath, DURATION_TIME, PLAY_TIME, true, done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_BASE_0200 * @tc.name : 002.test audio player (fdsrc) * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_BASE_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); playAudioSource(fileDescriptor, DURATION_TIME, PLAY_TIME, true, done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_MULTIPLE + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_MULTIPLE_0100 * @tc.name : 001.test two audio player * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_MULTIPLE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FUNCTION_MULTIPLE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); function waitForDone() { console.info('case wait for next player'); diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js index 9cc739cda3316064fa51508ef1e6a9a356cf098f..99ef5a01bef5e48904e70d9aa488ae9d56f4b45c 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js @@ -122,7 +122,7 @@ describe('PlayerLocalTestAudioFormat', function () { } /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0100 * @tc.name : 001.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -133,12 +133,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0100', 0, async function (done) { playSource('01.mp3', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0200 * @tc.name : 002.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -149,12 +149,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0200', 0, async function (done) { playSource('02.mp3', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0300 * @tc.name : 003.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -165,12 +165,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0300', 0, async function (done) { playSource('03.mp3', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0400 * @tc.name : 004.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -181,12 +181,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0400', 0, async function (done) { playSource('04.mp3', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0100 * @tc.name : 001.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -197,13 +197,13 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0100', 0, async function (done) { playSource('47.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0300 * @tc.name : 003.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -214,12 +214,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0300', 0, async function (done) { playSource('49.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0400 * @tc.name : 004.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -230,12 +230,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0400', 0, async function (done) { playSource('50.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0500 * @tc.name : 005.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -246,12 +246,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0500', 0, async function (done) { playSource('51.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0600 * @tc.name : 006.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -262,12 +262,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0600', 0, async function (done) { playSource('54.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0700 * @tc.name : 007.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -278,12 +278,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0700', 0, async function (done) { playSource('64.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0800 * @tc.name : 008.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -294,12 +294,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0800', 0, async function (done) { playSource('65.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0900 * @tc.name : 009.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -310,12 +310,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0900', 0, async function (done) { playSource('66.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1000 * @tc.name : 010.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -326,12 +326,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1000', 0, async function (done) { playSource('67.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1100 * @tc.name : 011.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -342,12 +342,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1100', 0, async function (done) { playSource('92.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1200 * @tc.name : 012.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -358,12 +358,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1200', 0, async function (done) { playSource('93.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1300 * @tc.name : 013.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -374,12 +374,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1300', 0, async function (done) { playSource('94.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1400 * @tc.name : 014.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -390,12 +390,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1400', 0, async function (done) { playSource('96.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1500 * @tc.name : 015.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -406,12 +406,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1500', 0, async function (done) { playSource('97.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1600 * @tc.name : 016.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -422,12 +422,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_1600', 0, async function (done) { playSource('98.mp4', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0100 * @tc.name : 001.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -438,13 +438,13 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0100', 0, async function (done) { playSource('55.m4a', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0300 * @tc.name : 003.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -455,12 +455,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0300', 0, async function (done) { playSource('57.m4a', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0400 * @tc.name : 004.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -471,12 +471,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0400', 0, async function (done) { playSource('58.m4a', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0500 * @tc.name : 005.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -487,12 +487,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0500', 0, async function (done) { playSource('59.m4a', done); }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0700 * @tc.name : 007.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -503,7 +503,7 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_M4A_0700', 0, async function (done) { playSource('62.m4a', done); }) }) diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js index 1b554a13de677c468e054fe535990f21dcd484d7..62f6e8de6cb8ef16cc19e676adf0381ad2b0d24d 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js @@ -167,14 +167,14 @@ describe('RecorderLocalTestAudioAPI', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AudioRecorder_Prepare_API_0200 + * @tc.number : SUB_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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_MEDIA_RECORDER_AUDIORECORDER_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); diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js index 2cd8c6304a401d3c421363d714cbebc4552d602e..c21c2701f6f9149590c87ce5888469b640bde340 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js @@ -527,14 +527,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0100 * @tc.name : 001.start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0100', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_16.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -548,14 +548,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0200 * @tc.name : 002.pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0200', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_17.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -569,14 +569,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0300 * @tc.name : 003.pause->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0300', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_18.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -590,14 +590,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0400 * @tc.name : 005.reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0400', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_19.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -611,14 +611,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0500 * @tc.name : 006.pause->resume->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0500', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_20.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -632,14 +632,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0600 * @tc.name : 007.pause->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0600', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_21.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -653,14 +653,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0700 * @tc.name : 008.pause->resume->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0700', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_22.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -674,14 +674,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0800 * @tc.name : 009.stop->reset->pause->resume->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0800', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_23.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -696,14 +696,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0900 * @tc.name : 010.stop->reset->pause->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_0900', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_24.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -718,14 +718,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1000 * @tc.name : 011.start->reset->start->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1000', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_25.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -739,14 +739,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1100 * @tc.name : 012.start->pause->start(error) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1100', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_26.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -760,14 +760,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1200 * @tc.name : 013.start->stop->pause(error) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1200', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_27.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -781,7 +781,7 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1300 * @tc.name : 014. API8 audioEncoderMime: audio/mp4a-latm, * fileFormat:mp4 * @tc.desc : Audio recordr control test @@ -789,7 +789,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1300', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_28.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); let newAudioConfig = { @@ -811,7 +811,7 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1400 * @tc.name : 014. API8 audioEncoderMime: audio/mp4a-latm, * fileFormat:m4a * @tc.desc : Audio recordr control test @@ -819,7 +819,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FUNCTION_1400', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_29.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); let newAudioConfig = { diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js index aa9b9f57e667907acf2955c34dfe62858bd1c4a3..c6e72c111da02ebadada6eb53fac2587ff99a807 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js @@ -471,14 +471,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSOURCE + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSOURCE_0100 * @tc.name : 001.test setSorce '' (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSOURCE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSOURCE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETSOURCE_EVENT, '', ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -523,14 +523,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE_0100 * @tc.name : 001.test seek mode SEEK_PREV_SYNC/SEEK_NEXT_SYNC (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, @@ -646,14 +646,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION_0100 * @tc.name : 001.test getTrackDescription (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, @@ -680,14 +680,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE_0100 * @tc.name : 001.test video playe (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let fdPath = fdHead + fileDescriptor.fd; diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js index b15636a3a716b00e9f71697e110a8d5b0ccf3c5c..3ada994f5e49dfa629cdc6877688e2c0b33d9f64 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js @@ -293,14 +293,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode * @tc.name : 001.seek mode SEEK_PREV_SYNC/SEEK_NEXT_SYNC (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -454,14 +454,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription * @tc.name : 001.getTrackDescription (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let arrayDescription = null; @@ -963,14 +963,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100 * @tc.name : 001.parameter value after create/reset/release (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -1028,14 +1028,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200 * @tc.name : 002.speed and loop value after finish (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -1134,14 +1134,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300 * @tc.name : 003.speed and loop value after reset (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => {