Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b736f095
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看板
未验证
提交
b736f095
编写于
8月 30, 2023
作者:
O
openharmony_ci
提交者:
Gitee
8月 30, 2023
浏览文件
操作
浏览文件
下载
差异文件
!9946 camera失败用例修改
Merge pull request !9946 from 董新丽/master
上级
b0c7d812
155b4be8
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
18 addition
and
9 deletion
+18
-9
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraErrorCodeUsecaseTest.test.ets
...try/src/main/ets/test/CameraErrorCodeUsecaseTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraJSUnitOutput.test.ets
...ndard/entry/src/main/ets/test/CameraJSUnitOutput.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraManagerTest.test.ets
...andard/entry/src/main/ets/test/CameraManagerTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionBaseTest.test.ets
...rd/entry/src/main/ets/test/CameraSessionBaseTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionExposureTest.test.ets
...ntry/src/main/ets/test/CameraSessionExposureTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionFlashTest.test.ets
...d/entry/src/main/ets/test/CameraSessionFlashTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionFocusTest.test.ets
...d/entry/src/main/ets/test/CameraSessionFocusTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionVideoStabilizationTest.test.ets
...ain/ets/test/CameraSessionVideoStabilizationTest.test.ets
+2
-1
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionZoomRatioTest.test.ets
...try/src/main/ets/test/CameraSessionZoomRatioTest.test.ets
+2
-1
未找到文件。
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraErrorCodeUsecaseTest.test.ets
浏览文件 @
b736f095
...
...
@@ -75,6 +75,7 @@ let fileAsset;
let
fdNumber
;
let
metadataOutput
;
let
mMetadataObjectTypeArray
;
let
receiver
;
export
default
function
CameraErrorCodeUsecaseTest
()
{
function
sleep
(
ms
)
{
...
...
@@ -183,7 +184,7 @@ export default function CameraErrorCodeUsecaseTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraJSUnitOutput.test.ets
浏览文件 @
b736f095
...
...
@@ -74,6 +74,7 @@ let videoSurfaceId;
let
fdPath
;
let
fileAsset
;
let
fdNumber
;
let
receiver
;
let
mMetadataObjectTypeArray
;
let
mMetadataObjectArray
;
...
...
@@ -82,7 +83,7 @@ export default function cameraJSUnitOutput() {
async
function
getImageReceiverSurfaceId
()
{
console
.
log
(
TAG
+
'Entering create Image receiver'
)
var
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Receiver is ok'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraManagerTest.test.ets
浏览文件 @
b736f095
...
...
@@ -34,6 +34,7 @@ let mFdNumber;
// CAMERA-0 letiables
let
mCameraNum
;
let
receiver
;
let
mVideoProfileCfg
=
{
audioBitrate
:
48000
,
...
...
@@ -64,7 +65,7 @@ export default function cameraManagerTest() {
async
function
getImageReceiverSurfaceId
()
{
console
.
log
(
TAG
+
'Entering create Image receiver'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Receiver is ok'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionBaseTest.test.ets
浏览文件 @
b736f095
...
...
@@ -68,6 +68,7 @@ let mVideoConfig = {
maxSize
:
100
,
maxDuration
:
500
}
let
receiver
;
export
default
function
cameraSessionTest
()
{
...
...
@@ -117,7 +118,7 @@ export default function cameraSessionTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionExposureTest.test.ets
浏览文件 @
b736f095
...
...
@@ -123,6 +123,7 @@ let mMETERINGPointInvalidRB = {
}
let
mEnableCheckInvalidMETERINGPoint
=
false
;
let
receiver
;
export
default
function
cameraSessionExposureTest
()
{
...
...
@@ -172,7 +173,7 @@ export default function cameraSessionExposureTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionFlashTest.test.ets
浏览文件 @
b736f095
...
...
@@ -74,6 +74,7 @@ let mVideoConfig = {
let
mPicWidthMax
=
8192
;
let
mPicHeightMax
=
8192
;
let
receiver
;
export
default
function
cameraSessionFlashTest
()
{
...
...
@@ -123,7 +124,7 @@ export default function cameraSessionFlashTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionFocusTest.test.ets
浏览文件 @
b736f095
...
...
@@ -120,6 +120,7 @@ let mFocusPointInvalidRB = {
}
let
mEnableCheckInvalidFocusPoint
=
false
;
let
receiver
;
export
default
function
cameraSessionFocusTest
()
{
...
...
@@ -169,7 +170,7 @@ export default function cameraSessionFocusTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionVideoStabilizationTest.test.ets
浏览文件 @
b736f095
...
...
@@ -73,6 +73,7 @@ let mVideoConfig = {
let
mPicWidthMax
=
8192
;
let
mPicHeightMax
=
8192
;
let
receiver
;
export
default
function
cameraSessionVideoStabilizationTest
()
{
...
...
@@ -122,7 +123,7 @@ export default function cameraSessionVideoStabilizationTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
multimedia/camera/camera_js_standard/entry/src/main/ets/test/CameraSessionZoomRatioTest.test.ets
浏览文件 @
b736f095
...
...
@@ -75,6 +75,7 @@ let mVideoConfig = {
let
mPicWidthMax
=
8192
;
let
mPicHeightMax
=
8192
;
let
receiver
;
export
default
function
cameraSessionZoomRatioTest
()
{
...
...
@@ -124,7 +125,7 @@ export default function cameraSessionZoomRatioTest() {
async
function
getPhotoReceiverSurface
()
{
console
.
log
(
TAG
+
'Entering getPhotoReceiverSurface'
)
let
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
receiver
=
image
.
createImageReceiver
(
640
,
480
,
4
,
8
)
console
.
log
(
TAG
+
'before receiver check'
)
if
(
receiver
!==
undefined
)
{
console
.
log
(
TAG
+
'Photo receiver is created successfully'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录