Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
63806e2f
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,发现更多精彩内容 >>
未验证
提交
63806e2f
编写于
5月 20, 2022
作者:
O
openharmony_ci
提交者:
Gitee
5月 20, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3222 修改getAbilityInfo用例断言拼写错误
Merge pull request !3222 from ry/OpenHarmony-3.1-Release
上级
7d61b8b1
b39aa3e5
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
11 addition
and
11 deletion
+11
-11
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
...try/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
+11
-11
未找到文件。
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
浏览文件 @
63806e2f
...
...
@@ -298,15 +298,15 @@ export default function GetabilityInfo() {
expect
(
data
.
descriptionId
)
.
assertLarger
(
0
);
expect
(
data
.
formEnabled
)
.
assertEqual
(
false
);
expect
(
data
.
iconId
)
.
assertLarger
(
0
);
ex
cep
t
(
data
.
labelId
)
.
assertLarger
(
0
);
ex
pec
t
(
data
.
labelId
)
.
assertLarger
(
0
);
expect
(
data
.
subType
)
.
assertEqual
(
0
);
ex
cep
t
(
data
.
enabled
)
.
assertEqual
(
true
);
ex
pec
t
(
data
.
enabled
)
.
assertEqual
(
true
);
expect
(
data
.
readPermission
)
.
assertEqual
(
""
);
expect
(
data
.
writePermission
)
.
assertEqual
(
""
);
expect
(
data
.
targetAbility
)
.
assertEqual
(
""
);
expect
(
data
.
theme
)
.
assertEqual
(
""
);
expect
(
data
.
metaData
)
.
assertEqual
([]
);
expect
(
data
.
metadata
)
.
assertEqual
([]
);
expect
(
data
.
metaData
.
length
)
.
assertEqual
(
0
);
expect
(
data
.
metadata
.
length
)
.
assertEqual
(
0
);
checkApplicationInfo_other
(
data
.
applicationInfo
);
console
.
log
(
"---checkAbilityInfo_other End--- "
);
}
...
...
@@ -321,15 +321,15 @@ export default function GetabilityInfo() {
expect
(
info
.
iconId
>
0
)
.
assertTrue
();
expect
(
info
.
label
)
.
assertEqual
(
"
$string
:app_name"
);
expect
(
info
.
labelId
>
0
)
.
assertTrue
();
expect
(
info
.
systemApp
)
.
assertEqual
(
tru
e
);
expect
(
info
.
entryDir
)
.
assertEqual
(
"/data/app/el1/bundle/public/com.
ohos.acecollaboration/com.ohos.acecollaboration
"
);
expect
(
info
.
systemApp
)
.
assertEqual
(
fals
e
);
expect
(
info
.
entryDir
)
.
assertEqual
(
"/data/app/el1/bundle/public/com.
example.third1/com.example.third1.entry
"
);
expect
(
info
.
supportedModes
)
.
assertEqual
(
0
);
expect
(
info
.
process
)
.
assertEqual
(
""
);
expect
(
info
.
moduleSourceDirs
[
0
])
.
assertEqual
(
"/data/app/el1/bundle/public/com.
ohos.acecollaboration/com.ohos.acecollaboration
"
);
expect
(
info
.
metaData
)
.
expect
({}
);
expect
(
info
.
metadata
)
.
expect
({}
);
expect
(
info
.
enabled
)
.
expect
(
true
);
expect
(
info
.
flags
)
.
expect
(
0
);
expect
(
info
.
moduleSourceDirs
[
0
])
.
assertEqual
(
"/data/app/el1/bundle/public/com.
example.third1/com.example.third1.entry
"
);
expect
(
JSON
.
stringify
(
info
.
metaData
))
.
assertEqual
(
"{}"
);
expect
(
JSON
.
stringify
(
info
.
metadata
))
.
assertEqual
(
"{}"
);
expect
(
info
.
enabled
)
.
assertEqual
(
true
);
expect
(
info
.
flags
)
.
assertEqual
(
0
);
expect
(
info
.
uid
)
.
assertLarger
(
0
);
expect
(
info
.
entityType
)
.
assertEqual
(
"unspecified"
);
expect
(
info
.
removable
)
.
assertEqual
(
true
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录