提交 5bf79daa 编写于 作者: N NOBUGGERS

test name update Signed-off-by: NOBUGGERS <ruanmeng@huawei.com>

Signed-off-by: NNOBUGGERS <ruanmeng@huawei.com>
上级 e6a8b128
...@@ -45,7 +45,7 @@ describe('AudioPlayerHLSTest', function () { ...@@ -45,7 +45,7 @@ describe('AudioPlayerHLSTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level0
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HLS', 0, async function (done) { it('testHlsAudioPlayer', 0, async function (done) {
playAudioSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 219600, PLAY_TIME, false, done); playAudioSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 219600, PLAY_TIME, false, done);
}) })
...@@ -55,9 +55,9 @@ describe('AudioPlayerHLSTest', function () { ...@@ -55,9 +55,9 @@ describe('AudioPlayerHLSTest', function () {
* @tc.desc : HLS Video playback control test * @tc.desc : HLS Video playback control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level2
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HLS_VARIANT', 0, async function (done) { it('testHlsAudioPlayerVariant', 0, async function (done) {
playAudioSource(HTTP_PATH + '05.hls/hls_variant_audio/index.m3u8', 219600, PLAY_TIME, false, done); playAudioSource(HTTP_PATH + '05.hls/hls_variant_audio/index.m3u8', 219600, PLAY_TIME, false, done);
}) })
}) })
...@@ -134,7 +134,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () { ...@@ -134,7 +134,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level0
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_SET_BITRATE_0100', 0, async function (done) { it('testHlsVideoPlayerSelectBitrate_0100', 0, async function (done) {
await initVideoPlayer(done); await initVideoPlayer(done);
await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8'); await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8');
await playAndSetLoop(PLAY_TIME * 2); await playAndSetLoop(PLAY_TIME * 2);
...@@ -156,7 +156,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () { ...@@ -156,7 +156,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level0
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_SET_BITRATE_0200', 0, async function (done) { it('testHlsVideoPlayerSelectBitrate_0200', 0, async function (done) {
await initVideoPlayer(done); await initVideoPlayer(done);
await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8'); await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8');
await playAndSetLoop(PLAY_TIME); await playAndSetLoop(PLAY_TIME);
......
...@@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () { ...@@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level0
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS', 0, async function (done) { it('testHlsVideoPlayer', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/1/index.m3u8', 640, 320, 10033, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/1/index.m3u8', 640, 320, 10033, PLAY_TIME, done);
done(); done();
}) })
...@@ -65,9 +65,9 @@ describe('VideoPlayerHLSTest', function () { ...@@ -65,9 +65,9 @@ describe('VideoPlayerHLSTest', function () {
* @tc.desc : HLS Video playback control test * @tc.desc : HLS Video playback control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_SEPARATE', 0, async function (done) { it('testHlsVideoPlayerSeparate', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/2/index.m3u8', 640, 320, 10033, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/2/index.m3u8', 640, 320, 10033, PLAY_TIME, done);
done(); done();
}) })
...@@ -78,9 +78,9 @@ describe('VideoPlayerHLSTest', function () { ...@@ -78,9 +78,9 @@ describe('VideoPlayerHLSTest', function () {
* @tc.desc : HLS Video playback control test * @tc.desc : HLS Video playback control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_AUDIOONLY', 0, async function (done) { it('testHlsVideoPlayerAudioOnly', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 0, 0, 10033, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 0, 0, 10033, PLAY_TIME, done);
done(); done();
}) })
...@@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () { ...@@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level0
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_VARIANT', 0, async function (done) { it('testHlsVideoPlayerVariant', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant/index.m3u8', null, null, 10033, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/hls_variant/index.m3u8', null, null, 10033, PLAY_TIME, done);
done(); done();
}) })
...@@ -104,10 +104,10 @@ describe('VideoPlayerHLSTest', function () { ...@@ -104,10 +104,10 @@ describe('VideoPlayerHLSTest', function () {
* @tc.desc : HLS Video playback control test * @tc.desc : HLS Video playback control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_VARIANT_AUDIOOFF', 0, async function (done) { it('testHlsVideoPlayerVariantAudioOff', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', null, null, 120000, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', null, null, 10080, PLAY_TIME, done);
done(); done();
}) })
...@@ -117,9 +117,9 @@ describe('VideoPlayerHLSTest', function () { ...@@ -117,9 +117,9 @@ describe('VideoPlayerHLSTest', function () {
* @tc.desc : HLS Video playback control test * @tc.desc : HLS Video playback control test
* @tc.size : MediumTest * @tc.size : MediumTest
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level0 * @tc.level : Level2
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HLS_CODEC_CHAGNGE', 0, async function (done) { it('testHlsVideoPlayerCodecChange', 0, async function (done) {
await playVideoSource(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', null, null, 10080, PLAY_TIME, done); await playVideoSource(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', null, null, 10080, PLAY_TIME, done);
done(); done();
}) })
......
...@@ -59,7 +59,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -59,7 +59,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0100', 0, async function (done) { it('testHttpVideoPlayerFormatMp4_0100', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mp4/h264_aac_640x320_30r.mp4'; let path = VIDEOPLAYER_PATH + 'mp4/h264_aac_640x320_30r.mp4';
await playVideoSource(path, 640, 320, 10100, PLAY_TIME, done); await playVideoSource(path, 640, 320, 10100, PLAY_TIME, done);
done(); done();
...@@ -73,7 +73,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -73,7 +73,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0200', 0, async function (done) { it('testHttpVideoPlayerFormatMp4_0200', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mp4/h264_mp3_640x480_25r.mp4'; let path = VIDEOPLAYER_PATH + 'mp4/h264_mp3_640x480_25r.mp4';
await playVideoSource(path, 640, 480, 10080, PLAY_TIME, done); await playVideoSource(path, 640, 480, 10080, PLAY_TIME, done);
done(); done();
...@@ -87,7 +87,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -87,7 +87,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0100', 0, async function (done) { it('testHttpVideoPlayerFormatTs_0100', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_aac_640x480_30r.ts'; let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_aac_640x480_30r.ts';
await playVideoSource(path, 640, 480, 10161, PLAY_TIME, done); await playVideoSource(path, 640, 480, 10161, PLAY_TIME, done);
done(); done();
...@@ -101,7 +101,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -101,7 +101,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0200', 0, async function (done) { it('testHttpVideoPlayerFormatTs_0200', 0, async function (done) {
let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_mp3_640x480_25r.ts'; let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_mp3_640x480_25r.ts';
await playVideoSource(path, 640, 480, 10169, PLAY_TIME, done); await playVideoSource(path, 640, 480, 10169, PLAY_TIME, done);
done(); done();
...@@ -115,7 +115,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -115,7 +115,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0100', 0, async function (done) { it('testHttpVideoPlayerFormatMkv_0100', 0, async function (done) {
let path = VIDEO_PATH + 'H264_AAC.mkv'; let path = VIDEO_PATH + 'H264_AAC.mkv';
await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done);
done(); done();
...@@ -129,7 +129,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -129,7 +129,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0200', 0, async function (done) { it('testHttpVideoPlayerFormatMkv_0200', 0, async function (done) {
let path = VIDEO_PATH + 'H264_MP3.mkv'; let path = VIDEO_PATH + 'H264_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done(); done();
...@@ -143,7 +143,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -143,7 +143,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0500', 0, async function (done) { it('testHttpVideoPlayerFormatMkv_0500', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG2_AAC.mkv'; let path = VIDEO_PATH + 'MPEG2_AAC.mkv';
await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done);
done(); done();
...@@ -157,7 +157,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -157,7 +157,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0600', 0, async function (done) { it('testHttpVideoPlayerFormatMkv_0600', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG2_MP3.mkv'; let path = VIDEO_PATH + 'MPEG2_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done(); done();
...@@ -171,7 +171,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -171,7 +171,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0800', 0, async function (done) { it('testHttpVideoPlayerFormatMkv_0800', 0, async function (done) {
let path = VIDEO_PATH + 'MPEG4_MP3.mkv'; let path = VIDEO_PATH + 'MPEG4_MP3.mkv';
await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done);
done(); done();
...@@ -185,7 +185,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -185,7 +185,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_WEBM_0100', 0, async function (done) { it('testHttpVideoPlayerFormatWebm_0100', 0, async function (done) {
let path = VIDEO_PATH + 'VP8_VORBIS.webm'; let path = VIDEO_PATH + 'VP8_VORBIS.webm';
await playVideoSource(path, 720, 480, 10083, PLAY_TIME, done); await playVideoSource(path, 720, 480, 10083, PLAY_TIME, done);
done(); done();
...@@ -199,7 +199,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -199,7 +199,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_MP3_0100', 0, async function (done) { it('testHttpAudioPlayerFormatMp3_0100', 0, async function (done) {
let path = AUDIO_PATH + '01.mp3'; let path = AUDIO_PATH + '01.mp3';
await playAudioSource(path, 219600, PLAY_TIME, true, done); await playAudioSource(path, 219600, PLAY_TIME, true, done);
}) })
...@@ -212,7 +212,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -212,7 +212,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_AAC_0100', 0, async function (done) { it('testHttpAudioPlayerFormatAac_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'aac/aac_96ksr_64kbr_2ch.aac'; let path = AUDIOPLAYER_PATH + 'aac/aac_96ksr_64kbr_2ch.aac';
await playAudioSource(path, 12198, PLAY_TIME, true, done); await playAudioSource(path, 12198, PLAY_TIME, true, done);
}) })
...@@ -225,7 +225,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -225,7 +225,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_WAV_0100', 0, async function (done) { it('testHttpAudioPlayerFormatWav_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'wav/pcm_48ksr_16kbr_1ch.wav'; let path = AUDIOPLAYER_PATH + 'wav/pcm_48ksr_16kbr_1ch.wav';
await playAudioSource(path, 5461, PLAY_TIME, true, done); await playAudioSource(path, 5461, PLAY_TIME, true, done);
}) })
...@@ -238,7 +238,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -238,7 +238,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_FLAC_0100', 0, async function (done) { it('testHttpAudioPlayerFormatFlac_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'flac/flac_96ksr_64kbr_2ch.flac'; let path = AUDIOPLAYER_PATH + 'flac/flac_96ksr_64kbr_2ch.flac';
await playAudioSource(path, 10000, PLAY_TIME, true, done); await playAudioSource(path, 10000, PLAY_TIME, true, done);
}) })
...@@ -251,7 +251,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -251,7 +251,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_M4A_0100', 0, async function (done) { it('testHttpAudioPlayerFormatM4a_0100', 0, async function (done) {
let path = AUDIO_PATH + '55.m4a'; let path = AUDIO_PATH + '55.m4a';
await playAudioSource(path, 219575, PLAY_TIME, true, done); await playAudioSource(path, 219575, PLAY_TIME, true, done);
}) })
...@@ -264,7 +264,7 @@ describe('HttpPlayerCompatibilityTest', function () { ...@@ -264,7 +264,7 @@ describe('HttpPlayerCompatibilityTest', function () {
* @tc.type : Function test * @tc.type : Function test
* @tc.level : Level1 * @tc.level : Level1
*/ */
it('SUB_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_OGG_0100', 0, async function (done) { it('testHttpAudioPlayerFormatOgg_0100', 0, async function (done) {
let path = AUDIOPLAYER_PATH + 'ogg/vorbis_48ksr_32kbr_1ch.ogg'; let path = AUDIOPLAYER_PATH + 'ogg/vorbis_48ksr_32kbr_1ch.ogg';
await playAudioSource(path, 10009, PLAY_TIME, true, done); await playAudioSource(path, 10009, PLAY_TIME, true, done);
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册