Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
9ad4494c
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看板
未验证
提交
9ad4494c
编写于
12月 13, 2022
作者:
O
openharmony_ci
提交者:
Gitee
12月 13, 2022
浏览文件
操作
浏览文件
下载
差异文件
!6902 avsession主干签名更改
Merge pull request !6902 from 秦莉文/master
上级
ca41e2a9
6c98ce00
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
44 addition
and
52 deletion
+44
-52
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
+7
-1
multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
...dard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
+1
-1
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/Test.json
...audio/audio_js_standard/AudioCapturerChangeInfo/Test.json
+7
-1
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
...angeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
+1
-1
multimedia/audio/audio_js_standard/AudioTestBase.js
multimedia/audio/audio_js_standard/AudioTestBase.js
+0
-40
multimedia/audio/audio_js_standard/audioManager/Test.json
multimedia/audio/audio_js_standard/audioManager/Test.json
+7
-1
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
...dard/audioManager/src/main/js/test/AudioFramework.test.js
+1
-1
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioManagerApi9.test.js
...rd/audioManager/src/main/js/test/AudioManagerApi9.test.js
+0
-1
multimedia/audio/audio_js_standard/audioVoip/Test.json
multimedia/audio/audio_js_standard/audioVoip/Test.json
+7
-1
multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
..._js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
+0
-1
multimedia/avsession/avsession_js_standard/avsessionManager/signature/openharmony_sx.p7b
...js_standard/avsessionManager/signature/openharmony_sx.p7b
+0
-0
multimedia/camera/camera_js_standard/Test.json
multimedia/camera/camera_js_standard/Test.json
+7
-3
multimedia/media/media_js_standard/audioRecorder/Test.json
multimedia/media/media_js_standard/audioRecorder/Test.json
+2
-0
multimedia/media/media_js_standard/recorderFormat/Test.json
multimedia/media/media_js_standard/recorderFormat/Test.json
+2
-0
multimedia/media/media_js_standard/videoRecorder/Test.json
multimedia/media/media_js_standard/videoRecorder/Test.json
+2
-0
未找到文件。
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
浏览文件 @
9ad4494c
...
...
@@ -20,7 +20,13 @@
"run-command"
:
[
"hilog -Q pidoff"
,
"mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files"
,
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry"
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
"power-shell setmode 600"
],
"cleanup-apps"
:
true
},
...
...
multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
浏览文件 @
9ad4494c
...
...
@@ -17,7 +17,7 @@ import audio from '@ohos.multimedia.audio';
import
fileio
from
'
@ohos.fileio
'
;
import
featureAbility
from
'
@ohos.ability.featureAbility
'
;
import
{
afterAll
,
afterEach
,
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
'
@ohos/hypium
'
;
import
{
Ui
Component
,
UiDriver
,
Component
,
Driver
,
UiWindow
,
ON
,
BY
,
MatchPattern
,
DisplayRotation
,
ResizeDirection
,
WindowMode
,
PointerMatrix
}
from
'
@ohos.uitest
'
import
{
Ui
Driver
,
BY
}
from
'
@ohos.uitest
'
export
default
function
audioCapturer
()
{
describe
(
'
audioCapturer
'
,
function
()
{
...
...
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/Test.json
浏览文件 @
9ad4494c
...
...
@@ -18,7 +18,13 @@
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"hilog -Q pidoff"
"hilog -Q pidoff"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
"power-shell setmode 600"
]
}
]
...
...
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
浏览文件 @
9ad4494c
...
...
@@ -16,7 +16,7 @@
import
audio
from
'
@ohos.multimedia.audio
'
;
import
featureAbility
from
'
@ohos.ability.featureAbility
'
;
import
{
afterAll
,
afterEach
,
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
'
@ohos/hypium
'
;
import
{
Ui
Component
,
UiDriver
,
Component
,
Driver
,
UiWindow
,
ON
,
BY
,
MatchPattern
,
DisplayRotation
,
ResizeDirection
,
WindowMode
,
PointerMatrix
}
from
'
@ohos.uitest
'
import
{
Ui
Driver
,
BY
}
from
'
@ohos.uitest
'
export
default
function
audioCapturerChange
()
{
describe
(
'
audioCapturerChange
'
,
function
()
{
...
...
multimedia/audio/audio_js_standard/AudioTestBase.js
已删除
100644 → 0
浏览文件 @
ca41e2a9
/*
* Copyright (C) 2022 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
abilityAccessCtrl
from
'
@ohos.abilityAccessCtrl
'
;
import
bundle
from
'
@ohos.bundle
'
;
import
account
from
'
@ohos.account.osAccount
'
;
// apply permission for test hap
export
async
function
applyPermission
(
applictionName
,
permissionNames
)
{
let
userId
=
await
account
.
getAccountManager
().
getOsAccountLocalIdFromProcess
();
console
.
info
(
`userid is :
${
userId
}
`
)
let
appInfo
=
await
bundle
.
getApplicationInfo
(
applictionName
,
0
,
userId
);
let
atManager
=
abilityAccessCtrl
.
createAtManager
();
if
(
atManager
!=
null
)
{
let
tokenID
=
appInfo
.
accessTokenId
;
console
.
info
(
`[permission] case accessTokenID is
${
tokenID
}
`
);
for
(
let
i
=
0
;
i
<
permissionNames
.
length
;
i
++
)
{
await
atManager
.
grantUserGrantedPermission
(
tokenID
,
permissionNames
[
i
],
1
).
then
((
result
)
=>
{
console
.
info
(
`[permission] case grantUserGrantedPermission success :
${
result
}
`
);
}).
catch
((
err
)
=>
{
console
.
info
(
`[permission] case grantUserGrantedPermission failed :
${
err
}
`
);
});
}
}
else
{
console
.
info
(
`[permission] case apply permission failed, createAtManager failed`
);
}
}
\ No newline at end of file
multimedia/audio/audio_js_standard/audioManager/Test.json
浏览文件 @
9ad4494c
...
...
@@ -18,7 +18,13 @@
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"hilog -Q pidoff"
"hilog -Q pidoff"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
"power-shell setmode 600"
]
}
]
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
浏览文件 @
9ad4494c
...
...
@@ -16,7 +16,7 @@
import
audio
from
'
@ohos.multimedia.audio
'
;
import
featureAbility
from
'
@ohos.ability.featureAbility
'
;
import
{
afterAll
,
afterEach
,
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
'
@ohos/hypium
'
;
import
{
Ui
Component
,
UiDriver
,
Component
,
Driver
,
UiWindow
,
ON
,
BY
,
MatchPattern
,
DisplayRotation
,
ResizeDirection
,
WindowMode
,
PointerMatrix
}
from
'
@ohos.uitest
'
import
{
Ui
Driver
,
BY
}
from
'
@ohos.uitest
'
export
default
function
audioFramework
()
{
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioManagerApi9.test.js
浏览文件 @
9ad4494c
...
...
@@ -14,7 +14,6 @@
*/
import
audio
from
'
@ohos.multimedia.audio
'
;
// import * as audioTestBase from '../../../../../AudioTestBase'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
@ohos/hypium
'
;
export
default
function
audioManagerApi9
()
{
...
...
multimedia/audio/audio_js_standard/audioVoip/Test.json
浏览文件 @
9ad4494c
...
...
@@ -21,7 +21,13 @@
"run-command"
:
[
"hilog -Q pidoff"
,
"mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry/files"
,
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry"
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
"power-shell setmode 600"
],
"cleanup-apps"
:
true
},
...
...
multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
浏览文件 @
9ad4494c
...
...
@@ -17,7 +17,6 @@ import audio from '@ohos.multimedia.audio';
import
fileio
from
'
@ohos.fileio
'
;
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
resourceManager
from
'
@ohos.resourceManager
'
;
import
*
as
audioTestBase
from
'
../../../../../AudioTestBase
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
@ohos/hypium
'
;
import
{
UiDriver
,
BY
}
from
'
@ohos.uitest
'
...
...
multimedia/avsession/avsession_js_standard/avsessionManager/signature/openharmony_sx.p7b
浏览文件 @
9ad4494c
无法预览此类型文件
multimedia/camera/camera_js_standard/Test.json
浏览文件 @
9ad4494c
...
...
@@ -5,17 +5,21 @@
"test-timeout"
:
"3000000"
,
"bundle-name"
:
"com.open.harmony.multimedia.cameratest"
,
"package-name"
:
"com.open.harmony.multimedia.cameratest"
,
"shell-timeout"
:
"60000"
"shell-timeout"
:
"60000"
,
"testcase-timeout"
:
100000
},
"kits"
:
[
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"hilog -Q pidoff"
,
"rm -rf /storage/media/100/local/files/Videos/*"
"rm -rf /storage/media/100/local/files/Videos/*"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
"power-shell setmode 600"
]
},
{
...
...
multimedia/media/media_js_standard/audioRecorder/Test.json
浏览文件 @
9ad4494c
...
...
@@ -15,6 +15,8 @@
"rm -rf /storage/media/100/local/files/Audios/audio_*"
,
"rm -rf /storage/media/100/local/files/Videos/audio_*"
,
"param set persist.ace.testmode.enabled 1"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
...
...
multimedia/media/media_js_standard/recorderFormat/Test.json
浏览文件 @
9ad4494c
...
...
@@ -14,6 +14,8 @@
"run-command"
:
[
"rm -rf /storage/media/100/local/files/Audios/COMPATIBILITY*"
,
"param set persist.ace.testmode.enabled 1"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:
[
...
...
multimedia/media/media_js_standard/videoRecorder/Test.json
浏览文件 @
9ad4494c
...
...
@@ -21,6 +21,8 @@
"run-command"
:
[
"rm -rf /storage/media/100/local/files/Videos/*"
,
"param set persist.ace.testmode.enabled 1"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
],
"teardown-command"
:[
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录