Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
44b25e27
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看板
未验证
提交
44b25e27
编写于
1月 22, 2022
作者:
O
openharmony_ci
提交者:
Gitee
1月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
!1664 【XTS】bundle_manger xts代码适配
Merge pull request !1664 from ry/master
上级
be9dfc63
bf3fb39f
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
136 addition
and
212 deletion
+136
-212
appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js
.../entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js
+129
-205
appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js
...tatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js
+7
-7
未找到文件。
appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js
浏览文件 @
44b25e27
此差异已折叠。
点击以展开。
appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js
浏览文件 @
44b25e27
...
@@ -41,7 +41,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -41,7 +41,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
"
bundleName
"
:
'
com.example.third1
'
,
"
bundleName
"
:
'
com.example.third1
'
,
"
abilityName
"
:
'
com.example.third1.MainAbility
'
,
"
abilityName
"
:
'
com.example.third1.MainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
}
}
...
@@ -95,7 +95,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -95,7 +95,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
"
bundleName
"
:
'
com.example.third1
'
,
"
bundleName
"
:
'
com.example.third1
'
,
"
abilityName
"
:
'
com.example.third1.AMainAbility
'
,
"
abilityName
"
:
'
com.example.third1.AMainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
}
}
...
@@ -144,7 +144,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -144,7 +144,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
bundleName
:
'
com.example.third1
'
,
bundleName
:
'
com.example.third1
'
,
abilityName
:
'
com.example.third1.MainAbility
'
,
abilityName
:
'
com.example.third1.MainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
expect
(
dataInfos
.
length
).
assertEqual
(
0
);
expect
(
dataInfos
.
length
).
assertEqual
(
0
);
});
});
done
();
done
();
...
@@ -176,7 +176,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -176,7 +176,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
bundleName
:
'
com.example.third5
'
,
bundleName
:
'
com.example.third5
'
,
abilityName
:
'
com.example.third5.AMainAbility
'
,
abilityName
:
'
com.example.third5.AMainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
}
}
...
@@ -208,7 +208,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -208,7 +208,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
bundleName
:
'
com.example.noexist
'
,
bundleName
:
'
com.example.noexist
'
,
abilityName
:
'
com.example.noexist.MainAbility
'
,
abilityName
:
'
com.example.noexist.MainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
expect
(
dataInfos
.
length
).
assertEqual
(
0
);
expect
(
dataInfos
.
length
).
assertEqual
(
0
);
})
})
done
();
done
();
...
@@ -227,7 +227,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -227,7 +227,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
bundleName
:
'
com.example.system1
'
,
bundleName
:
'
com.example.system1
'
,
abilityName
:
'
com.example.system1.MainAbility
'
,
abilityName
:
'
com.example.system1.MainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
}
}
...
@@ -251,7 +251,7 @@ describe('ActsBmsMetaDataTest', function () {
...
@@ -251,7 +251,7 @@ describe('ActsBmsMetaDataTest', function () {
{
{
bundleName
:
'
com.example.vendor1
'
,
bundleName
:
'
com.example.vendor1
'
,
abilityName
:
'
com.example.vendor1.MainAbility
'
,
abilityName
:
'
com.example.vendor1.MainAbility
'
,
},
32
,
0
).
then
(
dataInfos
=>
{
},
bundle
.
BundleFlag
.
GET_ABILITY_INFO_WITH_METADATA
,
0
).
then
(
dataInfos
=>
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
dataInfos
.
length
;
i
<
len
;
i
++
)
{
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
dataMap
.
set
(
dataInfos
[
i
].
name
,
dataInfos
[
i
].
metaData
)
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录