Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
298ef430
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,发现更多精彩内容 >>
提交
298ef430
编写于
11月 08, 2021
作者:
O
openharmony_ci
提交者:
Gitee
11月 08, 2021
浏览文件
操作
浏览文件
下载
差异文件
!1053 Bms xts update
Merge pull request !1053 from blackleon/master_1108
上级
ddc51328
c40d5a45
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
106 addition
and
106 deletion
+106
-106
appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js
...emanagertest/entry/src/main/js/test/ExampleJsunit.test.js
+106
-106
未找到文件。
appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
298ef430
...
@@ -83,11 +83,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -83,11 +83,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -138,11 +138,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -138,11 +138,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -194,11 +194,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -194,11 +194,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
appInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -246,11 +246,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -246,11 +246,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -465,9 +465,9 @@ describe('ActsBundleManagerTest', function () {
...
@@ -465,9 +465,9 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
process
).
assertEqual
(
""
)
expect
(
datainfo
.
process
).
assertEqual
(
""
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
...
@@ -567,11 +567,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -567,11 +567,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
...
@@ -622,11 +622,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -622,11 +622,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
installData
.
uninstall
(
NAME1
,
{
installData
.
uninstall
(
NAME1
,
{
...
@@ -670,11 +670,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -670,11 +670,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
installData
.
uninstall
(
NAME1
,
{
installData
.
uninstall
(
NAME1
,
{
...
@@ -719,11 +719,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -719,11 +719,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -887,11 +887,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -887,11 +887,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -991,11 +991,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -991,11 +991,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME2
,
{
installData
.
uninstall
(
NAME2
,
{
param
:
{
param
:
{
...
@@ -1039,11 +1039,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1039,11 +1039,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME2
,
{
installData
.
uninstall
(
NAME2
,
{
param
:
{
param
:
{
...
@@ -1378,9 +1378,9 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1378,9 +1378,9 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
process
).
assertEqual
(
""
)
expect
(
datainfo
.
process
).
assertEqual
(
""
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
enabled
).
assertEqual
(
true
)
...
@@ -1532,11 +1532,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1532,11 +1532,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
installData
.
uninstall
(
NAME2
,
{
installData
.
uninstall
(
NAME2
,
{
...
@@ -1580,11 +1580,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1580,11 +1580,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME2
,
{
installData
.
uninstall
(
NAME2
,
{
param
:
{
param
:
{
...
@@ -1628,11 +1628,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1628,11 +1628,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME2
,
{
installData
.
uninstall
(
NAME2
,
{
param
:
{
param
:
{
...
@@ -1691,11 +1691,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1691,11 +1691,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -1761,11 +1761,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1761,11 +1761,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME2
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -1816,11 +1816,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1816,11 +1816,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
param
:
{
param
:
{
...
@@ -1876,11 +1876,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -1876,11 +1876,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
}
}
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
...
@@ -2409,11 +2409,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2409,11 +2409,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
...
@@ -2467,11 +2467,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2467,11 +2467,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
supportedModes
).
assertEqual
(
0
)
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
...
@@ -2526,11 +2526,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2526,11 +2526,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
param
:
{
param
:
{
...
@@ -2585,11 +2585,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2585,11 +2585,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
versionName
).
assertLarger
(
0
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
installData
.
uninstall
(
NAME3
,
{
installData
.
uninstall
(
NAME3
,
{
param
:
{
param
:
{
...
@@ -2659,11 +2659,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2659,11 +2659,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -2739,11 +2739,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2739,11 +2739,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME3
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
@@ -2941,11 +2941,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -2941,11 +2941,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -3018,11 +3018,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -3018,11 +3018,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -3081,11 +3081,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -3081,11 +3081,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
entryModuleName
).
assertEqual
(
"
entry
"
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
appInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
appInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
appInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
appInfo
.
supportedModes
).
assertEqual
(
0
)
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
for
(
var
j
=
0
;
j
<
datainfo
.
appInfo
.
moduleInfos
;
j
++
)
{
...
@@ -3157,11 +3157,11 @@ describe('ActsBundleManagerTest', function () {
...
@@ -3157,11 +3157,11 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
bundleName
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
applicationInfo
.
name
).
assertEqual
(
NAME1
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
description
).
assertEqual
(
"
$string:mainability_description
"
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
descriptionId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
icon
).
assertEqual
(
"
$media:icon
"
)
expect
(
datainfo
.
applicationInfo
.
iconId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
iconId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
label
).
assertEqual
(
"
$string:app_name
"
)
expect
(
datainfo
.
applicationInfo
.
labelId
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
labelId
>=
0
).
assertTrue
(
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
systemApp
).
assertEqual
(
false
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
supportedModes
).
assertEqual
(
0
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
expect
(
datainfo
.
applicationInfo
.
enabled
).
assertEqual
(
true
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录