Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
51d84521
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看板
未验证
提交
51d84521
编写于
7月 17, 2023
作者:
O
openharmony_ci
提交者:
Gitee
7月 17, 2023
浏览文件
操作
浏览文件
下载
差异文件
!9313 【元能力】提供共享沙箱路径xts
Merge pull request !9313 from wangkailong/getcontextdir
上级
193d4d35
6582acfa
变更
36
显示空白变更内容
内联
并排
Showing
36 changed file
with
988 addition
and
0 deletion
+988
-0
ability/ability_runtime/stage/BUILD.gn
ability/ability_runtime/stage/BUILD.gn
+1
-0
ability/ability_runtime/stage/actsgetgroupdirtest/BUILD.gn
ability/ability_runtime/stage/actsgetgroupdirtest/BUILD.gn
+24
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/app.json
.../actsgetgroupdirtest/actsgetgroupdirhap/AppScope/app.json
+19
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/resources/base/element/string.json
...etgroupdirhap/AppScope/resources/base/element/string.json
+8
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/resources/base/media/app_icon.png
...getgroupdirhap/AppScope/resources/base/media/app_icon.png
+0
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/BUILD.gn
...ime/stage/actsgetgroupdirtest/actsgetgroupdirhap/BUILD.gn
+46
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/ets/entryability/EntryAbility.ts
...oupdirhap/entry/src/main/ets/entryability/EntryAbility.ts
+66
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/ets/pages/Index.ets
...est/actsgetgroupdirhap/entry/src/main/ets/pages/Index.ets
+32
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/module.json
...roupdirtest/actsgetgroupdirhap/entry/src/main/module.json
+37
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/element/color.json
...updirhap/entry/src/main/resources/base/element/color.json
+8
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/element/string.json
...pdirhap/entry/src/main/resources/base/element/string.json
+16
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/media/icon.png
...tgroupdirhap/entry/src/main/resources/base/media/icon.png
+0
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/profile/main_pages.json
...hap/entry/src/main/resources/base/profile/main_pages.json
+5
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/en_US/element/string.json
...dirhap/entry/src/main/resources/en_US/element/string.json
+16
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/zh_CN/element/string.json
...dirhap/entry/src/main/resources/zh_CN/element/string.json
+16
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/signature/openharmony_sx.p7b
...updirtest/actsgetgroupdirhap/signature/openharmony_sx.p7b
+0
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/app.json
...actsgetgroupdirtest/actsgetgroupdirtest/AppScope/app.json
+19
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/resources/base/element/string.json
...tgroupdirtest/AppScope/resources/base/element/string.json
+8
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/resources/base/media/app_icon.png
...etgroupdirtest/AppScope/resources/base/media/app_icon.png
+0
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/BUILD.gn
...me/stage/actsgetgroupdirtest/actsgetgroupdirtest/BUILD.gn
+43
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/Test.json
...e/stage/actsgetgroupdirtest/actsgetgroupdirtest/Test.json
+33
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
...st/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
+86
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/entryability/EntryAbility.ts
...updirtest/entry/src/main/ets/entryability/EntryAbility.ts
+66
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/pages/Index.ets
...st/actsgetgroupdirtest/entry/src/main/ets/pages/Index.ets
+33
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/test/ActsGetgroupdirTest.test.ets
...test/entry/src/main/ets/test/ActsGetgroupdirTest.test.ets
+131
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/test/List.test.ets
...actsgetgroupdirtest/entry/src/main/ets/test/List.test.ets
+20
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/testability/TestAbility.ets
...oupdirtest/entry/src/main/ets/testability/TestAbility.ets
+73
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/testability/pages/Index.ets
...oupdirtest/entry/src/main/ets/testability/pages/Index.ets
+50
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/module.json
...oupdirtest/actsgetgroupdirtest/entry/src/main/module.json
+47
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/element/color.json
...pdirtest/entry/src/main/resources/base/element/color.json
+8
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/element/string.json
...dirtest/entry/src/main/resources/base/element/string.json
+24
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/media/icon.png
...groupdirtest/entry/src/main/resources/base/media/icon.png
+0
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/profile/main_pages.json
...est/entry/src/main/resources/base/profile/main_pages.json
+5
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/en_US/element/string.json
...irtest/entry/src/main/resources/en_US/element/string.json
+24
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/zh_CN/element/string.json
...irtest/entry/src/main/resources/zh_CN/element/string.json
+24
-0
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/signature/openharmony_sx.p7b
...pdirtest/actsgetgroupdirtest/signature/openharmony_sx.p7b
+0
-0
未找到文件。
ability/ability_runtime/stage/BUILD.gn
浏览文件 @
51d84521
...
...
@@ -18,6 +18,7 @@ group("stage") {
if (is_standard_system) {
deps = [
"actsdebuggabletest:actsdebuggabletest",
"actsgetgroupdirtest:actsgetgroupdirtest",
"actslifecyclemultihap2:ActsLifecycleMultiHap2",
"actslifecyclemultihap3:ActsLifecycleMultiHap3",
"actslifecyclemultihaptest:ActsLifecycleMultiHapTest",
...
...
ability/ability_runtime/stage/actsgetgroupdirtest/BUILD.gn
0 → 100644
浏览文件 @
51d84521
# Copyright (c) 2023 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("//test/xts/tools/build/suite.gni")
group("actsgetgroupdirtest") {
testonly = true
if (is_standard_system) {
deps = [
"actsgetgroupdirhap:ActsGetgroupdirhap",
"actsgetgroupdirtest:ActsGetgroupdirtest",
]
}
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/app.json
0 → 100644
浏览文件 @
51d84521
{
"app"
:
{
"bundleName"
:
"com.example.getgroupdirhap2"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
"icon"
:
"$media:app_icon"
,
"label"
:
"$string:app_name"
,
"distributedNotificationEnabled"
:
true
,
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
10
,
"targetAPIVersion"
:
10
,
"car"
:
{
"apiCompatibleVersion"
:
10
,
"singleUser"
:
false
}
}
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/resources/base/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"GetGroupdirHap2"
}
]
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/AppScope/resources/base/media/app_icon.png
0 → 100644
浏览文件 @
51d84521
6.6 KB
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/BUILD.gn
0 → 100644
浏览文件 @
51d84521
# Copyright (c) 2023 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("//test/xts/tools/build/suite.gni")
ohos_hap_assist_suite("ActsGetgroupdirhap") {
hap_name = "ActsGetgroupdirhap"
js_build_mode = "debug"
testonly = true
hap_profile = "entry/src/main/module.json"
deps = [
":actsgetgroupdirhap_js_assets",
":actsgetgroupdirhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
subsystem_name = "ability"
part_name = "ability_runtime"
}
ohos_app_scope("actsgetgroupdirhap_app_profile") {
app_profile = "AppScope/app.json"
sources = [ "AppScope/resources" ]
}
ohos_js_assets("actsgetgroupdirhap_js_assets") {
source_dir = "entry/src/main/ets"
}
ohos_resources("actsgetgroupdirhap_resources") {
sources = [ "entry/src/main/resources" ]
deps = [ ":actsgetgroupdirhap_app_profile" ]
hap_profile = "entry/src/main/module.json"
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/ets/entryability/EntryAbility.ts
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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
hilog
from
'
@ohos.hilog
'
;
import
Ability
from
'
@ohos.app.ability.UIAbility
'
;
import
Window
from
'
@ohos.window
'
;
export
default
class
EntryAbility
extends
Ability
{
onCreate
(
want
,
launchParam
)
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onCreate
'
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
want param:
'
+
JSON
.
stringify
(
want
)
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
launchParam:
'
+
JSON
.
stringify
(
launchParam
)
??
''
);
}
onDestroy
()
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onDestroy
'
);
}
onWindowStageCreate
(
windowStage
:
Window
.
WindowStage
)
{
// Main window is created, set main page for this ability
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onWindowStageCreate
'
);
windowStage
.
loadContent
(
'
pages/Index
'
,
(
err
,
data
)
=>
{
if
(
err
.
code
)
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
ERROR
);
hilog
.
error
(
0x0000
,
'
testTag
'
,
'
Failed to load the content. Cause: %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
return
;
}
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
Succeeded in loading the content. Data: %{public}s
'
,
JSON
.
stringify
(
data
)
??
''
);
});
}
onWindowStageDestroy
()
{
// Main window is destroyed, release UI related resources
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onWindowStageDestroy
'
);
}
onForeground
()
{
// Ability has brought to foreground
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onForeground
'
);
}
onBackground
()
{
// Ability has back to background
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onBackground
'
);
}
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/ets/pages/Index.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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.
*/
@Entry
@Component
struct Index {
@State message: string = 'Hello World';
build() {
Row() {
Column() {
Text(this.message)
.fontSize(50)
.fontWeight(FontWeight.Bold)
}
.width('100%')
}
.height('100%')
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/module.json
0 → 100644
浏览文件 @
51d84521
{
"module"
:
{
"name"
:
"entry"
,
"type"
:
"entry"
,
"description"
:
"$string:module_desc"
,
"mainElement"
:
"EntryAbility"
,
"deviceTypes"
:
[
"default"
,
"tablet"
],
"deliveryWithInstall"
:
true
,
"installationFree"
:
false
,
"pages"
:
"$profile:main_pages"
,
"abilities"
:
[
{
"name"
:
"EntryAbility"
,
"srcEntrance"
:
"./ets/entryability/EntryAbility.ts"
,
"description"
:
"$string:EntryAbility_desc"
,
"icon"
:
"$media:icon"
,
"label"
:
"$string:EntryAbility_label"
,
"startWindowIcon"
:
"$media:icon"
,
"startWindowBackground"
:
"$color:start_window_background"
,
"visible"
:
true
,
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
]
}
]
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/element/color.json
0 → 100644
浏览文件 @
51d84521
{
"color"
:
[
{
"name"
:
"start_window_background"
,
"value"
:
"#FFFFFF"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/media/icon.png
0 → 100644
浏览文件 @
51d84521
6.6 KB
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/base/profile/main_pages.json
0 → 100644
浏览文件 @
51d84521
{
"src"
:
[
"pages/Index"
]
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/en_US/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/entry/src/main/resources/zh_CN/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"模块描述"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirhap/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
51d84521
文件已添加
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/app.json
0 → 100644
浏览文件 @
51d84521
{
"app"
:
{
"bundleName"
:
"com.example.getgroupdir"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
"icon"
:
"$media:app_icon"
,
"label"
:
"$string:app_name"
,
"distributedNotificationEnabled"
:
true
,
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
10
,
"targetAPIVersion"
:
10
,
"car"
:
{
"apiCompatibleVersion"
:
10
,
"singleUser"
:
false
}
}
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/resources/base/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"Debuggable"
}
]
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/AppScope/resources/base/media/app_icon.png
0 → 100644
浏览文件 @
51d84521
6.6 KB
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/BUILD.gn
0 → 100644
浏览文件 @
51d84521
# Copyright (c) 2023 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("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsGetgroupdirtest") {
hap_profile = "entry/src/main/module.json"
js_build_mode = "debug"
deps = [
":actsgetgroupdirtest_js_assets",
":actsgetgroupdirtest_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsGetgroupdirtest"
subsystem_name = "ability"
part_name = "ability_runtime"
}
ohos_app_scope("actsgetgroupdirtest_app_profile") {
app_profile = "AppScope/app.json"
sources = [ "AppScope/resources" ]
}
ohos_js_assets("actsgetgroupdirtest_js_assets") {
source_dir = "entry/src/main/ets"
}
ohos_resources("actsgetgroupdirtest_resources") {
sources = [ "entry/src/main/resources" ]
deps = [ ":actsgetgroupdirtest_app_profile" ]
hap_profile = "entry/src/main/module.json"
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/Test.json
0 → 100644
浏览文件 @
51d84521
{
"description"
:
"Configuration for getgroupdir demo Tests"
,
"driver"
:
{
"type"
:
"OHJSUnitTest"
,
"test-timeout"
:
"180000"
,
"bundle-name"
:
"com.example.getgroupdir"
,
"module-name"
:
"entry"
,
"shell-timeout"
:
"600000"
,
"testcase-timeout"
:
15000
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsGetgroupdirtest.hap"
,
"ActsGetgroupdirhap.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"power-shell wakeup"
,
"power-shell setmode 602"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"hilog -b D"
,
"hilog -Q pidoff"
,
"hilog -Q domainoff"
,
"hilog -G 2M"
]
}
]
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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
hilog
from
'
@ohos.hilog
'
;
import
TestRunner
from
'
@ohos.application.testRunner
'
;
import
AbilityDelegatorRegistry
from
'
@ohos.app.ability.abilityDelegatorRegistry
'
;
let
abilityDelegator
=
undefined
;
let
abilityDelegatorArguments
=
undefined
;
function
translateParamsToString
(
parameters
)
{
const
keySet
=
new
Set
([
'
-s class
'
,
'
-s notClass
'
,
'
-s suite
'
,
'
-s it
'
,
'
-s level
'
,
'
-s testType
'
,
'
-s size
'
,
'
-s timeout
'
,
'
-s dryRun
'
])
let
targetParams
=
''
;
for
(
const
key
in
parameters
)
{
if
(
keySet
.
has
(
key
))
{
targetParams
=
`
${
targetParams
}
${
key
}
${
parameters
[
key
]}
`
;
}
}
return
targetParams
.
trim
();
}
async
function
onAbilityCreateCallback
()
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
onAbilityCreateCallback
'
);
}
async
function
addAbilityMonitorCallback
(
err
:
any
)
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
addAbilityMonitorCallback : %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
}
export
default
class
OpenHarmonyTestRunner
implements
TestRunner
{
constructor
()
{
}
onPrepare
()
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner OnPrepare
'
);
}
async
onRun
()
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner onRun run
'
);
abilityDelegatorArguments
=
AbilityDelegatorRegistry
.
getArguments
();
abilityDelegator
=
AbilityDelegatorRegistry
.
getAbilityDelegator
();
let
testAbilityName
=
abilityDelegatorArguments
.
bundleName
+
'
.TestAbility
'
;
let
lMonitor
=
{
abilityName
:
testAbilityName
,
onAbilityCreate
:
onAbilityCreateCallback
,
};
abilityDelegator
.
addAbilityMonitor
(
lMonitor
,
addAbilityMonitorCallback
);
let
cmd
=
'
aa start -d 0 -a TestAbility
'
+
'
-b
'
+
abilityDelegatorArguments
.
bundleName
;
cmd
+=
'
'
+
translateParamsToString
(
abilityDelegatorArguments
.
parameters
);
let
debug
=
abilityDelegatorArguments
.
parameters
[
'
-D
'
];
if
(
debug
===
'
true
'
)
{
cmd
+=
'
-D
'
;
}
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
cmd : %{public}s
'
,
cmd
);
abilityDelegator
.
executeShellCommand
(
cmd
,
(
err
,
d
)
=>
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : err : %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : data : %{public}s
'
,
d
.
stdResult
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : data : %{public}s
'
,
d
.
exitCode
??
''
);
});
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner onRun end
'
);
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/entryability/EntryAbility.ts
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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
hilog
from
'
@ohos.hilog
'
;
import
Ability
from
'
@ohos.app.ability.UIAbility
'
;
import
Window
from
'
@ohos.window
'
;
export
default
class
EntryAbility
extends
Ability
{
onCreate
(
want
,
launchParam
)
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onCreate
'
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
want param:
'
+
JSON
.
stringify
(
want
)
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
launchParam:
'
+
JSON
.
stringify
(
launchParam
)
??
''
);
}
onDestroy
()
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onDestroy
'
);
}
onWindowStageCreate
(
windowStage
:
Window
.
WindowStage
)
{
// Main window is created, set main page for this ability
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onWindowStageCreate
'
);
windowStage
.
loadContent
(
'
pages/Index
'
,
(
err
,
data
)
=>
{
if
(
err
.
code
)
{
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
ERROR
);
hilog
.
error
(
0x0000
,
'
testTag
'
,
'
Failed to load the content. Cause: %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
return
;
}
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
Succeeded in loading the content. Data: %{public}s
'
,
JSON
.
stringify
(
data
)
??
''
);
});
}
onWindowStageDestroy
()
{
// Main window is destroyed, release UI related resources
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onWindowStageDestroy
'
);
}
onForeground
()
{
// Ability has brought to foreground
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onForeground
'
);
}
onBackground
()
{
// Ability has back to background
hilog
.
isLoggable
(
0x0000
,
'
testTag
'
,
hilog
.
LogLevel
.
INFO
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
Ability onBackground
'
);
}
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/pages/Index.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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.
*/
@Entry
@Component
struct Index {
@State message: string = 'Hello World';
build() {
Row() {
Column() {
Text(this.message)
.fontSize(50)
.fontWeight(FontWeight.Bold)
}
.width('100%')
}
.height('100%')
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/test/ActsGetgroupdirTest.test.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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 hilog from '@ohos.hilog';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
export default function ActsGetgroupdirTest() {
describe('ActsGetgroupdirTest', function () {
beforeAll(function () {})
beforeEach(function () {})
afterEach(function () {})
afterAll(function () {})
/*
* @tc.number AMS_getGroupDir_001
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_001',0, async function (done) {
console.log("start AMS_getGroupDir_001 =====>");
let res;
await globalThis.myContext.getGroupDir("context_test1").then(data => {
console.error("getGroupDir AMS_getGroupDir_001 ====> result data" + data);
expect(data).assertContain("/data/storage/el2/group");
}).catch((error) => {
console.error("getGroupDir AMS_getGroupDir_001 ====> result err" + JSON.stringify(error));
expect().assertFail();
});
done();
})
/*
* @tc.number AMS_getGroupDir_002
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_002',0, async function (done) {
console.log("start AMS_getGroupDir_002 =====>");
await globalThis.myContext.getGroupDir("111").then(data => {
console.error("getGroupDir AMS_getGroupDir_002 ====> result data" + data);
expect(data).assertEqual("");
}).catch((error) => {
console.error("getGroupDir AMS_getGroupDir_002 ====> result err" + JSON.stringify(error));
expect().assertFail();
});
done();
})
/*
* @tc.number AMS_getGroupDir_003
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_003',0, async function (done) {
console.log("start AMS_getGroupDir_003 =====>");
await globalThis.myContext.getGroupDir("context_hap1").then(data => {
console.error("getGroupDir AMS_getGroupDir_003 ====> result data" + data);
expect(data).assertEqual("");
}).catch((error) => {
console.error("getGroupDir AMS_getGroupDir_003 ====> result err" + JSON.stringify(error));
expect().assertFail();
});
done();
})
/*
* @tc.number AMS_getGroupDir_004
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_004',0, async function (done) {
console.log("start AMS_getGroupDir_004 =====>");
await globalThis.myContext.getGroupDir("context_test1", (err, data) => {
console.error("AMS_getGroupDir_004 ====> result data" + data);
console.error("AMS_getGroupDir_004 ====> result err" + JSON.stringify(err));
expect(data).assertContain("/data/storage/el2/group");
expect(err).assertNull();
done();
})
})
/*
* @tc.number AMS_getGroupDir_005
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_005',0, async function (done) {
console.log("start AMS_getGroupDir_005 =====>");
await globalThis.myContext.getGroupDir("", (err, data) => {
console.error("AMS_getGroupDir_005 ====> result data" + data);
console.error("AMS_getGroupDir_005 ====> result err" + JSON.stringify(err));
expect(data).assertEqual("");
expect(err).assertNull();
done();
})
})
/*
* @tc.number AMS_getGroupDir_006
* @tc.name getGroupDir
* @tc.desc Function test
* @tc.level 0
*/
it('AMS_getGroupDir_006',0, async function (done) {
console.log("start AMS_getGroupDir_006 =====>");
await globalThis.myContext.getGroupDir("context_hap1", (err, data) => {
console.error("AMS_getGroupDir_006 ====> result data" + data);
console.error("AMS_getGroupDir_006 ====> result err" + JSON.stringify(err));
expect(data).assertEqual("");
expect(err).assertNull();
done();
})
})
})
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/test/List.test.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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 aagetgroupdirTest from './ActsGetgroupdirTest.test';
export default function testsuite() {
aagetgroupdirTest();
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/testability/TestAbility.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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 hilog from '@ohos.hilog';
import Ability from '@ohos.app.ability.UIAbility';
import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry';
import { Hypium } from '@ohos/hypium';
import testsuite from '../test/List.test';
import Window from '@ohos.window';
export default class TestAbility extends Ability {
onCreate(want, launchParam) {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onCreate');
hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? '');
hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:'+ JSON.stringify(launchParam) ?? '');
globalThis.myContext = this.context;
let abilityDelegator: any;
abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
let abilityDelegatorArguments: any;
abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments();
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'start run testcase!!!');
Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite);
}
onDestroy() {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onDestroy');
}
onWindowStageCreate(windowStage: Window.WindowStage) {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate');
windowStage.loadContent('testability/pages/Index', (err, data) => {
if (err.code) {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR);
hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? '');
return;
}
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s',
JSON.stringify(data) ?? '');
});
}
onWindowStageDestroy() {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageDestroy');
}
onForeground() {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onForeground');
}
onBackground() {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground');
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/testability/pages/Index.ets
0 → 100644
浏览文件 @
51d84521
/*
* Copyright (c) 2023 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 hilog from '@ohos.hilog';
@Entry
@Component
struct Index {
aboutToAppear() {
hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO);
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear');
}
@State message: string = 'Hello Debuggable';
build() {
Row() {
Column() {
Text(this.message)
.fontSize(50)
.fontWeight(FontWeight.Bold)
Button() {
Text('next page')
.fontSize(20)
.fontWeight(FontWeight.Bold)
}.type(ButtonType.Capsule)
.margin({
top: 20
})
.backgroundColor('#0D9FFB')
.width('35%')
.height('5%')
.onClick(()=>{
})
}
.width('100%')
}
.height('100%')
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/module.json
0 → 100644
浏览文件 @
51d84521
{
"module"
:
{
"name"
:
"entry"
,
"type"
:
"entry"
,
"description"
:
"$string:module_desc"
,
"mainElement"
:
"EntryAbility"
,
"deviceTypes"
:
[
"default"
,
"tablet"
],
"deliveryWithInstall"
:
true
,
"installationFree"
:
false
,
"pages"
:
"$profile:main_pages"
,
"abilities"
:
[
{
"name"
:
"EntryAbility"
,
"srcEntrance"
:
"./ets/entryability/EntryAbility.ts"
,
"description"
:
"$string:EntryAbility_desc"
,
"icon"
:
"$media:icon"
,
"label"
:
"$string:EntryAbility_label"
,
"startWindowIcon"
:
"$media:icon"
,
"startWindowBackground"
:
"$color:start_window_background"
,
"visible"
:
true
,
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
]
},
{
"name"
:
"TestAbility"
,
"srcEntrance"
:
"./ets/testability/TestAbility.ets"
,
"description"
:
"$string:TestAbility_desc"
,
"icon"
:
"$media:icon"
,
"label"
:
"$string:TestAbility_label"
,
"visible"
:
true
,
"startWindowIcon"
:
"$media:icon"
,
"startWindowBackground"
:
"$color:start_window_background"
}
]
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/element/color.json
0 → 100644
浏览文件 @
51d84521
{
"color"
:
[
{
"name"
:
"start_window_background"
,
"value"
:
"#FFFFFF"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
},
{
"name"
:
"TestAbility_desc"
,
"value"
:
"the test ability"
},
{
"name"
:
"TestAbility_label"
,
"value"
:
"test label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/media/icon.png
0 → 100644
浏览文件 @
51d84521
6.6 KB
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/base/profile/main_pages.json
0 → 100644
浏览文件 @
51d84521
{
"src"
:
[
"pages/Index"
]
}
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/en_US/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
},
{
"name"
:
"TestAbility_desc"
,
"value"
:
"the test ability"
},
{
"name"
:
"TestAbility_label"
,
"value"
:
"test label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/resources/zh_CN/element/string.json
0 → 100644
浏览文件 @
51d84521
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"模块描述"
},
{
"name"
:
"EntryAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"EntryAbility_label"
,
"value"
:
"label"
},
{
"name"
:
"TestAbility_desc"
,
"value"
:
"the test ability"
},
{
"name"
:
"TestAbility_label"
,
"value"
:
"test label"
}
]
}
\ No newline at end of file
ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
51d84521
文件已添加
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录