Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
333780d3
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看板
未验证
提交
333780d3
编写于
2月 06, 2023
作者:
O
openharmony_ci
提交者:
Gitee
2月 06, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7314 [medialibrary][OpenHarmony_3.1_Release]testcase adaptation
Merge pull request !7314 from guoxiaoyu/gxy0129
上级
6de68a83
d6f8b06b
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
9 addition
and
9 deletion
+9
-9
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js
...s_standard/src/main/js/test/fileAssetTestCallback.test.js
+3
-3
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js
...js_standard/src/main/js/test/fileAssetTestPromise.test.js
+3
-3
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js
...rary_js_standard/src/main/js/test/fileTestPromise.test.js
+1
-1
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js
...tandard/src/main/js/test/mediaLibraryTestCallBack.test.js
+1
-1
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js
...standard/src/main/js/test/mediaLibraryTestPromise.test.js
+1
-1
未找到文件。
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js
浏览文件 @
333780d3
...
@@ -639,7 +639,7 @@ describe('fileAssetTestCallback.test.js', async function() {
...
@@ -639,7 +639,7 @@ describe('fileAssetTestCallback.test.js', async function() {
try
{
try
{
let
fileType
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fileType
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fileFetchOp
=
{
let
fileFetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
fileType
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
fileType
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fileFetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fileFetchOp
);
...
@@ -708,7 +708,7 @@ describe('fileAssetTestCallback.test.js', async function() {
...
@@ -708,7 +708,7 @@ describe('fileAssetTestCallback.test.js', async function() {
try
{
try
{
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fetchOp
=
{
let
fetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
...
@@ -773,7 +773,7 @@ describe('fileAssetTestCallback.test.js', async function() {
...
@@ -773,7 +773,7 @@ describe('fileAssetTestCallback.test.js', async function() {
try
{
try
{
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fetchOp
=
{
let
fetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
...
...
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js
浏览文件 @
333780d3
...
@@ -458,7 +458,7 @@ describe('fileAssetTestPromise.test.js', async function() {
...
@@ -458,7 +458,7 @@ describe('fileAssetTestPromise.test.js', async function() {
try
{
try
{
let
fileType
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fileType
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fileFetchOp
=
{
let
fileFetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
fileType
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
fileType
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fileFetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fileFetchOp
);
...
@@ -517,7 +517,7 @@ describe('fileAssetTestPromise.test.js', async function() {
...
@@ -517,7 +517,7 @@ describe('fileAssetTestPromise.test.js', async function() {
try
{
try
{
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fetchOp
=
{
let
fetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
...
@@ -561,7 +561,7 @@ describe('fileAssetTestPromise.test.js', async function() {
...
@@ -561,7 +561,7 @@ describe('fileAssetTestPromise.test.js', async function() {
try
{
try
{
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
type
=
mediaLibrary
.
MediaType
.
VIDEO
;
let
fetchOp
=
{
let
fetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
type
.
toString
(),
'
01.mp4
'
],
};
};
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
let
fetchFileResult
=
await
media
.
getFileAssets
(
fetchOp
);
...
...
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js
浏览文件 @
333780d3
...
@@ -29,7 +29,7 @@ let imagesfetchOp = {
...
@@ -29,7 +29,7 @@ let imagesfetchOp = {
selectionArgs
:
[
imageType
.
toString
()],
selectionArgs
:
[
imageType
.
toString
()],
};
};
let
videosfetchOp
=
{
let
videosfetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
};
};
let
audiosfetchOp
=
{
let
audiosfetchOp
=
{
...
...
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js
浏览文件 @
333780d3
...
@@ -40,7 +40,7 @@ let imagesfetchOp = {
...
@@ -40,7 +40,7 @@ let imagesfetchOp = {
selectionArgs
:
[
imageType
.
toString
()],
selectionArgs
:
[
imageType
.
toString
()],
};
};
let
videosfetchOp
=
{
let
videosfetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
};
};
let
audiosfetchOp
=
{
let
audiosfetchOp
=
{
...
...
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js
浏览文件 @
333780d3
...
@@ -40,7 +40,7 @@ let imagesfetchOp = {
...
@@ -40,7 +40,7 @@ let imagesfetchOp = {
selectionArgs
:
[
imageType
.
toString
()],
selectionArgs
:
[
imageType
.
toString
()],
};
};
let
videosfetchOp
=
{
let
videosfetchOp
=
{
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
display_name
= ?
'
,
selections
:
mediaLibrary
.
FileKey
.
MEDIA_TYPE
+
'
= ? AND
'
+
mediaLibrary
.
FileKey
.
DISPLAY_NAME
+
'
= ?
'
,
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
selectionArgs
:
[
videoType
.
toString
(),
'
01.mp4
'
],
};
};
let
audiosfetchOp
=
{
let
audiosfetchOp
=
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录