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

!5335 媒体子系统测试用例命名规范修改

Merge pull request !5335 from FULIZHONG/0831master
......@@ -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');
......
......@@ -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);
})
})
......
......@@ -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 = {
......
......@@ -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;
......
......@@ -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) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册