提交 805df90c 编写于 作者: M monissa

xts用例名称修改1 Signed-off-by: monissa<qiaofenfeng@huawei.com>

Signed-off-by: Nmonissa <qiaofenfeng@huawei.com>
上级 ed71bbcb
......@@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('testHlsVideoPlayerSeek', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/1/index.m3u8', 10033, PLAY_TIME, done);
done();
})
......@@ -67,7 +67,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerSeekSeparate', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100Separate', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/2/index.m3u8', 10033, PLAY_TIME, done);
done();
})
......@@ -80,7 +80,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerSeekAudioOnly', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100AudioOnly', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/audio_only/index.m3u8', 10033, PLAY_TIME, done);
done();
})
......@@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('testHlsVideoPlayerSeekVariant', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100Variant', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/hls_variant/index.m3u8', 10033, PLAY_TIME, done);
done();
})
......@@ -106,7 +106,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerSeekVariantAudioOff', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100VariantAudioOff', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', 10080, PLAY_TIME, done);
done();
})
......@@ -119,7 +119,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level2
*/
it('testHlsVideoPlayerSeekCodecChange', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100CodecChange', 0, async function (done) {
await testVideoSeek(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', 10080, PLAY_TIME, done);
done();
})
......
......@@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('testHlsVideoPlayer', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/1/index.m3u8', 640, 320, 10033, PLAY_TIME, done);
done();
})
......@@ -67,7 +67,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerSeparate', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100Separate', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/2/index.m3u8', 640, 320, 10033, PLAY_TIME, done);
done();
})
......@@ -80,7 +80,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerAudioOnly', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100AudioOnly', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 0, 0, 10033, PLAY_TIME, done);
done();
})
......@@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('testHlsVideoPlayerVariant', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100Variant', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant/index.m3u8', null, null, 10033, PLAY_TIME, done);
done();
})
......@@ -106,7 +106,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHlsVideoPlayerVariantAudioOff', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100VariantAudioOff', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', null, null, 10080, PLAY_TIME, done);
done();
})
......@@ -119,7 +119,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test
* @tc.level : Level2
*/
it('testHlsVideoPlayerCodecChange', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100CodecChange', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', null, null, 10080, PLAY_TIME, done);
done();
})
......
......@@ -59,7 +59,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMp4_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0100', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mp4/h264_aac_640x320_30r.mp4';
await playVideoSource(path, 640, 320, 10100, PLAY_TIME, done);
done();
......@@ -73,7 +73,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMp4_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0200', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mp4/h264_mp3_640x480_25r.mp4';
await playVideoSource(path, 640, 480, 10080, PLAY_TIME, done);
done();
......@@ -87,7 +87,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatTs_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0100', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_aac_640x480_30r.ts';
await playVideoSource(path, 640, 480, 10161, PLAY_TIME, done);
done();
......@@ -101,7 +101,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatTs_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0200', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_mp3_640x480_25r.ts';
await playVideoSource(path, 640, 480, 10169, PLAY_TIME, done);
done();
......@@ -115,7 +115,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMkv_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0100', 0, async function (done) {
let path = VIDEO_PATH + 'H264_AAC.mkv';
await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done);
done();
......@@ -129,7 +129,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMkv_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0200', 0, async function (done) {
let path = VIDEO_PATH + 'H264_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done();
......@@ -143,7 +143,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMkv_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0300', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG2_AAC.mkv';
await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done);
done();
......@@ -157,7 +157,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMkv_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0400', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG2_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done();
......@@ -171,7 +171,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatMkv_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0500', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG4_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done();
......@@ -185,7 +185,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpVideoPlayerFormatWebm_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_WEBM_0100', 0, async function (done) {
let path = VIDEO_PATH + 'VP8_VORBIS.webm';
await playVideoSource(path, 720, 480, 10083, PLAY_TIME, done);
done();
......@@ -199,7 +199,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatMp3_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_MP3_0100', 0, async function (done) {
let path = AUDIO_PATH + '01.mp3';
await playAudioSource(path, 219600, PLAY_TIME, true, done);
})
......@@ -212,7 +212,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatAac_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_AAC_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'aac/aac_96ksr_64kbr_2ch.aac';
await playAudioSource(path, 12198, PLAY_TIME, true, done);
})
......@@ -225,7 +225,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatWav_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_WAV_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'wav/pcm_48ksr_16kbr_1ch.wav';
await playAudioSource(path, 5461, PLAY_TIME, true, done);
})
......@@ -238,7 +238,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatFlac_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_FLAC_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'flac/flac_96ksr_64kbr_2ch.flac';
await playAudioSource(path, 10000, PLAY_TIME, true, done);
})
......@@ -251,7 +251,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatM4a_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_M4A_0100', 0, async function (done) {
let path = AUDIO_PATH + '55.m4a';
await playAudioSource(path, 219575, PLAY_TIME, true, done);
})
......@@ -264,7 +264,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test
* @tc.level : Level1
*/
it('testHttpAudioPlayerFormatOgg_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_OGG_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'ogg/vorbis_48ksr_32kbr_1ch.ogg';
await playAudioSource(path, 10009, PLAY_TIME, true, done);
})
......
......@@ -115,14 +115,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100
* @tc.name : 001.play (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -167,14 +167,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200
* @tc.name : 002.pause (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -223,14 +223,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300
* @tc.name : 003.pause->play (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -288,14 +288,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400
* @tc.name : 004.stop (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -344,14 +344,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500
* @tc.name : 005.reset (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -400,14 +400,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600
* @tc.name : 006.seek (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -457,14 +457,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700
* @tc.name : 007.seek CLOSEST(promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -544,14 +544,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800
* @tc.name : 008.setVolume (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -600,14 +600,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900
* @tc.name : 009.setSpeed (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -661,14 +661,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000
* @tc.name : 010.getTrackDescription (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......@@ -711,14 +711,14 @@ describe('HttpPlayerFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100
* @tc.name : 011.Loop true (promise)
* @tc.desc : Video playback control test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100', 0, async function (done) {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let videoPlayer = null;
......
......@@ -247,14 +247,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
}
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0100
* @tc.name : location: {latitude: -90, longitude: -180}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0100', 0, async function (done) {
await getFd('COMPATIBILITY_0100.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = -90;
......@@ -266,14 +266,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0200
* @tc.name : location: {latitude: 90, longitude: 180}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0200', 0, async function (done) {
await getFd('COMPATIBILITY_0200.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = 90;
......@@ -285,14 +285,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0300
* @tc.name : location: {latitude: 0, longitude: 0}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0300', 0, async function (done) {
await getFd('COMPATIBILITY_0300.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = 0;
......@@ -304,14 +304,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0400
* @tc.name : location: {latitude: 0, longitude: 180}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0400', 0, async function (done) {
await getFd('COMPATIBILITY_0400.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = 0;
......@@ -323,14 +323,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0500
* @tc.name : location: {latitude: -30, longitude: 60}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0500', 0, async function (done) {
await getFd('COMPATIBILITY_0500.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = -30;
......@@ -342,14 +342,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0600
* @tc.name : location: {latitude: 60, longitude: -90}
* @tc.desc : location test
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level1
*/
it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0600', 0, async function (done) {
await getFd('COMPATIBILITY_0600.m4a');
audioConfig.uri = fdPath;
audioConfig.location.latitude = 60;
......
......@@ -96,249 +96,249 @@ describe('ProfileAbnormalTestCallback', function () {
}
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0100
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0100
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : 5 args all set wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0100', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0100', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalAll, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0200
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0200
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : FormatType is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0200', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0200', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalFormatType, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0300
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0300
* @tc.name : test isAudioRecoderConfigSupported fasle
* @tc.desc : CodecMimeType is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0300', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0300', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalCodecMimeType, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0400
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0400
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : bitrate is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0400', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0400', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalBitrate, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0500
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0500
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : sampleRate is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0500', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0500', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleRate, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0600
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0600
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : channel is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0600', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0600', 0, async function (done) {
console.info("test getAudioRecorderCaps");
callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleChannel, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0700
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0700
* @tc.name : test hasVideoRecorderProfile
* @tc.desc : sourceId 1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0700', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0700', 0, async function (done) {
console.info('test hasVideoRecorderProfile');
callbackAbnormalHasVideoProfile(1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0800
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0800
* @tc.name : test hasVideoRecorderProfile sourceId -1
* @tc.desc : sourceId -1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0800', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0800', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0900
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0900
* @tc.name : test hasVideoRecorderProfile qualityLevel -1
* @tc.desc : sourceId 0 qualityLevel -1
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_0900', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_0900', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(0, -1, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1000
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1000
* @tc.name : test hasVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65535 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1000', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1000', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1100
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1100
* @tc.name : test hasVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65536 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1100', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1100', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1200
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1200
* @tc.name : test hasVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65535
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1200', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1200', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(0, 65535, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1300
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1300
* @tc.name : test hasVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65536
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1300', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1300', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
callbackAbnormalHasVideoProfile(0, 65536, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1400
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1400
* @tc.name : test getVideoRecorderProfile sourceId -1
* @tc.desc : sourceId -1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1400', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1400', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1500
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1500
* @tc.name : test getVideoRecorderProfile qualityLevel -1
* @tc.desc : sourceId 0 qualityLevel -1
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1500', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1500', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(0, -1, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1600
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1600
* @tc.name : test getVideoRecorderProfile sourceId 65535
* @tc.desc : sourceId 65535 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1600', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1600', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1700
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1700
* @tc.name : test getVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65536 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1700', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1700', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1800
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1800
* @tc.name : test getVideoRecorderProfile qualityLevel 65535
* @tc.desc : sourceId 0 qualityLevel 65535
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1800', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1800', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(0, 65535, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1900
* @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1900
* @tc.name : test getVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65536
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_CALLBACK_1900', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_CALLBACK_1900', 0, async function (done) {
console.info("test getVideoRecorderProfile");
callbackAbnormalGetVideoProfile(0, 65536, done);
})
......
......@@ -106,248 +106,248 @@ describe('ProfileAbnormalTestPromise', function () {
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0100
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0100
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : 5 args all set wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0100', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0100', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalAll, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0200
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0200
* @tc.name : test isAudioRecoderConfigSupported false
* @tc.desc : FormatType is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0200', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0200', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalFormatType, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0300
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0300
* @tc.name : test isAudioRecoderConfigSupported
* @tc.desc : CodecMimeType is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0300', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0300', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalCodecMimeType, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0400
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0400
* @tc.name : test isAudioRecoderConfigSupported
* @tc.desc : bitrate is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0400', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0400', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalBitrate, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0500
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0500
* @tc.name : test isAudioRecoderConfigSupported
* @tc.desc : sampleRate is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0500', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0500', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleRate, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0600
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0600
* @tc.name : test isAudioRecoderConfigSupported
* @tc.desc : channel is wrong
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0600', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0600', 0, async function (done) {
console.info("test getAudioRecorderCaps");
promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleChannel, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0700
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0700
* @tc.name : test hasVideoRecorderProfile
* @tc.desc : sourceId 1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0700', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0700', 0, async function (done) {
console.info('test hasVideoRecorderProfile');
promiseAbnormalHasVideoProfile(1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0800
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0800
* @tc.name : test hasVideoRecorderProfile sourceId -1
* @tc.desc : sourceId -1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0800', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0800', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0900
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0900
* @tc.name : test hasVideoRecorderProfile qualityLevel -1
* @tc.desc : sourceId 0 qualityLevel -1
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_0900', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_0900', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(0, -1, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1000
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1000
* @tc.name : test hasVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65535 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1000', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1000', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1100
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1100
* @tc.name : test hasVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65536 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1100', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1100', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1200
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1200
* @tc.name : test hasVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65535
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1200', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1200', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(0, 65535, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1300
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1300
* @tc.name : test hasVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65536
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1300', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1300', 0, async function (done) {
console.info("test hasVideoRecorderProfile");
promiseAbnormalHasVideoProfile(0, 65536, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1400
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1400
* @tc.name : test getVideoRecorderProfile sourceId -1
* @tc.desc : sourceId -1 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1400', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1400', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1500
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1500
* @tc.name : test getVideoRecorderProfile qualityLevel -1
* @tc.desc : sourceId 0 qualityLevel -1
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1500', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1500', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(0, -1, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1600
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1600
* @tc.name : test getVideoRecorderProfile sourceId 65535
* @tc.desc : sourceId 65535 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1600', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1600', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1700
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1700
* @tc.name : test getVideoRecorderProfile sourceId 65536
* @tc.desc : sourceId 65536 qualityLevel 0
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1700', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1700', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1800
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1800
* @tc.name : test getVideoRecorderProfile qualityLevel 65535
* @tc.desc : sourceId 0 qualityLevel 65535
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1800', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1800', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(0, 65535, done);
})
/* *
* @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1900
* @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1900
* @tc.name : test getVideoRecorderProfile qualityLevel 65536
* @tc.desc : sourceId 0 qualityLevel 65536
* @tc.size : MediumTest
* @tc.type : Abnormal test
* @tc.level : Level2
*/
it('SUB_PROFILE_ABNORMAL_PROMISE_1900', 0, async function (done) {
it('SUB_PROFILE_RELIABILITY_PROMISE_1900', 0, async function (done) {
console.info("test getVideoRecorderProfile");
promiseAbnormalGetVideoProfile(0, 65536, done);
})
......
......@@ -490,14 +490,14 @@ describe('VideoDecoderFormatPromise', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0100
* @tc.name : 001.test h264 format-HP-resolution 720*480-frame rate 30FPS-bitrate 3000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0100', 0, async function (done) {
console.info("case test h264 format-HP-resolution 720*480-frame rate 30FPS-bitrate 3000000bps");
ES_FRAME_SIZE = H264_HP_720_480_30_3000000;
let name = "avdec_h264";
......@@ -519,14 +519,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0200
* @tc.name : 001.test h264 format-HP-resolution 640*480-frame rate 30FPS-bitrate 3000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0200', 0, async function (done) {
console.info("case test h264 format-HP-resolution 640*480-frame rate 30FPS-bitrate 3000000bps");
ES_FRAME_SIZE = H264_HP_640_480_30_3000000;
let name = "avdec_h264";
......@@ -548,14 +548,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0300
* @tc.name : 001.test h264 format-HP-resolution 352*288-frame rate 30FPS-bitrate 3000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0300', 0, async function (done) {
console.info("case test h264 format-HP-resolution 352*288-frame rate 30FPS-bitrate 3000000bps");
ES_FRAME_SIZE = H264_HP_352_288_30_3000000;
let name = "avdec_h264";
......@@ -577,14 +577,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0400
* @tc.name : 001.test h264 format-HP-resolution 720*480-frame rate 25FPS-bitrate 3000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0400', 0, async function (done) {
console.info("case test h264 format-HP-resolution 720*480-frame rate 25FPS-bitrate 3000000bps");
ES_FRAME_SIZE = H264_HP_720_480_25_3000000;
let name = "avdec_h264";
......@@ -606,14 +606,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0500
* @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 10FPS-bitrate 3000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0500', 0, async function (done) {
console.info("case test h264 format-BP-resolution 720*480-frame rate 10FPS-bitrate 3000000bps");
ES_FRAME_SIZE = H264_BP_720_480_10_3000000;
let name = "avdec_h264";
......@@ -635,14 +635,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0600
* @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 2000000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0600', 0, async function (done) {
console.info("case test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 2000000bps");
ES_FRAME_SIZE = H264_BP_720_480_30_2000000;
let name = "avdec_h264";
......@@ -664,14 +664,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0700
* @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 768000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0700', 0, async function (done) {
console.info("case test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 768000bps");
ES_FRAME_SIZE = H264_BP_720_480_30_768000;
let name = "avdec_h264";
......@@ -693,14 +693,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0800
* @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 384000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0800', 0, async function (done) {
console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 384000bps");
ES_FRAME_SIZE = H264_MP_720_480_30_384000;
let name = "avdec_h264";
......@@ -722,14 +722,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0900
* @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 192000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0900', 0, async function (done) {
console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 192000bps");
ES_FRAME_SIZE = H264_MP_720_480_30_192000;
let name = "avdec_h264";
......@@ -751,14 +751,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1000
* @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 128000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1000', 0, async function (done) {
console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 128000bps");
ES_FRAME_SIZE = H264_MP_720_480_30_128000;
let name = "avdec_h264";
......@@ -780,14 +780,14 @@ describe('VideoDecoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1100
* @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 64000bps
* @tc.desc : video decoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1100', 0, async function (done) {
console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 64000bps");
ES_FRAME_SIZE = H264_MP_720_480_30_64000;
let name = "avdec_h264";
......
......@@ -352,14 +352,14 @@ describe('VideoEncoderFormatPromise', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0100
* @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 30 FPS
* @tc.desc : video encoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0100', 0, async function (done) {
console.info("case test MPEG4 format-resolution 640*480-frame rate 30 FPS");
let savePath = 'rk_mpeg4_video_software_640_480_30.es';
let name= 'avenc_mpeg4';
......@@ -375,14 +375,14 @@ describe('VideoEncoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0200
* @tc.name : 000.test MPEG4 format-resolution 352*288-frame rate 30 FPS
* @tc.desc : video encoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0200', 0, async function (done) {
console.info("case test MPEG4 format-resolution 352*288-frame rate 30 FPS");
let savePath = 'rk_mpeg4_video_software_352_288_30.es';
let name= 'avenc_mpeg4';
......@@ -398,14 +398,14 @@ describe('VideoEncoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0300
* @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 25 FPS
* @tc.desc : video encoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0300', 0, async function (done) {
console.info("case test MPEG4 format-resolution 640*480-frame rate 25 FPS");
let savePath = 'rk_mpeg4_video_software_640_480_25.es';
let name= 'avenc_mpeg4';
......@@ -421,14 +421,14 @@ describe('VideoEncoderFormatPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0400
* @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 10 FPS
* @tc.desc : video encoder format compatibility test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0400', 0, async function (done) {
console.info("case test MPEG4 format-resolution 640*480-frame rate 10 FPS");
let savePath = 'rk_mpeg4_video_software_640_480_10.es';
let name= 'avenc_mpeg4';
......
......@@ -300,14 +300,14 @@ describe('VideoDecoderEnum', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100
* @tc.name : 001.CodecBuffer
* @tc.desc : Test Interface CodecBuffer
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......
......@@ -355,14 +355,14 @@ describe('VideoDecoderFuncCallbackTest', function () {
});
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0s
*/
it('SUB_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -390,14 +390,14 @@ describe('VideoDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG2_FRAME_SIZE;
let srcPath = 'MPEG2_720_480.es';
readpath = srcPath;
......@@ -424,14 +424,14 @@ describe('VideoDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG4_FRAME_SIZE;
let srcPath = 'mpeg4_320_240.es';
readpath = srcPath;
......
......@@ -335,14 +335,14 @@ describe('VideoDecoderFuncPromiseTest', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_H264_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_H264_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -369,14 +369,14 @@ describe('VideoDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG2_FRAME_SIZE;
let srcPath = 'MPEG2_720_480.es';
readpath = srcPath;
......@@ -402,14 +402,14 @@ describe('VideoDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG4_FRAME_SIZE;
let srcPath = 'mpeg4_320_240.es';
readpath = srcPath;
......@@ -435,14 +435,14 @@ describe('VideoDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100
* @tc.name : 001.creat multiple video decoders
* @tc.desc : creat multiple video decoders
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......
......@@ -327,14 +327,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () {
});
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -361,14 +361,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG2_FRAME_SIZE;
let srcPath = 'MPEG2_720_480.es';
readpath = srcPath;
......@@ -394,14 +394,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG4_FRAME_SIZE;
let srcPath = 'mpeg4_320_240.es';
readpath = srcPath;
......@@ -427,14 +427,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0600
* @tc.name : test reconfigure for new file with the same format
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0600', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -492,14 +492,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0700
* @tc.name : test reconfigure for new file with the different format
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0700', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......
......@@ -329,14 +329,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -362,14 +362,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG2_FRAME_SIZE;
let srcPath = 'MPEG2_720_480.es';
readpath = srcPath;
......@@ -394,14 +394,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100
* @tc.name : 001.basic Video decode function
* @tc.desc : start-> EOS -> stop -> reset
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100', 0, async function (done) {
ES_FRAME_SIZE = MPEG4_FRAME_SIZE;
let srcPath = 'mpeg4_320_240.es';
readpath = srcPath;
......@@ -426,14 +426,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0600
* @tc.name : test reconfigure for new file with the same format
* @tc.desc : test basic function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0600', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......@@ -489,14 +489,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0700
* @tc.name : test reconfigure for new file with the different format
* @tc.desc : test basic function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0700', 0, async function (done) {
ES_FRAME_SIZE = H264_FRAME_SIZE_240;
isCodecData = true;
let srcPath = 'out_320_240_10s.h264';
......
......@@ -43,7 +43,7 @@ describe('VideoEncoderEnum', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_ENUM_VideoEncodeBitrateMode_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_VideoEncodeBitrateMode_0100', 0, async function (done) {
expect(media.VideoEncodeBitrateMode.CBR).assertEqual(0);
expect(media.VideoEncodeBitrateMode.VBR).assertEqual(1);
expect(media.VideoEncodeBitrateMode.CQ).assertEqual(2);
......
......@@ -556,14 +556,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
});
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0100
* @tc.name : 000.test video software encoder capbility
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0100', 0, async function (done) {
console.info("test video software encoder capbility");
let supportedEncForm = [];
let supportedDecForm = [];
......@@ -606,14 +606,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0200
* @tc.name : 001.test release after last frame
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0200', 0, async function (done) {
checkFormat(done);
console.info("case test release after last frame");
let savePath = 'video_hardware_encoder_function_0100.es';
......@@ -626,14 +626,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0300
* @tc.name : 002.test stop at running state and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0300', 0, async function (done) {
checkFormat(done);
console.info("test stop at runnning state and restart");
let savePath = 'video_hardware_encoder_function_0200.es';
......@@ -657,14 +657,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0400
* @tc.name : 003.test stop at EOS and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0400', 0, async function (done) {
checkFormat(done);
console.info('case test stop at EOS and restart');
let savePath = 'video_hardware_encoder_function_0300.es';
......@@ -686,14 +686,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0500
* @tc.name : 004.test flush at running state
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0500', 0, async function (done) {
checkFormat(done);
console.info('case test flush at running state');
let savePath = 'video_hardware_encoder_function_0400.es';
......@@ -715,14 +715,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0600
* @tc.name : 005.test flush at eos state
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0600', 0, async function (done) {
checkFormat(done);
console.info("case test flush at eos state");
let savePath = 'video_hardware_encoder_function_0500.es';
......@@ -744,14 +744,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0700
* @tc.name : 006.test reconfigure
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0700', 0, async function (done) {
checkFormat(done);
console.info("case test reconfigure");
let savePath = 'video_hardware_encoder_function_0600.es';
......@@ -781,14 +781,14 @@ describe('videoHardwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0800
* @tc.name : 007.test recreate videoencoder
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0800', 0, async function (done) {
checkFormat(done);
console.info('case test recreate videoencoder');
let savePath = 'video_hardware_encoder_function_0700.es';
......
......@@ -328,14 +328,14 @@ describe('videoEncoderSoftwareMultiInstances', function () {
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100
* @tc.name : 001.create multiple encoders
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level2
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100', 0, async function (done) {
console.info("case test multiple encoder instances");
let savepath = BASIC_PATH + '0100.es';
let mime = 'video/mp4v-es';
......
......@@ -337,14 +337,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
});
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0100
* @tc.name : 000.test stop after last frame and reset
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0100', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100.es';
let mime = 'video/mp4v-es';
let mediaDescription = {
......@@ -399,14 +399,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0200
* @tc.name : 000.test stop at running state and reset
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0200', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -435,14 +435,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0300
* @tc.name : 000.test stop at end of stream and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0300', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -471,14 +471,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0400
* @tc.name : 000.test stop at running state and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0400', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -508,14 +508,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0500
* @tc.name : 000.test flush at running state
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0500', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -544,14 +544,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0600
* @tc.name : 000.test flush at end of stream
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0600', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -579,14 +579,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700
* @tc.name : 000.test reconfigure
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700', 0, async function (done) {
let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600.es';
let name= 'avenc_mpeg4';
let mediaDescription = {
......@@ -595,7 +595,7 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () {
'pixel_format': 3,
'frame_rate': 30.00,
}
let decPath2 = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600_2.es';
let decPath2 = 'SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700_2.es';
let mediaDescription2 = {
'width': 320,
'height': 240,
......
......@@ -400,14 +400,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
}
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0100
* @tc.name : 000.test stop after last frame and reset
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0100', 0, async function (done) {
console.info("case test stop after last frame");
let savepath = BASIC_PATH + '0000.es';
let name= 'avenc_mpeg4';
......@@ -465,14 +465,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0200
* @tc.name : 001.test stop at runnning state and reset
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0200', 0, async function (done) {
console.info("case test stop at runnning state and reset");
let savepath = BASIC_PATH + '0100.es';
let mime = 'video/mp4v-es';
......@@ -504,14 +504,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0200
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0300
* @tc.name : 002.test stop at end of stream and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0200', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0300', 0, async function (done) {
console.info("test stop at end of stream and restart");
let savepath = BASIC_PATH + '0200.es';
let mime = 'video/mp4v-es';
......@@ -544,14 +544,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0300
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0400
* @tc.name : 003.test stop at running state and restart
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0300', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0400', 0, async function (done) {
console.info("test stop at runnning state and restart");
let savepath = BASIC_PATH + '0300.es';
let mime = 'video/mp4v-es';
......@@ -585,14 +585,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0400
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0500
* @tc.name : 004.test flush at running state
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0400', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0500', 0, async function (done) {
console.info("case test flush at running state");
let savepath = BASIC_PATH + '0400.es';
let mime = 'video/mp4v-es';
......@@ -621,14 +621,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0500
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0600
* @tc.name : 005.test flush at end of stream
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level1
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0500', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0600', 0, async function (done) {
console.info("case test flush at end of stream");
let savepath = BASIC_PATH + '0500.es';
let mime = 'video/mp4v-es';
......@@ -660,14 +660,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0600
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0700
* @tc.name : 006.test reconfigure
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0600', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0700', 0, async function (done) {
console.info("case test reconfigure");
let savepath = BASIC_PATH + '0600.es';
let mime = 'video/mp4v-es';
......@@ -715,14 +715,14 @@ describe('videoSoftwareEncoderFuncPromise', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0700
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0800
* @tc.name : 007.test recreate videoencoder
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0700', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0800', 0, async function (done) {
console.info("case test recreate videoencoder");
let savepath = BASIC_PATH + '0700.es';
let mime = 'video/mp4v-es';
......
......@@ -36,14 +36,14 @@ describe('VideoHardwareEncoderEnum', function () {
/* *
* @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100
* @tc.name : 001.MediaDescriptionKey
* @tc.desc : Test Enumerate MediaDescriptionKey
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100', 0, async function (done) {
expect(media.MediaDescriptionKey.MD_KEY_SUSPEND_INPUT_SURFACE).assertEqual("suspend_input_surface");
expect(media.MediaDescriptionKey.MD_KEY_VIDEO_ENCODE_BITRATE_MODE).assertEqual("video_encode_bitrate_mode");
expect(media.MediaDescriptionKey.MD_KEY_PROFILE).assertEqual("codec_profile");
......
......@@ -35,14 +35,14 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_0100
* @tc.name : SeekMode
* @tc.desc : SeekMode Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_0100', 0, async function (done) {
expect(media.SeekMode.SEEK_NEXT_SYNC).assertEqual(0);
expect(media.SeekMode.SEEK_PREV_SYNC).assertEqual(1);
expect(media.SeekMode.SEEK_CLOSEST_SYNC).assertEqual(2);
......@@ -51,14 +51,14 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_0100
* @tc.name : MediaErrorCode
* @tc.desc : MediaErrorCode Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_0100', 0, async function (done) {
expect(media.MediaErrorCode.MSERR_OK).assertEqual(0);
expect(media.MediaErrorCode.MSERR_NO_MEMORY).assertEqual(1);
expect(media.MediaErrorCode.MSERR_OPERATION_NOT_PERMIT).assertEqual(2);
......@@ -73,28 +73,28 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_0100
* @tc.name : AVDataSourceError
* @tc.desc : AVDataSourceError Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_0100', 0, async function (done) {
expect(media.AVDataSourceError.SOURCE_ERROR_IO).assertEqual(-2);
expect(media.AVDataSourceError.SOURCE_ERROR_EOF).assertEqual(-1);
done();
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_0100
* @tc.name : BufferingInfoType
* @tc.desc : BufferingInfoType Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_0100', 0, async function (done) {
expect(media.BufferingInfoType.BUFFERING_START).assertEqual(1);
expect(media.BufferingInfoType.BUFFERING_END).assertEqual(2);
expect(media.BufferingInfoType.BUFFERING_PERCENT).assertEqual(3);
......@@ -103,14 +103,14 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_0100
* @tc.name : PlaybackSpeed
* @tc.desc : PlaybackSpeed Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_0100', 0, async function (done) {
expect(media.PlaybackSpeed.SPEED_FORWARD_0_75_X).assertEqual(0);
expect(media.PlaybackSpeed.SPEED_FORWARD_1_00_X).assertEqual(1);
expect(media.PlaybackSpeed.SPEED_FORWARD_1_25_X).assertEqual(2);
......@@ -120,28 +120,28 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_0100
* @tc.name : ContainerFormatType
* @tc.desc : ContainerFormatType Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_0100', 0, async function (done) {
expect(media.ContainerFormatType.CFT_MPEG_4).assertEqual("mp4");
expect(media.ContainerFormatType.CFT_MPEG_4A).assertEqual("m4a");
done();
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100
* @tc.name : MediaType
* @tc.desc : MediaType Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100', 0, async function (done) {
expect(media.MediaType.MEDIA_TYPE_AUD).assertEqual(0);
expect(media.MediaType.MEDIA_TYPE_VID).assertEqual(1);
expect(media.MediaType.MEDIA_TYPE_SUBTITLE).assertEqual(2);
......@@ -149,14 +149,14 @@ describe('VideoPlayerEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_0100
* @tc.name : MediaDescriptionKey
* @tc.desc : MediaDescriptionKey Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_0100', 0, async function (done) {
expect(media.MediaDescriptionKey.MD_KEY_TRACK_INDEX).assertEqual("track_index");
expect(media.MediaDescriptionKey.MD_KEY_TRACK_TYPE).assertEqual("track_type");
expect(media.MediaDescriptionKey.MD_KEY_CODEC_MIME).assertEqual("codec_mime");
......@@ -177,7 +177,7 @@ describe('VideoPlayerEnumTest', function () {
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100', 0, async function (done) {
expect(media.VideoScaleType.VIDEO_SCALE_TYPE_FIT).assertEqual(0);
expect(media.VideoScaleType.VIDEO_SCALE_TYPE_FIT_CROP).assertEqual(1);
done();
......
......@@ -34,42 +34,42 @@ describe('VideoRecorderEnumTest', function () {
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_0100
* @tc.name : AudioSourceType
* @tc.desc : AudioSourceType Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_0100', 0, async function (done) {
expect(media.AudioSourceType.AUDIO_SOURCE_TYPE_DEFAULT).assertEqual(0);
expect(media.AudioSourceType.AUDIO_SOURCE_TYPE_MIC).assertEqual(1);
done();
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_00_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_0100
* @tc.name : VideoSourceType
* @tc.desc : VideoSourceType Enumeration test
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_00_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_0100', 0, async function (done) {
expect(media.VideoSourceType.VIDEO_SOURCE_TYPE_SURFACE_YUV).assertEqual(0);
expect(media.VideoSourceType.VIDEO_SOURCE_TYPE_SURFACE_ES).assertEqual(1);
done();
})
/* *
* @tc.number : SUB_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100
* @tc.name : CodecMimeType
* @tc.desc : Test Enumerate CodecMimeType
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it('SUB_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) {
it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) {
expect(media.CodecMimeType.VIDEO_H263).assertEqual('video/h263');
expect(media.CodecMimeType.VIDEO_AVC).assertEqual('video/avc');
expect(media.CodecMimeType.VIDEO_MPEG2).assertEqual('video/mpeg2');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册