Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5721c865
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看板
提交
5721c865
编写于
10月 31, 2022
作者:
1
18742514821
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify
Signed-off-by:
N
18742514821
<
xumengshu@huawei.com
>
上级
fc0d7987
变更
31
展开全部
隐藏空白更改
内联
并排
Showing
31 changed file
with
988 addition
and
13 deletion
+988
-13
multimedia/image/image_js_standard/image/Test.json
multimedia/image/image_js_standard/image/Test.json
+3
-1
multimedia/image/image_js_standard/imageColorspace/Test.json
multimedia/image/image_js_standard/imageColorspace/Test.json
+3
-1
multimedia/image/image_js_standard/imageColorspace/src/main/js/test/P3.test.js
...e_js_standard/imageColorspace/src/main/js/test/P3.test.js
+369
-0
multimedia/image/image_js_standard/imageColorspace/src/main/js/test/testImg.js
...e_js_standard/imageColorspace/src/main/js/test/testImg.js
+539
-0
multimedia/image/image_js_standard/imageCreator/Test.json
multimedia/image/image_js_standard/imageCreator/Test.json
+1
-0
multimedia/image/image_js_standard/imageDecodeOptions/Test.json
...edia/image/image_js_standard/imageDecodeOptions/Test.json
+3
-1
multimedia/image/image_js_standard/imageExif/Test.json
multimedia/image/image_js_standard/imageExif/Test.json
+3
-1
multimedia/image/image_js_standard/imageGetImageProperty/Test.json
...a/image/image_js_standard/imageGetImageProperty/Test.json
+2
-1
multimedia/image/image_js_standard/imageModifyProperty/Test.json
...dia/image/image_js_standard/imageModifyProperty/Test.json
+2
-1
multimedia/image/image_js_standard/imagePacking/Test.json
multimedia/image/image_js_standard/imagePacking/Test.json
+3
-1
multimedia/image/image_js_standard/imagePixelMapFramework/Test.json
.../image/image_js_standard/imagePixelMapFramework/Test.json
+3
-1
multimedia/image/image_js_standard/imageRGBA/Test.json
multimedia/image/image_js_standard/imageRGBA/Test.json
+1
-0
multimedia/image/image_js_standard/imageRaw/Test.json
multimedia/image/image_js_standard/imageRaw/Test.json
+2
-1
multimedia/image/image_js_standard/imageReceiver/Test.json
multimedia/image/image_js_standard/imageReceiver/Test.json
+3
-1
multimedia/image/image_js_standard/imageWebp/Test.json
multimedia/image/image_js_standard/imageWebp/Test.json
+3
-1
multimedia/image/image_js_standard/imageYUV/Test.json
multimedia/image/image_js_standard/imageYUV/Test.json
+3
-1
multimedia/image/image_js_standard/image_ndk_test/Test.json
multimedia/image/image_js_standard/image_ndk_test/Test.json
+3
-1
multimedia/medialibrary/mediaLibrary_album/Test.json
multimedia/medialibrary/mediaLibrary_album/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_base/Test.json
multimedia/medialibrary/mediaLibrary_base/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_favorite/Test.json
multimedia/medialibrary/mediaLibrary_favorite/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_file/Test.json
multimedia/medialibrary/mediaLibrary_file/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_fileAsset/Test.json
multimedia/medialibrary/mediaLibrary_fileAsset/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_fileKey/Test.json
multimedia/medialibrary/mediaLibrary_fileKey/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_fileResult/Test.json
multimedia/medialibrary/mediaLibrary_fileResult/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_getThumbnail/Test.json
multimedia/medialibrary/mediaLibrary_getThumbnail/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_mediafetchoptions/Test.json
...dia/medialibrary/mediaLibrary_mediafetchoptions/Test.json
+3
-0
multimedia/medialibrary/mediaLibrary_trash/Test.json
multimedia/medialibrary/mediaLibrary_trash/Test.json
+3
-0
multimedia/userfilemgr/userfilemgr_album/Test.json
multimedia/userfilemgr/userfilemgr_album/Test.json
+3
-0
multimedia/userfilemgr/userfilemgr_base/Test.json
multimedia/userfilemgr/userfilemgr_base/Test.json
+3
-0
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
+3
-0
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
+3
-0
未找到文件。
multimedia/image/image_js_standard/image/Test.json
浏览文件 @
5721c865
...
...
@@ -42,7 +42,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageColorspace/Test.json
浏览文件 @
5721c865
...
...
@@ -22,7 +22,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageColorspace/src/main/js/test/P3.test.js
0 → 100644
浏览文件 @
5721c865
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
image
from
"
@ohos.multimedia.image
"
;
import
fileio
from
"
@ohos.fileio
"
;
import
colorSpaceManager
from
"
@ohos.graphics.colorSpaceManager
"
;
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
"
@ohos/hypium
"
;
import
{
testImg
}
from
"
./testImg
"
;
import
{
testP3
}
from
"
./testImg2
"
;
import
featureAbility
from
"
@ohos.ability.featureAbility
"
;
export
default
function
ImageP3
()
{
describe
(
"
ImageP3
"
,
function
()
{
const
COLORSPACENAME
=
5
;
let
filePath
;
let
fdNumber
;
async
function
getFd
(
fileName
)
{
let
context
=
await
featureAbility
.
getContext
();
await
context
.
getFilesDir
().
then
((
data
)
=>
{
filePath
=
data
+
"
/
"
+
fileName
;
console
.
info
(
"
image case filePath is
"
+
filePath
);
});
await
fileio
.
open
(
filePath
)
.
then
((
data
)
=>
{
fdNumber
=
data
;
console
.
info
(
"
image case open fd success
"
+
fdNumber
);
})
.
catch
((
err
)
=>
{
console
.
info
(
"
image case open fd err
"
+
err
);
});
}
beforeAll
(
async
function
()
{
console
.
info
(
"
beforeAll case
"
);
});
beforeEach
(
function
()
{
console
.
info
(
"
beforeEach case
"
);
});
afterEach
(
async
function
()
{
console
.
info
(
"
afterEach case
"
);
});
afterAll
(
async
function
()
{
console
.
info
(
"
afterAll case
"
);
});
function
GenPicSource
(
org
)
{
var
data
;
data
=
org
.
buffer
;
return
image
.
createImageSource
(
data
);
}
function
Logger
(
caseName
)
{
return
{
myName
:
caseName
,
log
:
function
(
msg
)
{
console
.
info
(
this
.
myName
+
"
"
+
msg
);
},
};
}
async
function
setColorCallBack
(
done
,
testNum
,
imageSource
,
colorSpaceName
)
{
let
logger
=
Logger
(
testNum
);
logger
.
log
(
"
ImageSource
"
+
(
imageSource
!=
undefined
));
if
(
imageSource
!=
undefined
)
{
let
pixelMap
=
await
imageSource
.
createPixelMap
();
logger
.
log
(
"
PixelMap
"
+
pixelMap
);
var
csm
=
colorSpaceManager
.
create
(
colorSpaceName
);
logger
.
log
(
"
colorSpaceManager.ColorSpace:
"
+
colorSpaceName
);
pixelMap
.
setColorSpace
(
csm
,
async
(
err
)
=>
{
if
(
err
!=
undefined
)
{
expect
(
false
).
assertTrue
();
logger
.
log
(
"
setColorSpace failed
"
+
err
);
done
();
return
;
}
var
csm1
=
await
pixelMap
.
getColorSpace
();
logger
.
log
(
"
getColorSpace
"
+
csm1
);
var
csmn
=
csm1
.
getColorSpaceName
();
logger
.
log
(
"
getColorSpaceName
"
+
csmn
);
expect
(
csmn
==
colorSpaceName
).
assertTrue
();
done
();
});
}
else
{
logger
.
log
(
"
createimageSource fail
"
);
expect
(
false
).
assertTrue
();
done
();
}
}
async
function
setColorPromise
(
done
,
testNum
,
imageSource
,
colorSpaceName
)
{
let
logger
=
Logger
(
testNum
);
try
{
logger
.
log
(
"
ImageSource
"
+
(
imageSource
!=
undefined
));
if
(
imageSource
!=
undefined
)
{
let
pixelMap
=
await
imageSource
.
createPixelMap
();
logger
.
log
(
"
PixelMap
"
+
pixelMap
);
var
csm
=
colorSpaceManager
.
create
(
colorSpaceName
);
logger
.
log
(
"
colorSpaceManager.ColorSpace:
"
+
colorSpaceName
);
await
pixelMap
.
setColorSpace
(
csm
);
var
csm1
=
await
pixelMap
.
getColorSpace
();
logger
.
log
(
"
getColorSpace
"
+
csm1
);
var
csmn
=
csm1
.
getColorSpaceName
();
logger
.
log
(
"
getColorSpaceName
"
+
csmn
);
expect
(
csmn
==
colorSpaceName
).
assertTrue
();
done
();
}
else
{
logger
.
log
(
"
createimageSource fail
"
);
expect
(
false
).
assertTrue
();
done
();
}
}
catch
(
error
)
{
expect
(
false
).
assertTrue
();
logger
.
log
(
"
failed
"
+
error
);
done
();
}
}
/**
* @tc.number : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
* @tc.name : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it
(
"
SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
"
,
0
,
async
function
(
done
)
{
let
logger
=
Logger
(
"
SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
"
);
try
{
let
imageSource
=
GenPicSource
(
testImg
);
if
(
imageSource
!=
undefined
)
{
let
pixelMap
=
await
imageSource
.
createPixelMap
();
var
csm
=
await
pixelMap
.
getColorSpace
();
logger
.
log
(
"
getColorSpace csm
"
+
csm
);
var
csmn
=
csm
.
getColorSpaceName
();
logger
.
log
(
"
getColorSpaceName
"
+
csmn
);
expect
(
csmn
==
COLORSPACENAME
).
assertTrue
();
done
();
}
else
{
logger
.
log
(
"
createimageSource fail
"
);
expect
(
false
).
assertTrue
();
done
();
}
}
catch
(
error
)
{
expect
(
false
).
assertTrue
();
logger
.
log
(
"
failed
"
+
error
);
done
();
}
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
* @tc.name : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it
(
"
SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
"
,
0
,
async
function
(
done
)
{
let
logger
=
Logger
(
"
SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
"
);
let
imageSource
=
GenPicSource
(
testImg
);
if
(
imageSource
!=
undefined
)
{
let
pixelMap
=
await
imageSource
.
createPixelMap
();
pixelMap
.
getColorSpace
((
err
,
csm
)
=>
{
if
(
err
!=
undefined
)
{
logger
.
log
(
"
getColorSpace failed
"
+
err
);
expect
(
false
).
assertTrue
();
return
;
}
logger
.
log
(
"
getColorSpace csm
"
+
csm
);
let
csmn
=
csm
.
getColorSpaceName
();
logger
.
log
(
"
getColorSpaceName
"
+
csmn
);
expect
(
csmn
==
COLORSPACENAME
).
assertTrue
();
done
();
});
}
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
"
,
0
,
async
function
(
done
)
{
let
imageSource
=
image
.
createImageSource
(
testP3
.
buffer
);
setColorPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
"
,
1
,
async
function
(
done
)
{
let
imageSource
=
image
.
createImageSource
(
testImg
.
buffer
);
setColorPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
"
,
1
,
async
function
(
done
)
{
await
getFd
(
"
colorspace.jpg
"
);
let
imageSource
=
image
.
createImageSource
(
fdNumber
);
setColorPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
"
,
1
,
async
function
(
done
)
{
await
getFd
(
"
DisplayP3.png
"
);
let
imageSource
=
image
.
createImageSource
(
fdNumber
);
setColorPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
"
,
0
,
async
function
(
done
)
{
let
imageSource
=
image
.
createImageSource
(
testImg
.
buffer
);
setColorCallBack
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
"
,
1
,
async
function
(
done
)
{
let
imageSource
=
image
.
createImageSource
(
testP3
.
buffer
);
setColorCallBack
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
"
,
1
,
async
function
(
done
)
{
await
getFd
(
"
DisplayP3.png
"
);
let
imageSource
=
image
.
createImageSource
(
fdNumber
);
setColorCallBack
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
"
,
1
,
async
function
(
done
)
{
await
getFd
(
"
colorspace.jpg
"
);
let
imageSource
=
image
.
createImageSource
(
fdNumber
);
setColorCallBack
(
done
,
"
SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
"
,
imageSource
,
colorSpaceManager
.
ColorSpace
.
DISPLAY_P3
);
});
});
}
multimedia/image/image_js_standard/imageColorspace/src/main/js/test/testImg.js
0 → 100644
浏览文件 @
5721c865
此差异已折叠。
点击以展开。
multimedia/image/image_js_standard/imageCreator/Test.json
浏览文件 @
5721c865
...
...
@@ -34,6 +34,7 @@
"hilog -b D"
],
"teardown-command"
:[
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imageDecodeOptions/Test.json
浏览文件 @
5721c865
...
...
@@ -43,7 +43,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageExif/Test.json
浏览文件 @
5721c865
...
...
@@ -39,7 +39,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imageGetImageProperty/Test.json
浏览文件 @
5721c865
...
...
@@ -40,7 +40,8 @@
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/test_exif.jpg"
],
"teardown-command"
:
[
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/*"
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/*"
,
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imageModifyProperty/Test.json
浏览文件 @
5721c865
...
...
@@ -40,7 +40,8 @@
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/test_exif.jpg"
],
"teardown-command"
:
[
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*"
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*"
,
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imagePacking/Test.json
浏览文件 @
5721c865
...
...
@@ -37,7 +37,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imagePixelMapFramework/Test.json
浏览文件 @
5721c865
...
...
@@ -22,7 +22,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageRGBA/Test.json
浏览文件 @
5721c865
...
...
@@ -34,6 +34,7 @@
"hilog -b D"
],
"teardown-command"
:[
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imageRaw/Test.json
浏览文件 @
5721c865
...
...
@@ -48,7 +48,8 @@
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files/*"
],
"teardown-command"
:
[
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/*"
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/*"
,
"hilog -b X"
]
}
]
...
...
multimedia/image/image_js_standard/imageReceiver/Test.json
浏览文件 @
5721c865
...
...
@@ -22,7 +22,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageWebp/Test.json
浏览文件 @
5721c865
...
...
@@ -37,7 +37,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/imageYUV/Test.json
浏览文件 @
5721c865
...
...
@@ -22,7 +22,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:[
"hilog -b X"
]
}
]
}
\ No newline at end of file
multimedia/image/image_js_standard/image_ndk_test/Test.json
浏览文件 @
5721c865
...
...
@@ -21,7 +21,9 @@
"hilog -Q pidoff"
,
"hilog -b D"
],
"teardown-command"
:
[]
"teardown-command"
:
[
"hilog -b X"
]
}
]
}
multimedia/medialibrary/mediaLibrary_album/Test.json
浏览文件 @
5721c865
...
...
@@ -49,6 +49,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_base/Test.json
浏览文件 @
5721c865
...
...
@@ -46,6 +46,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_favorite/Test.json
浏览文件 @
5721c865
...
...
@@ -46,6 +46,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_file/Test.json
浏览文件 @
5721c865
...
...
@@ -50,6 +50,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_fileAsset/Test.json
浏览文件 @
5721c865
...
...
@@ -50,6 +50,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_fileKey/Test.json
浏览文件 @
5721c865
...
...
@@ -42,6 +42,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_fileResult/Test.json
浏览文件 @
5721c865
...
...
@@ -46,6 +46,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_getThumbnail/Test.json
浏览文件 @
5721c865
...
...
@@ -47,6 +47,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_mediafetchoptions/Test.json
浏览文件 @
5721c865
...
...
@@ -46,6 +46,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/medialibrary/mediaLibrary_trash/Test.json
浏览文件 @
5721c865
...
...
@@ -50,6 +50,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/userfilemgr/userfilemgr_album/Test.json
浏览文件 @
5721c865
...
...
@@ -41,6 +41,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/userfilemgr/userfilemgr_base/Test.json
浏览文件 @
5721c865
...
...
@@ -53,6 +53,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
浏览文件 @
5721c865
...
...
@@ -55,6 +55,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
浏览文件 @
5721c865
...
...
@@ -34,6 +34,9 @@
"hilog -b D -D 0xD002B70"
,
"scanner"
,
"sleep 10"
],
"teardown-command"
:[
"hilog -b X -D 0xD002B70"
]
},
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录