Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7461aa2f
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看板
未验证
提交
7461aa2f
编写于
6月 24, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 24, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3721 修复写文件时缺少权限申请导致的用例卡住问题
Merge pull request !3721 from ling990/ling990
上级
32fc4a9e
364359ea
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
10 addition
and
9 deletion
+10
-9
multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js
...s/test/AudioDecoderFormatCompatibilityPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js
...s/test/AudioEncoderFormatCompatibilityPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js
...r/src/main/js/test/AudioDecoderFormatCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js
...er/src/main/js/test/AudioDecoderFormatPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
...der/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
...oder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
...der/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
...oder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js
...at/src/main/js/test/VideoEncoderFormatPromiseTest.test.js
+2
-1
未找到文件。
multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -2108,7 +2108,7 @@ describe('AudioDecoderFormatCompatibilityPromise', function () {
...
@@ -2108,7 +2108,7 @@ describe('AudioDecoderFormatCompatibilityPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.codecformat
'
;
let
appName
=
'
ohos.acts.multimedia.audio.codecformat
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -56,7 +56,7 @@ describe('AudioEncoderFormatCompatibilityPromise', function () {
...
@@ -56,7 +56,7 @@ describe('AudioEncoderFormatCompatibilityPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.codecformat
'
;
let
appName
=
'
ohos.acts.multimedia.audio.codecformat
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js
浏览文件 @
7461aa2f
...
@@ -54,7 +54,7 @@ describe('AudioDecoderFormatCallback', function () {
...
@@ -54,7 +54,7 @@ describe('AudioDecoderFormatCallback', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -54,7 +54,7 @@ describe('AudioDecoderFormatPromise', function () {
...
@@ -54,7 +54,7 @@ describe('AudioDecoderFormatPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
浏览文件 @
7461aa2f
...
@@ -145,7 +145,7 @@ describe('AudioDecoderFuncCallback', function () {
...
@@ -145,7 +145,7 @@ describe('AudioDecoderFuncCallback', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -144,7 +144,7 @@ describe('AudioDecoderFuncPromise', function () {
...
@@ -144,7 +144,7 @@ describe('AudioDecoderFuncPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audiodecoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
浏览文件 @
7461aa2f
...
@@ -53,7 +53,7 @@ describe('AudioEncoderFuncCallback', function () {
...
@@ -53,7 +53,7 @@ describe('AudioEncoderFuncCallback', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audioencoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audioencoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -53,7 +53,7 @@ describe('AudioEncoderFuncPromise', function () {
...
@@ -53,7 +53,7 @@ describe('AudioEncoderFuncPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.audio.audioencoder
'
;
let
appName
=
'
ohos.acts.multimedia.audio.audioencoder
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js
浏览文件 @
7461aa2f
...
@@ -18,6 +18,7 @@ import mediademo from '@ohos.multimedia.mediademo'
...
@@ -18,6 +18,7 @@ import mediademo from '@ohos.multimedia.mediademo'
import
fileio
from
'
@ohos.fileio
'
import
fileio
from
'
@ohos.fileio
'
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
mediaLibrary
from
'
@ohos.multimedia.mediaLibrary
'
import
mediaLibrary
from
'
@ohos.multimedia.mediaLibrary
'
import
*
as
mediaTestBase
from
'
../../../../../MediaTestBase.js
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
describe
(
'
VideoEncoderFormatPromise
'
,
function
()
{
describe
(
'
VideoEncoderFormatPromise
'
,
function
()
{
...
@@ -43,7 +44,7 @@ describe('VideoEncoderFormatPromise', function () {
...
@@ -43,7 +44,7 @@ describe('VideoEncoderFormatPromise', function () {
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName1
=
'
ohos.permission.MEDIA_LOCATION
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName2
=
'
ohos.permission.READ_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
let
permissionName3
=
'
ohos.permission.WRITE_MEDIA
'
;
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
appName
=
'
ohos.acts.multimedia.video.codecformat
'
;
let
appName
=
'
ohos.acts.multimedia.video.codecformat
'
;
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
mediaTestBase
.
applyPermission
(
appName
,
permissionNameList
);
console
.
info
(
'
beforeAll case after get permission
'
);
console
.
info
(
'
beforeAll case after get permission
'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录