Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
ac778cfe
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,发现更多精彩内容 >>
提交
ac778cfe
编写于
6月 29, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xts元能力失败用例适配
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
337c369c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
5 deletion
+5
-5
aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets
...c/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets
+4
-4
aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets
...main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets
+1
-1
未找到文件。
aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets
浏览文件 @
ac778cfe
...
...
@@ -210,7 +210,7 @@ export default function getHapModuleInfoJsunit() {
expect
(
data
.
descriptionId
>
0
)
.
assertTrue
();
expect
(
data
.
iconId
>
0
)
.
assertTrue
();
expect
(
data
.
moduleName
)
.
assertEqual
(
"entry"
);
expect
(
data
.
process
)
.
assertEqual
(
""
);
expect
(
data
.
process
)
.
assertEqual
(
"
com.ohos.acecollaboration
"
);
expect
(
data
.
targetAbility
)
.
assertEqual
(
""
);
expect
(
data
.
backgroundModes
)
.
assertEqual
(
0
);
expect
(
data
.
isVisible
)
.
assertEqual
(
true
);
...
...
@@ -283,13 +283,13 @@ export default function getHapModuleInfoJsunit() {
expect
(
typeof
(
info
.
entryDir
))
.
assertEqual
(
"string"
);
expect
(
info
.
name
)
.
assertEqual
(
"com.ohos.acecollaboration"
);
expect
(
info
.
description
)
.
assertEqual
(
"
$string
:mainability_description
"
);
expect
(
info
.
descriptionId
>
0
)
.
assertTrue
(
);
expect
(
info
.
description
)
.
assertEqual
(
""
);
expect
(
info
.
descriptionId
)
.
assertEqual
(
0
);
expect
(
info
.
systemApp
)
.
assertEqual
(
true
);
expect
(
info
.
enabled
)
.
assertEqual
(
true
);
expect
(
info
.
label
)
.
assertEqual
(
"
$string
:entry_MainAbility"
);
expect
(
info
.
icon
)
.
assertEqual
(
"
$media
:icon"
);
expect
(
info
.
process
)
.
assertEqual
(
""
);
expect
(
info
.
process
)
.
assertEqual
(
"
com.ohos.acecollaboration
"
);
expect
(
info
.
supportedModes
)
.
assertEqual
(
0
);
expect
(
info
.
entryDir
)
.
assertEqual
(
"/data/app/el1/bundle/public/"
+
"com.ohos.acecollaboration/com.ohos.acecollaboration"
);
...
...
aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets
浏览文件 @
ac778cfe
...
...
@@ -208,7 +208,7 @@ export default function getHapModuleInfoJsunit() {
expect(data.description).assertEqual("$string:mainability_description");
expect(data.icon).assertEqual("$media:icon");
expect(data.moduleName).assertEqual("entry");
expect(data.process).assertEqual("");
expect(data.process).assertEqual("
com.ohos.acecollaboration
");
expect(data.targetAbility).assertEqual("");
expect(data.backgroundModes).assertEqual(0);
expect(data.isVisible).assertEqual(true);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录