Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
37070929
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
37070929
编写于
10月 18, 2021
作者:
T
tianfenxia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tianfenxia1@huawei.com
Signed-off-by:
N
tianfenxia
<
tianfenxia1@huawei.com
>
上级
971b4768
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
57 addition
and
345 deletion
+57
-345
multimedia/audio/audio_js_standard/audioManager/src/main/config.json
...audio/audio_js_standard/audioManager/src/main/config.json
+8
-9
multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audiomanager/MainAbility.java
.../ohos/acts/multimedia/audio/audiomanager/MainAbility.java
+0
-31
multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audiomanager/MyApplication.java
...hos/acts/multimedia/audio/audiomanager/MyApplication.java
+0
-25
multimedia/audio/audio_js_standard/audioManager/src/main/js/default/common/images/Wallpaper.png
...ioManager/src/main/js/default/common/images/Wallpaper.png
+0
-0
multimedia/audio/audio_js_standard/audioManager/src/main/js/default/pages/index/index.js
...ard/audioManager/src/main/js/default/pages/index/index.js
+2
-17
multimedia/audio/audio_js_standard/audioPlayer/Test.json
multimedia/audio/audio_js_standard/audioPlayer/Test.json
+8
-8
multimedia/audio/audio_js_standard/audioPlayer/src/main/config.json
.../audio/audio_js_standard/audioPlayer/src/main/config.json
+8
-9
multimedia/audio/audio_js_standard/audioPlayer/src/main/java/ohos/acts/multimedia/audio/audioplayer/MainAbility.java
...a/ohos/acts/multimedia/audio/audioplayer/MainAbility.java
+0
-31
multimedia/audio/audio_js_standard/audioPlayer/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java
...ohos/acts/multimedia/audio/audioplayer/MyApplication.java
+0
-25
multimedia/audio/audio_js_standard/audioPlayer/src/main/js/default/common/images/Wallpaper.png
...dioPlayer/src/main/js/default/common/images/Wallpaper.png
+0
-0
multimedia/audio/audio_js_standard/audioPlayer/src/main/js/default/pages/index/index.js
...dard/audioPlayer/src/main/js/default/pages/index/index.js
+2
-17
multimedia/audio/audio_js_standard/audioPlayer_API/Test.json
multimedia/audio/audio_js_standard/audioPlayer_API/Test.json
+8
-8
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/config.json
...io/audio_js_standard/audioPlayer_API/src/main/config.json
+8
-9
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/java/ohos/acts/multimedia/audio/audioplayerapi/MainAbility.java
...hos/acts/multimedia/audio/audioplayerapi/MainAbility.java
+0
-31
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/java/ohos/acts/multimedia/audio/audioplayerapi/MyApplication.java
...s/acts/multimedia/audio/audioplayerapi/MyApplication.java
+0
-25
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/default/common/images/Wallpaper.png
...layer_API/src/main/js/default/common/images/Wallpaper.png
+0
-0
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/default/pages/index/index.js
.../audioPlayer_API/src/main/js/default/pages/index/index.js
+2
-17
multimedia/audio/audio_js_standard/audioRecorder/src/main/config.json
...udio/audio_js_standard/audioRecorder/src/main/config.json
+8
-9
multimedia/audio/audio_js_standard/audioRecorder/src/main/java/ohos/acts/multimedia/audio/audiorecorder/MainAbility.java
...ohos/acts/multimedia/audio/audiorecorder/MainAbility.java
+0
-31
multimedia/audio/audio_js_standard/audioRecorder/src/main/java/ohos/acts/multimedia/audio/audiorecorder/MyApplication.java
...os/acts/multimedia/audio/audiorecorder/MyApplication.java
+0
-25
multimedia/audio/audio_js_standard/audioRecorder/src/main/js/default/common/images/Wallpaper.png
...oRecorder/src/main/js/default/common/images/Wallpaper.png
+0
-0
multimedia/audio/audio_js_standard/audioRecorder/src/main/js/default/pages/index/index.js
...rd/audioRecorder/src/main/js/default/pages/index/index.js
+3
-18
未找到文件。
multimedia/audio/audio_js_standard/audioManager/src/main/config.json
浏览文件 @
37070929
...
...
@@ -3,26 +3,25 @@
"bundleName"
:
"ohos.acts.multimedia.audio.audiomanager"
,
"vendor"
:
"acts"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
"code"
:
1
,
"name"
:
"1.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"target"
:
5
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"ohos.acts.multimedia.audio.audiomanager"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"ohos.acts.multimedia.audio.audiomanager.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
"moduleType"
:
"entry"
},
"abilities"
:
[
{
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audiomanager/MainAbility.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audiomanager
;
import
ohos.ace.ability.AceAbility
;
import
ohos.aafwk.content.Intent
;
public
class
MainAbility
extends
AceAbility
{
@Override
public
void
onStart
(
Intent
intent
)
{
super
.
onStart
(
intent
);
}
@Override
public
void
onStop
()
{
super
.
onStop
();
}
}
multimedia/audio/audio_js_standard/audioManager/src/main/java/ohos/acts/multimedia/audio/audiomanager/MyApplication.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audiomanager
;
import
ohos.aafwk.ability.AbilityPackage
;
public
class
MyApplication
extends
AbilityPackage
{
@Override
public
void
onInitialize
()
{
super
.
onInitialize
();
}
}
multimedia/audio/audio_js_standard/audioManager/src/main/js/default/common/images/Wallpaper.png
已删除
100644 → 0
浏览文件 @
971b4768
151.5 KB
multimedia/audio/audio_js_standard/audioManager/src/main/js/default/pages/index/index.js
浏览文件 @
37070929
...
...
@@ -13,11 +13,7 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
,
Constant
,
ExpectExtend
,
ReportExtend
,
InstrumentLog
}
from
'
deccjsunit/index
'
import
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
export
default
{
data
:
{
...
...
@@ -32,22 +28,11 @@ export default {
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
instrumentLog
=
new
InstrumentLog
({
'
id
'
:
'
report
'
,
'
version
'
:
'
1.0.3
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
instrumentLog
)
core
.
init
()
core
.
subscribeEvent
(
'
spec
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
suite
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
task
'
,
instrumentLog
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
this
.
timeout
=
60000
require
(
'
../../../test/List.test
'
)
core
.
execute
()
},
...
...
multimedia/audio/audio_js_standard/audioPlayer/Test.json
浏览文件 @
37070929
...
...
@@ -12,7 +12,7 @@
"pre-push"
:
[
],
"push"
:
[
"resource/audio/01.m
P
3 ->/data/media/"
,
"resource/audio/01.m
p
3 ->/data/media/"
,
"resource/audio/02.mp3 ->/data/media/"
,
"resource/audio/03.mp3 ->/data/media/"
,
"resource/audio/04.mp3 ->/data/media/"
,
...
...
@@ -38,6 +38,13 @@
"resource/audio/98.mp4 ->/data/media/"
]
},
{
"test-file-name"
:
[
"AudioPlayerJsTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
...
...
@@ -47,13 +54,6 @@
"teardown-command"
:[
"setenforce 1"
]
},
{
"test-file-name"
:
[
"AudioPlayerApiJsTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
\ No newline at end of file
multimedia/audio/audio_js_standard/audioPlayer/src/main/config.json
浏览文件 @
37070929
...
...
@@ -3,26 +3,25 @@
"bundleName"
:
"ohos.acts.multimedia.audio.audioplayer"
,
"vendor"
:
"acts"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
"code"
:
1
,
"name"
:
"1.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"target"
:
5
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"ohos.acts.multimedia.audio.audioplayer"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"ohos.acts.multimedia.audio.audioplayer.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
"moduleType"
:
"entry"
},
"abilities"
:
[
{
...
...
multimedia/audio/audio_js_standard/audioPlayer/src/main/java/ohos/acts/multimedia/audio/audioplayer/MainAbility.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audioplayer
;
import
ohos.ace.ability.AceAbility
;
import
ohos.aafwk.content.Intent
;
public
class
MainAbility
extends
AceAbility
{
@Override
public
void
onStart
(
Intent
intent
)
{
super
.
onStart
(
intent
);
}
@Override
public
void
onStop
()
{
super
.
onStop
();
}
}
multimedia/audio/audio_js_standard/audioPlayer/src/main/java/ohos/acts/multimedia/audio/audioplayer/MyApplication.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audioplayer
;
import
ohos.aafwk.ability.AbilityPackage
;
public
class
MyApplication
extends
AbilityPackage
{
@Override
public
void
onInitialize
()
{
super
.
onInitialize
();
}
}
multimedia/audio/audio_js_standard/audioPlayer/src/main/js/default/common/images/Wallpaper.png
已删除
100644 → 0
浏览文件 @
971b4768
151.5 KB
multimedia/audio/audio_js_standard/audioPlayer/src/main/js/default/pages/index/index.js
浏览文件 @
37070929
...
...
@@ -13,11 +13,7 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
,
Constant
,
ExpectExtend
,
ReportExtend
,
InstrumentLog
}
from
'
deccjsunit/index
'
import
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
export
default
{
data
:
{
...
...
@@ -32,22 +28,11 @@ export default {
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
instrumentLog
=
new
InstrumentLog
({
'
id
'
:
'
report
'
,
'
version
'
:
'
1.0.3
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
instrumentLog
)
core
.
init
()
core
.
subscribeEvent
(
'
spec
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
suite
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
task
'
,
instrumentLog
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
this
.
timeout
=
60000
require
(
'
../../../test/List.test
'
)
core
.
execute
()
},
...
...
multimedia/audio/audio_js_standard/audioPlayer_API/Test.json
浏览文件 @
37070929
...
...
@@ -12,7 +12,7 @@
"pre-push"
:
[
],
"push"
:
[
"resource/audio/01.m
P
3 ->/data/media/"
,
"resource/audio/01.m
p
3 ->/data/media/"
,
"resource/audio/02.mp3 ->/data/media/"
,
"resource/audio/03.mp3 ->/data/media/"
,
"resource/audio/04.mp3 ->/data/media/"
,
...
...
@@ -38,6 +38,13 @@
"resource/audio/98.mp4 ->/data/media/"
]
},
{
"test-file-name"
:
[
"AudioPlayerApiJsTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
...
...
@@ -47,13 +54,6 @@
"teardown-command"
:[
"setenforce 1"
]
},
{
"test-file-name"
:
[
"AudioPlayerApiJsTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
\ No newline at end of file
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/config.json
浏览文件 @
37070929
...
...
@@ -3,26 +3,25 @@
"bundleName"
:
"ohos.acts.multimedia.audio.audioplayerapi"
,
"vendor"
:
"acts"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
"code"
:
1
,
"name"
:
"1.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"target"
:
5
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"ohos.acts.multimedia.audio.audioplayerapi"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"ohos.acts.multimedia.audio.audioplayerapi.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
"moduleType"
:
"entry"
},
"abilities"
:
[
{
...
...
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/java/ohos/acts/multimedia/audio/audioplayerapi/MainAbility.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audioplayerapi
;
import
ohos.ace.ability.AceAbility
;
import
ohos.aafwk.content.Intent
;
public
class
MainAbility
extends
AceAbility
{
@Override
public
void
onStart
(
Intent
intent
)
{
super
.
onStart
(
intent
);
}
@Override
public
void
onStop
()
{
super
.
onStop
();
}
}
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/java/ohos/acts/multimedia/audio/audioplayerapi/MyApplication.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audioplayerapi
;
import
ohos.aafwk.ability.AbilityPackage
;
public
class
MyApplication
extends
AbilityPackage
{
@Override
public
void
onInitialize
()
{
super
.
onInitialize
();
}
}
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/default/common/images/Wallpaper.png
已删除
100644 → 0
浏览文件 @
971b4768
151.5 KB
multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/default/pages/index/index.js
浏览文件 @
37070929
...
...
@@ -13,11 +13,7 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
,
Constant
,
ExpectExtend
,
ReportExtend
,
InstrumentLog
}
from
'
deccjsunit/index
'
import
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
export
default
{
data
:
{
...
...
@@ -32,22 +28,11 @@ export default {
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
instrumentLog
=
new
InstrumentLog
({
'
id
'
:
'
report
'
,
'
version
'
:
'
1.0.3
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
instrumentLog
)
core
.
init
()
core
.
subscribeEvent
(
'
spec
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
suite
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
task
'
,
instrumentLog
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
this
.
timeout
=
60000
require
(
'
../../../test/List.test
'
)
core
.
execute
()
},
...
...
multimedia/audio/audio_js_standard/audioRecorder/src/main/config.json
浏览文件 @
37070929
...
...
@@ -3,26 +3,25 @@
"bundleName"
:
"ohos.acts.multimedia.audio.audiorecorder"
,
"vendor"
:
"acts"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
"code"
:
1
,
"name"
:
"1.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"target"
:
5
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"ohos.acts.multimedia.audio.audiorecorder"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"ohos.acts.multimedia.audio.audiorecorder.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
"moduleType"
:
"entry"
},
"abilities"
:
[
{
...
...
multimedia/audio/audio_js_standard/audioRecorder/src/main/java/ohos/acts/multimedia/audio/audiorecorder/MainAbility.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audiorecorder
;
import
ohos.ace.ability.AceAbility
;
import
ohos.aafwk.content.Intent
;
public
class
MainAbility
extends
AceAbility
{
@Override
public
void
onStart
(
Intent
intent
)
{
super
.
onStart
(
intent
);
}
@Override
public
void
onStop
()
{
super
.
onStop
();
}
}
multimedia/audio/audio_js_standard/audioRecorder/src/main/java/ohos/acts/multimedia/audio/audiorecorder/MyApplication.java
已删除
100644 → 0
浏览文件 @
971b4768
/*
* 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.
*/
package
ohos.acts.multimedia.audio.audiorecorder
;
import
ohos.aafwk.ability.AbilityPackage
;
public
class
MyApplication
extends
AbilityPackage
{
@Override
public
void
onInitialize
()
{
super
.
onInitialize
();
}
}
multimedia/audio/audio_js_standard/audioRecorder/src/main/js/default/common/images/Wallpaper.png
已删除
100644 → 0
浏览文件 @
971b4768
151.5 KB
multimedia/audio/audio_js_standard/audioRecorder/src/main/js/default/pages/index/index.js
浏览文件 @
37070929
...
...
@@ -13,11 +13,7 @@
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
app
from
'
@system.app
'
import
device
from
'
@system.device
'
import
router
from
'
@system.router
'
import
{
Core
,
Constant
,
ExpectExtend
,
ReportExtend
,
InstrumentLog
}
from
'
deccjsunit/index
'
import
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
export
default
{
data
:
{
...
...
@@ -32,25 +28,14 @@ export default {
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
const
reportExtend
=
new
ReportExtend
(
file
)
const
instrumentLog
=
new
InstrumentLog
({
'
id
'
:
'
report
'
,
'
version
'
:
'
1.0.3
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
addService
(
'
report
'
,
reportExtend
)
core
.
addService
(
'
report
'
,
instrumentLog
)
core
.
init
()
core
.
subscribeEvent
(
'
spec
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
suite
'
,
instrumentLog
)
core
.
subscribeEvent
(
'
task
'
,
instrumentLog
)
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
this
.
timeout
=
60000
require
(
'
../../../test/List.test
'
)
core
.
execute
()
},
onReady
()
{
},
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录