Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
ea967ddf
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看板
未验证
提交
ea967ddf
编写于
3月 15, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7984 add bundleType for atomicService
Merge pull request !7984 from 赵淦/master
上级
8bf51f86
3dda7a8f
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
17 addition
and
24 deletion
+17
-24
ability/ability_runtime/freeinstalltest/connectabilityfatest/connectdifferentapplication/AppScope/app.json
...ilityfatest/connectdifferentapplication/AppScope/app.json
+2
-1
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/AppScope/app.json
...ltstagetest/atomizationresultstageentry/AppScope/app.json
+2
-1
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/AppScope/app.json
...sultstagetest/atomizationresultstagehm2/AppScope/app.json
+2
-1
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/AppScope/app.json
...ultstagetest/atomizationresultstagehnm2/AppScope/app.json
+2
-1
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/AppScope/app.json
...sultstagetest/stageresultmyapplication1/AppScope/app.json
+2
-2
ability/ability_runtime/freeinstalltest/startabilitystagetest/atomizationstageentry/AppScope/app.json
...tabilitystagetest/atomizationstageentry/AppScope/app.json
+2
-1
ability/ability_runtime/freeinstalltest/startabilitystagetest/stagemyapplication1/AppScope/app.json
...artabilitystagetest/stagemyapplication1/AppScope/app.json
+2
-1
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/actsbmsatomicservicetest/AppScope/app.json
...serviceetstest/actsbmsatomicservicetest/AppScope/app.json
+1
-4
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/actsbmsatomicservicetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets
...est/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets
+0
-4
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/bmsatomicserviceone/AppScope/app.json
...tomicserviceetstest/bmsatomicserviceone/AppScope/app.json
+1
-4
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/bmsatomicserviceshared/AppScope/app.json
...icserviceetstest/bmsatomicserviceshared/AppScope/app.json
+1
-4
未找到文件。
ability/ability_runtime/freeinstalltest/connectabilityfatest/connectdifferentapplication/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.different.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"huawei"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.qianyiyingyong.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.qianyiyingyong.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.qianyiyingyong.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.startAbilityForResult.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,10 +12,9 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetBundleList"
:
[
"com.example.qianyiyingyong.hmservice"
]
}
}
\ No newline at end of file
ability/ability_runtime/freeinstalltest/startabilitystagetest/atomizationstageentry/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.example.qianyiyingyong.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
ability/ability_runtime/freeinstalltest/startabilitystagetest/stagemyapplication1/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:
{
"bundleName"
:
"com.open.harmony.packagemag.hmservice"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"example"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -11,7 +12,7 @@
"keepAlive"
:
true
,
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"car"
:
{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/actsbmsatomicservicetest/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:{
"bundleName"
:
"ohos.acts.atomic.service.test"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"huawei"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -13,10 +14,6 @@
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"atomicService"
:{
"split"
:
true
,
"main"
:
"testModule"
},
"car"
:{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/actsbmsatomicservicetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets
浏览文件 @
ea967ddf
...
...
@@ -36,17 +36,13 @@ export default function getBundleInfoForSelf() {
console.info("getBundleInfoForSelfApplicationPro : " + i + " ==" + JSON.stringify(data.hapModulesInfo[i]));
}
expect(data.appInfo.bundleType).assertEqual(bundle.BundleType.ATOMIC_SERVICE);
expect(data.appInfo.split).assertEqual(true);
expect(data.hapModulesInfo[0].type).assertEqual(bundle.ModuleType.FEATURE);
expect(data.hapModulesInfo[0].atomicServiceModuleType).assertEqual(bundle.AtomicServiceModuleType.NORMAL);
expect(data.hapModulesInfo[0].preloads.length).assertEqual(0);
expect(data.hapModulesInfo[0].dependencies.length).assertEqual(0);
expect(data.hapModulesInfo[1].type).assertEqual(bundle.ModuleType.SHARED);
expect(data.hapModulesInfo[1].preloads.length).assertEqual(0);
expect(data.hapModulesInfo[1].atomicServiceModuleType).assertEqual(bundle.AtomicServiceModuleType.NORMAL);
expect(data.hapModulesInfo[1].dependencies.length).assertEqual(0);
expect(data.hapModulesInfo[2].type).assertEqual(bundle.ModuleType.ENTRY);
expect(data.hapModulesInfo[2].atomicServiceModuleType).assertEqual(bundle.AtomicServiceModuleType.MAIN);
expect(data.hapModulesInfo[2].preloads.length).assertEqual(2);
expect(data.hapModulesInfo[2].preloads[0].moduleName).assertEqual("feature");
expect(data.hapModulesInfo[2].preloads[1].moduleName).assertEqual("shared");
...
...
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/bmsatomicserviceone/AppScope/app.json
浏览文件 @
ea967ddf
{
"app"
:{
"bundleName"
:
"ohos.acts.atomic.service.test"
,
"bundleType"
:
"atomicService"
,
"vendor"
:
"huawei"
,
"versionCode"
:
1000000
,
"versionName"
:
"1.0.0"
,
...
...
@@ -13,10 +14,6 @@
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"atomicService"
:{
"split"
:
true
,
"main"
:
"testModule"
},
"car"
:{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/bmsatomicserviceshared/AppScope/app.json
浏览文件 @
ea967ddf
...
...
@@ -13,10 +13,7 @@
"singleUser"
:
true
,
"minAPIVersion"
:
9
,
"targetAPIVersion"
:
9
,
"atomicService"
:{
"split"
:
true
,
"main"
:
"testModule"
},
"bundleType"
:
"atomicService"
,
"car"
:{
"apiCompatibleVersion"
:
9
,
"singleUser"
:
false
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录