Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
9378b509
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9378b509
编写于
4月 27, 2022
作者:
H
hucai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正videoPlayer兼容性用例 Signed-off-by:HUCAI<hucai2@huawei.com>
Signed-off-by:
N
hucai
<
hucai2@huawei.com
>
上级
6f710acd
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
154 addition
and
142 deletion
+154
-142
multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFormatCompatibilityTest.test.js
...c/main/js/test/VideoPlayerFormatCompatibilityTest.test.js
+154
-142
未找到文件。
multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFormatCompatibilityTest.test.js
浏览文件 @
9378b509
...
@@ -77,10 +77,10 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -77,10 +77,10 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
}
}
}
}
async
function
playVideoSource
(
VIDEO_SOURCE
,
done
)
{
async
function
playVideoSource
(
videoSource
,
done
)
{
console
.
info
(
`case media source
VIDEO_SOURCE:
${
VIDEO_SOURCE
}
`
)
console
.
info
(
`case media source
videoSource:
${
videoSource
}
`
)
await
getFileDescriptor
(
VIDEO_SOURCE
).
then
((
res
)
=>
{
await
getFileDescriptor
(
videoSource
).
then
((
res
)
=>
{
fileDescriptor
=
res
;
fileDescriptor
=
res
;
});
});
isFileOpen
(
fileDescriptor
,
done
);
isFileOpen
(
fileDescriptor
,
done
);
...
@@ -91,6 +91,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -91,6 +91,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
if
(
typeof
(
video
)
!=
'
undefined
'
)
{
if
(
typeof
(
video
)
!=
'
undefined
'
)
{
console
.
info
(
'
case createVideoPlayer success
'
);
console
.
info
(
'
case createVideoPlayer success
'
);
videoPlayer
=
video
;
videoPlayer
=
video
;
expect
(
videoPlayer
.
state
).
assertEqual
(
'
idle
'
);
}
else
{
}
else
{
console
.
error
(
'
case createVideoPlayer failed
'
);
console
.
error
(
'
case createVideoPlayer failed
'
);
expect
().
assertFail
();
expect
().
assertFail
();
...
@@ -108,6 +109,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -108,6 +109,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
await
videoPlayer
.
prepare
().
then
(()
=>
{
await
videoPlayer
.
prepare
().
then
(()
=>
{
console
.
info
(
'
case prepare called
'
);
console
.
info
(
'
case prepare called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
prepared
'
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
getTrackDescription
().
then
((
arrayList
)
=>
{
await
videoPlayer
.
getTrackDescription
().
then
((
arrayList
)
=>
{
...
@@ -125,6 +127,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -125,6 +127,7 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
let
startTime
=
videoPlayer
.
currentTime
;
let
startTime
=
videoPlayer
.
currentTime
;
await
videoPlayer
.
play
().
then
(()
=>
{
await
videoPlayer
.
play
().
then
(()
=>
{
console
.
info
(
'
case play called
'
);
console
.
info
(
'
case play called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
playing
'
);
sleep
(
PLAY_TIME
);
sleep
(
PLAY_TIME
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
let
endTime
=
videoPlayer
.
currentTime
;
let
endTime
=
videoPlayer
.
currentTime
;
...
@@ -132,41 +135,49 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -132,41 +135,49 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
await
videoPlayer
.
seek
(
SEEK_TIME
).
then
((
seekDoneTime
)
=>
{
await
videoPlayer
.
seek
(
SEEK_TIME
).
then
((
seekDoneTime
)
=>
{
console
.
info
(
'
case seek called and seekDoneTime is
'
+
seekDoneTime
);
console
.
info
(
'
case seek called and seekDoneTime is
'
+
seekDoneTime
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
playing
'
);
sleep
(
DELTA_TIME
);
sleep
(
DELTA_TIME
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
pause
().
then
(()
=>
{
await
videoPlayer
.
pause
().
then
(()
=>
{
console
.
info
(
'
case pause called
'
);
console
.
info
(
'
case pause called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
paused
'
);
sleep
(
DELTA_TIME
);
sleep
(
DELTA_TIME
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
play
().
then
(()
=>
{
await
videoPlayer
.
play
().
then
(()
=>
{
console
.
info
(
'
case play called
'
);
console
.
info
(
'
case play called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
playing
'
);
sleep
(
PLAY_TIME
);
sleep
(
PLAY_TIME
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
setSpeed
(
media
.
PlaybackSpeed
.
SPEED_FORWARD_2_00_X
).
then
((
speedMode
)
=>
{
await
videoPlayer
.
setSpeed
(
media
.
PlaybackSpeed
.
SPEED_FORWARD_2_00_X
).
then
((
speedMode
)
=>
{
console
.
info
(
'
case setSpeed called and speedMode is
'
+
speedMode
);
console
.
info
(
'
case setSpeed called and speedMode is
'
+
speedMode
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
playing
'
);
expect
(
speedMode
).
assertEqual
(
media
.
PlaybackSpeed
.
SPEED_FORWARD_2_00_X
);
sleep
(
DELTA_TIME
);
sleep
(
DELTA_TIME
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
setVolume
(
1
).
then
(()
=>
{
await
videoPlayer
.
setVolume
(
1
).
then
(()
=>
{
console
.
info
(
'
case setVolume called
'
);
console
.
info
(
'
case setVolume called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
playing
'
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
stop
().
then
(()
=>
{
await
videoPlayer
.
stop
().
then
(()
=>
{
console
.
info
(
'
case stop called
'
);
console
.
info
(
'
case stop called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
stopped
'
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
reset
().
then
(()
=>
{
await
videoPlayer
.
reset
().
then
(()
=>
{
console
.
info
(
'
case reset called
'
);
console
.
info
(
'
case reset called
'
);
expect
(
videoPlayer
.
state
).
assertEqual
(
'
idle
'
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
videoPlayer
.
release
().
then
(()
=>
{
await
videoPlayer
.
release
().
then
(()
=>
{
console
.
info
(
'
case release called
'
);
console
.
info
(
'
case release called
'
);
},
failureCallback
).
catch
(
catchCallback
);
},
failureCallback
).
catch
(
catchCallback
);
await
closeFileDescriptor
(
VIDEO_SOURCE
);
await
closeFileDescriptor
(
videoSource
);
}
}
/* *
/* *
...
@@ -178,8 +189,9 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -178,8 +189,9 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_0900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_0900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio.mp4
'
;
console
.
info
(
'
1
'
)
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
let
videoSource
=
'
h264_none_audio.mp4
'
;
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -192,8 +204,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -192,8 +204,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio.mp4
'
;
let
videoSource
=
'
mpeg2_none_audio.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -206,8 +218,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -206,8 +218,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio.mp4
'
;
let
videoSource
=
'
mpeg4_none_audio.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -220,8 +232,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -220,8 +232,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_aac.mp4
'
;
let
videoSource
=
'
none_video_aac.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -234,8 +246,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -234,8 +246,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_mp3.mp4
'
;
let
videoSource
=
'
none_video_mp3.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -248,8 +260,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -248,8 +260,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_720p_30r.mp4
'
;
let
videoSource
=
'
h264_aac_720p_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -262,8 +274,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -262,8 +274,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_480p_25r.mp4
'
;
let
videoSource
=
'
h264_mp3_480p_25r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -276,8 +288,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -276,8 +288,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_1800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_270p_10r.mp4
'
;
let
videoSource
=
'
h264_mp3_270p_10r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -290,8 +302,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -290,8 +302,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_2500
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_2500
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_320x240_30r.mp4
'
;
let
videoSource
=
'
h264_aac_320x240_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -304,8 +316,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -304,8 +316,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_480x320_30r.mp4
'
;
let
videoSource
=
'
h264_mp3_480x320_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -318,8 +330,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -318,8 +330,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_640x480_30r.mp4
'
;
let
videoSource
=
'
h264_aac_640x480_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -332,8 +344,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -332,8 +344,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_3800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_640x480_25r.mp4
'
;
let
videoSource
=
'
h264_mp3_640x480_25r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -346,8 +358,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -346,8 +358,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_7800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_7800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio_640x480_30r.mp4
'
;
let
videoSource
=
'
h264_none_audio_640x480_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -360,8 +372,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -360,8 +372,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_7900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_7900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio_640x480_30r.mp4
'
;
let
videoSource
=
'
mpeg2_none_audio_640x480_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -374,8 +386,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -374,8 +386,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_8000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MP4_8000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio_640x480_30r.mp4
'
;
let
videoSource
=
'
mpeg4_none_audio_640x480_30r.mp4
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -388,8 +400,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -388,8 +400,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_0900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_0900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio.ts
'
;
let
videoSource
=
'
h264_none_audio.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -402,8 +414,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -402,8 +414,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio.ts
'
;
let
videoSource
=
'
mpeg2_none_audio.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -416,8 +428,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -416,8 +428,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio.ts
'
;
let
videoSource
=
'
mpeg4_none_audio.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -430,8 +442,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -430,8 +442,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_aac.ts
'
;
let
videoSource
=
'
none_video_aac.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -444,8 +456,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -444,8 +456,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_mp3.ts
'
;
let
videoSource
=
'
none_video_mp3.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -458,8 +470,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -458,8 +470,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_720p_30r.ts
'
;
let
videoSource
=
'
h264_aac_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -472,8 +484,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -472,8 +484,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_480p_25r.ts
'
;
let
videoSource
=
'
h264_aac_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -486,8 +498,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -486,8 +498,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_1800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_270p_10r.ts
'
;
let
videoSource
=
'
h264_aac_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -500,8 +512,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -500,8 +512,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_720p_30r.ts
'
;
let
videoSource
=
'
h264_mp3_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -514,8 +526,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -514,8 +526,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_480p_25r.ts
'
;
let
videoSource
=
'
h264_mp3_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -528,8 +540,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -528,8 +540,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_270p_10r.ts
'
;
let
videoSource
=
'
h264_mp3_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -542,8 +554,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -542,8 +554,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_aac_720p_30r.ts
'
;
let
videoSource
=
'
mpeg2_aac_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -556,8 +568,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -556,8 +568,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2500
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2500
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_aac_480p_25r.ts
'
;
let
videoSource
=
'
mpeg2_aac_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -570,8 +582,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -570,8 +582,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_aac_270p_10r.ts
'
;
let
videoSource
=
'
mpeg2_aac_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -584,8 +596,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -584,8 +596,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_mp3_720p_30r.ts
'
;
let
videoSource
=
'
mpeg2_mp3_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -598,8 +610,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -598,8 +610,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_2900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_mp3_480p_25r.ts
'
;
let
videoSource
=
'
mpeg2_mp3_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -612,8 +624,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -612,8 +624,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_mp3_270p_10r.ts
'
;
let
videoSource
=
'
mpeg2_mp3_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -626,8 +638,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -626,8 +638,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_720p_30r.ts
'
;
let
videoSource
=
'
mpeg4_aac_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -640,8 +652,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -640,8 +652,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_480p_25r.ts
'
;
let
videoSource
=
'
mpeg4_aac_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -654,8 +666,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -654,8 +666,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_270p_10r.ts
'
;
let
videoSource
=
'
mpeg4_aac_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -668,8 +680,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -668,8 +680,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_mp3_720p_30r.ts
'
;
let
videoSource
=
'
mpeg4_mp3_720p_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -682,8 +694,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -682,8 +694,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_mp3_480p_25r.ts
'
;
let
videoSource
=
'
mpeg4_mp3_480p_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -696,8 +708,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -696,8 +708,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_mp3_270p_10r.ts
'
;
let
videoSource
=
'
mpeg4_mp3_270p_10r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -710,8 +722,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -710,8 +722,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_3900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio_640x480_30r.ts
'
;
let
videoSource
=
'
h264_none_audio_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -724,8 +736,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -724,8 +736,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio_640x480_30r.ts
'
;
let
videoSource
=
'
mpeg2_none_audio_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -738,8 +750,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -738,8 +750,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio_640x480_30r.ts
'
;
let
videoSource
=
'
mpeg4_none_audio_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -752,8 +764,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -752,8 +764,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_aac_640x480_30r.ts
'
;
let
videoSource
=
'
h264_aac_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -766,8 +778,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -766,8 +778,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_mp3_640x480_25r.ts
'
;
let
videoSource
=
'
h264_mp3_640x480_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -780,8 +792,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -780,8 +792,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_aac_640x480_30r.ts
'
;
let
videoSource
=
'
mpeg2_aac_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -794,8 +806,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -794,8 +806,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4500
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4500
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_mp3_640x480_25r.ts
'
;
let
videoSource
=
'
mpeg2_mp3_640x480_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -808,8 +820,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -808,8 +820,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_640x480_30r.ts
'
;
let
videoSource
=
'
mpeg4_aac_640x480_30r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -822,8 +834,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -822,8 +834,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_TS_4700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_mp3_640x480_25r.ts
'
;
let
videoSource
=
'
mpeg4_mp3_640x480_25r.ts
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -836,8 +848,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -836,8 +848,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_none_audio.webm
'
;
let
videoSource
=
'
vp8_none_audio.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -850,8 +862,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -850,8 +862,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_vorbis.webm
'
;
let
videoSource
=
'
none_video_vorbis.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -864,8 +876,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -864,8 +876,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0500
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0500
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_vorbis_720p_30r.webm
'
;
let
videoSource
=
'
vp8_vorbis_720p_30r.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -878,8 +890,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -878,8 +890,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_vorbis_480p_25r.webm
'
;
let
videoSource
=
'
vp8_vorbis_480p_25r.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -892,8 +904,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -892,8 +904,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_vorbis_270p_10r.webm
'
;
let
videoSource
=
'
vp8_vorbis_270p_10r.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -906,8 +918,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -906,8 +918,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0800
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0800
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_none_audio_640x480_30r.webm
'
;
let
videoSource
=
'
vp8_none_audio_640x480_30r.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -920,8 +932,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -920,8 +932,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_WEBM_0900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
vp8_vorbis_640x480_25r.webm
'
;
let
videoSource
=
'
vp8_vorbis_640x480_25r.webm
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -934,8 +946,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -934,8 +946,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_0900
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_0900
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio.mkv
'
;
let
videoSource
=
'
h264_none_audio.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -948,8 +960,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -948,8 +960,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio.mkv
'
;
let
videoSource
=
'
mpeg2_none_audio.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -962,8 +974,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -962,8 +974,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio.mkv
'
;
let
videoSource
=
'
mpeg4_none_audio.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -976,8 +988,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -976,8 +988,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_aac.mkv
'
;
let
videoSource
=
'
none_video_aac.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -990,8 +1002,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -990,8 +1002,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_1400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
none_video_mp3.mkv
'
;
let
videoSource
=
'
none_video_mp3.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1004,8 +1016,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1004,8 +1016,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2000
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2000
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_720p_30r.mkv
'
;
let
videoSource
=
'
mpeg4_aac_720p_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1018,8 +1030,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1018,8 +1030,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_480p_25r.mkv
'
;
let
videoSource
=
'
mpeg4_aac_480p_25r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1032,8 +1044,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1032,8 +1044,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_270p_10r.mkv
'
;
let
videoSource
=
'
mpeg4_aac_270p_10r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1046,8 +1058,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1046,8 +1058,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2300
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2300
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h264_none_audio_640x480_30r.mkv
'
;
let
videoSource
=
'
h264_none_audio_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1060,8 +1072,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1060,8 +1072,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2400
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2400
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h263_none_audio_640x480_30r.mkv
'
;
let
videoSource
=
'
h263_none_audio_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1074,8 +1086,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1074,8 +1086,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2500
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2500
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg2_none_audio_640x480_30r.mkv
'
;
let
videoSource
=
'
mpeg2_none_audio_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1088,8 +1100,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1088,8 +1100,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2600
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2600
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_none_audio_640x480_30r.mkv
'
;
let
videoSource
=
'
mpeg4_none_audio_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1102,8 +1114,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1102,8 +1114,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2700
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_2700
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
h263_aac_640x480_30r.mkv
'
;
let
videoSource
=
'
h263_aac_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1116,8 +1128,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1116,8 +1128,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_3100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_3100
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_640x480_30r.mkv
'
;
let
videoSource
=
'
mpeg4_aac_640x480_30r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
@@ -1130,8 +1142,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
...
@@ -1130,8 +1142,8 @@ describe('VideoPlayerFormatCompatibilityTest', function () {
* @tc.level : Level1
* @tc.level : Level1
*/
*/
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_3200
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MEDIA_VIDEO_PLAYER_FORMAT_MKV_3200
'
,
0
,
async
function
(
done
)
{
let
VIDEO_SOURCE
=
'
mpeg4_aac_270p_25r.mkv
'
;
let
videoSource
=
'
mpeg4_aac_270p_25r.mkv
'
;
await
playVideoSource
(
VIDEO_SOURCE
,
done
);
await
playVideoSource
(
videoSource
,
done
);
done
();
done
();
})
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录