Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d387f27a
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看板
提交
d387f27a
编写于
8月 30, 2022
作者:
L
ling990
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify testcases Signed-off-by: ling990 <liling96@huawei.com>
Signed-off-by:
N
ling990
<
ling990@qq.com
>
上级
b510db8c
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
18 addition
and
18 deletion
+18
-18
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncCallbackTest.test.js
...main/js/test/VideoEncoderHardwareFuncCallbackTest.test.js
+16
-16
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js
.../test/VideoEncoderSoftwareReliabilityCallbackTest.test.js
+2
-2
未找到文件。
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncCallbackTest.test.js
浏览文件 @
d387f27a
...
...
@@ -500,14 +500,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_00
_0100
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK
_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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_00
_0100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK
_0100
'
,
0
,
async
function
(
done
)
{
console
.
info
(
"
test video encoder capbility
"
);
let
supportedEncForm
=
[];
let
supportedDecForm
=
[];
...
...
@@ -577,14 +577,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
})
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_01
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_02
00
* @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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_01
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_02
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
"
case test release after last frame
"
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -597,14 +597,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_02
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_03
00
* @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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_02
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_03
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
"
test stop at runnning state and restart
"
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -636,14 +636,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
})
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_03
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_04
00
* @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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_03
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_04
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
'
case test stop at EOS and restart
'
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -675,14 +675,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_04
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_05
00
* @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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_04
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_05
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
'
case test flush at running state
'
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -706,14 +706,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
})
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_05
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_06
00
* @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_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_05
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_06
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
"
case test flush at eos state
"
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -738,14 +738,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
})
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_06
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_07
00
* @tc.name : 006.test reconfigure
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it
(
'
SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_06
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_07
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
"
case test reconfigure
"
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
@@ -768,14 +768,14 @@ describe('videoHardwareEncoderFuncCallback', function () {
})
/* *
* @tc.number : SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_07
00
* @tc.number : SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_08
00
* @tc.name : 007.test recreate videoencoder
* @tc.desc : basic encode function
* @tc.size : MediumTest
* @tc.type : Function test
* @tc.level : Level0
*/
it
(
'
SUB_M
EDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_01_07
00
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_M
ULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_CALLBACK_08
00
'
,
0
,
async
function
(
done
)
{
checkFormat
(
done
);
console
.
info
(
'
case test recreate videoencoder
'
);
ES_FRAME_SIZE
=
H264_FRAME_SIZE_60FPS_320
;
...
...
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js
浏览文件 @
d387f27a
...
...
@@ -1287,14 +1287,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () {
})
/* *
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE
+
RESET_CALLBACK_0100
* @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE
_
RESET_CALLBACK_0100
* @tc.name : 001. configure -> reset for 50 times
* @tc.desc : Reliability Test
* @tc.size : MediumTest
* @tc.type : Reliability
* @tc.level : Level2
*/
it
(
'
SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE
+
RESET_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE
_
RESET_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
let
name
=
'
avenc_mpeg4
'
;
let
events
=
require
(
'
events
'
);
let
eventEmitter
=
new
events
.
EventEmitter
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录