Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
67f60094
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看板
提交
67f60094
编写于
6月 15, 2022
作者:
qq_41863798
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Signed-off-by lijiaying<lijiaying17@huawei.com>
Signed-off-by:
lijiaying
<
1640106564@qq.com
>
上级
7e622d72
变更
16
展开全部
隐藏空白更改
内联
并排
Showing
16 changed file
with
2438 addition
and
2 deletion
+2438
-2
appexecfwk/bundle_standard/bundlemanager/BUILD.gn
appexecfwk/bundle_standard/bundlemanager/BUILD.gn
+1
-0
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/Test.json
...standard/bundlemanager/actsbundlemanageretstest/Test.json
+5
-2
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/GetQueryAbilityByWant.test.ets
...st/entry/src/main/ets/test/GetQueryAbilityByWant.test.ets
+1011
-0
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/List.test.ets
...undlemanageretstest/entry/src/main/ets/test/List.test.ets
+2
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/BUILD.gn
...ndlemanager/sceneProject/bmsgetinfosseventhscene/BUILD.gn
+34
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/Test.json
...dlemanager/sceneProject/bmsgetinfosseventhscene/Test.json
+3
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/signature/openharmony_sx.p7b
...ject/bmsgetinfosseventhscene/signature/openharmony_sx.p7b
+0
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/config.json
...sceneProject/bmsgetinfosseventhscene/src/main/config.json
+1251
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/app.js
...roject/bmsgetinfosseventhscene/src/main/js/default/app.js
+22
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/i18n/en-US.json
...sgetinfosseventhscene/src/main/js/default/i18n/en-US.json
+6
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/i18n/zh-CN.json
...sgetinfosseventhscene/src/main/js/default/i18n/zh-CN.json
+6
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.css
...fosseventhscene/src/main/js/default/pages/index/index.css
+24
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.hml
...fosseventhscene/src/main/js/default/pages/index/index.hml
+20
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.js
...nfosseventhscene/src/main/js/default/pages/index/index.js
+25
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/resources/base/element/string.json
...venthscene/src/main/js/resources/base/element/string.json
+28
-0
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/resources/base/media/icon.png
...fosseventhscene/src/main/js/resources/base/media/icon.png
+0
-0
未找到文件。
appexecfwk/bundle_standard/bundlemanager/BUILD.gn
浏览文件 @
67f60094
...
...
@@ -43,6 +43,7 @@ group("bundlemanager") {
"sceneProject/bmsgetinfosscenesystemtwo:bmsSystemBundleTest2",
"sceneProject/bmsgetinfosscenevendor:bmsVendorBundleTest1",
"sceneProject/bmsgetinfossecondscene:bmsThirdBundleTest2",
"sceneProject/bmsgetinfosseventhscene:bmsThirdBundleTest7",
"sceneProject/bmsgetinfossixthscene:bmsThirdBundleTest6",
"sceneProject/bmsgetinfosthirdscene:bmsThirdBundleTest3",
"sceneProject/bmsmainabilityfirstscene:bmsMainAbilityFirstScene",
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/Test.json
浏览文件 @
67f60094
...
...
@@ -35,7 +35,8 @@
"bmsJstest3.hap -> /data/test/bmsJstest3.hap"
,
"bmsJstest4.hap -> /data/test/bmsJstest4.hap"
,
"bmsJstest5.hap -> /data/test/bmsJstest5.hap"
,
"bmsJstest6.hap -> /data/test/bmsJstest6.hap"
"bmsJstest6.hap -> /data/test/bmsJstest6.hap"
,
"bmsThirdBundleTest7.hap->/data/test/bmsThirdBundleTest7.hap"
]
},
{
...
...
@@ -51,7 +52,8 @@
"bm install -p /data/test/bmsJstest3.hap"
,
"bm install -p /data/test/bmsJstest4.hap"
,
"bm install -p /data/test/bmsJstest5.hap"
,
"bm install -p /data/test/bmsJstest6.hap"
"bm install -p /data/test/bmsJstest6.hap"
,
"bm install -p /data/test/bmsThirdBundleTest7.hap"
],
"teardown-command"
:[
"bm uninstall -n com.example.third1"
,
...
...
@@ -61,6 +63,7 @@
"bm uninstall -n com.example.myapplication4"
,
"bm uninstall -n com.example.myapplication5"
,
"bm uninstall -n com.example.myapplication6"
,
"bm uninstall -n com.example.third7"
,
"bm uninstall -n ohos.acts.bundle.stage"
]
}
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/GetQueryAbilityByWant.test.ets
0 → 100644
浏览文件 @
67f60094
此差异已折叠。
点击以展开。
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/List.test.ets
浏览文件 @
67f60094
...
...
@@ -23,6 +23,7 @@ import getAbilityIcon from "./GetAbilityIcon.test.ets";
import getNameForUid from "./GetNameForUid.test.ets";
import queryExtensionAbilityInfos from "./QueryExtensionAbilityInfos.test.ets";
import getBundleArchiveInfo from "./getBundleArchiveInfo.test.ets";
import getQueryAbilityByWant from './GetQueryAbilityByWant.test.ets';
export default function testsuite() {
getBundleArchiveInfo();
...
...
@@ -30,6 +31,7 @@ export default function testsuite() {
getAbilityIcon();
getLaunchWantForBundle();
getNameForUid();
getQueryAbilityByWant();
//RM.007
getApplicationInfoJsunit();
getAllAppInfoJsunit();
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/BUILD.gn
0 → 100644
浏览文件 @
67f60094
# 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("//test/xts/tools/build/suite.gni")
ohos_hap("bmsThirdBundleTest7") {
hap_profile = "./src/main/config.json"
hap_name = "bmsThirdBundleTest7"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/js/resources" ]
hap_profile = "./src/main/config.json"
}
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/Test.json
0 → 100644
浏览文件 @
67f60094
{
"description"
:
"Configuration for hjunit demo Tests"
,
}
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
67f60094
文件已添加
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/config.json
0 → 100644
浏览文件 @
67f60094
此差异已折叠。
点击以展开。
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/app.js
0 → 100644
浏览文件 @
67f60094
/*
* 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.
*/
export
default
{
onCreate
()
{
console
.
info
(
'
AceApplication onCreate
'
);
},
onDestroy
()
{
console
.
info
(
'
AceApplication onDestroy
'
);
}
};
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/i18n/en-US.json
0 → 100644
浏览文件 @
67f60094
{
"strings"
:
{
"hello"
:
"Hello"
,
"world"
:
"World"
}
}
\ No newline at end of file
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/i18n/zh-CN.json
0 → 100644
浏览文件 @
67f60094
{
"strings"
:
{
"hello"
:
"您好"
,
"world"
:
"世界"
}
}
\ No newline at end of file
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.css
0 → 100644
浏览文件 @
67f60094
/*
* 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.
*/
.container
{
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
}
.title
{
font-size
:
100px
;
}
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.hml
0 → 100644
浏览文件 @
67f60094
<!--
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.
-->
<div class="container">
<text class="title">
{{ $t('strings.hello') }} {{ title }}
</text>
</div>
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/default/pages/index/index.js
0 → 100644
浏览文件 @
67f60094
/*
* 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.
*/
const
injectRef
=
Object
.
getPrototypeOf
(
global
)
||
global
injectRef
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
export
default
{
data
:
{
title
:
""
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
}
}
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/resources/base/element/string.json
0 → 100644
浏览文件 @
67f60094
{
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"third7"
},
{
"name"
:
"master_desc"
,
"value"
:
"master_desc"
},
{
"name"
:
"entry_MainAbility"
,
"value"
:
"entry_MainAbility"
},
{
"name"
:
"description_mainability"
,
"value"
:
"eTS_Empty Ability"
},
{
"name"
:
"mainability_description"
,
"value"
:
"eTS_Empty Ability"
},
{
"name"
:
"description_serviceability"
,
"value"
:
"hap sample empty service"
}
]
}
\ No newline at end of file
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosseventhscene/src/main/js/resources/base/media/icon.png
0 → 100644
浏览文件 @
67f60094
6.6 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录