Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
2b34d6e2
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看板
未验证
提交
2b34d6e2
编写于
8月 29, 2023
作者:
O
openharmony_ci
提交者:
Gitee
8月 29, 2023
浏览文件
操作
浏览文件
下载
差异文件
!9935 修复卡片相关ACTS测试失败的问题
Merge pull request !9935 from zhangdw521/new_fix_form_acts
上级
1887ba6a
422dbc37
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
28 addition
and
4 deletion
+28
-4
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets
...quiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets
+4
-0
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/test/FmsAcquireForm2.test.ets
...iretest2/entry/src/main/ets/test/FmsAcquireForm2.test.ets
+2
-0
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets
...deletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets
+3
-0
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/test/FmsDynamicRefreshForm.test.ets
...st/entry/src/main/ets/test/FmsDynamicRefreshForm.test.ets
+3
-0
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/test/FmsHostDeathRecipient.test.ets
...st/entry/src/main/ets/test/FmsHostDeathRecipient.test.ets
+4
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/test/FmsFormStateEnable.test.ets
...nable/entry/src/main/ets/test/FmsFormStateEnable.test.ets
+12
-3
未找到文件。
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -446,6 +446,8 @@ export default function test() {
done
();
});
console
.
info
(
`FMS_acquireForm_1100 featureAbility.startAbility end`
);
await
sleepTime
(
3000
);
done
();
});
/**
...
...
@@ -1246,6 +1248,8 @@ export default function test() {
});
console
.
info
(
`FMS_acquireForm_1900 featureAbility.startAbility end`
);
await
sleepTime
(
3000
);
done
();
});
/**
* @tc.number: FMS_acquireForm_2100
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/test/FmsAcquireForm2.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -318,6 +318,8 @@ export default function test() {
});
console.info(`FMS_acquireForm_4200 featureAbility.startAbility end`);
await sleep(3000);
done();
});
/**
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -925,6 +925,9 @@ export default function test() {
console
.
info
(
`${tcNumber} featureAbility.startAbilityhost error: ${JSON.stringify(err)}`
);
});
console
.
info
(
`${tcNumber} featureAbility.startAbility end`
);
await
sleep
(
3000
);
done
();
});
/**
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/test/FmsDynamicRefreshForm.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -447,6 +447,9 @@ export default function test() {
console.info(`${tcNumber} featureAbility.startAbilityhost error: ${JSON.stringify(err)}`);
});
console.info(`${tcNumber} featureAbility.startAbility end`);
await sleep(3000);
done();
});
});
}
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/test/FmsHostDeathRecipient.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -123,7 +123,10 @@ export default function test() {
createTempAndNormal: true,
subscribeTerminate: true
});
});
await sleep(3000);
done();
});
});
}
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/test/FmsFormStateEnable.test.ets
浏览文件 @
2b34d6e2
...
...
@@ -480,7 +480,7 @@ export default function test() {
function
onFormEnableCallBack
(
_
,
data
)
{
expect
(
data
.
event
)
.
assertEqual
(
"FMS_FormOnState_commonEvent"
);
console
.
debug
(
"====>FMS_enableFormsUpdate_0900 onFormEnableCallBack====>"
+
JSON
.
stringify
(
data
));
console
.
info
(
"====>FMS_enableFormsUpdate_0900 onFormEnableCallBack====>"
+
JSON
.
stringify
(
data
));
expect
(
data
.
parameters
.
formId
)
.
assertEqual
(
formIds
[
0
]);
expect
(
data
.
parameters
.
kind
)
.
assertEqual
(
"enable"
);
commonEvent
.
unsubscribe
(
subscriberOnState
,
()
=>
unsubscribeSupplyCallback
(
"FMS_enableFormsUpdate_0900"
));
...
...
@@ -488,7 +488,7 @@ export default function test() {
async
function
onFormDisableCallBack
(
_
,
data
)
{
expect
(
data
.
event
)
.
assertEqual
(
"FMS_FormOnState_commonEvent"
);
console
.
debug
(
"====>FMS_enableFormsUpdate_0900 onFormDisableCallBack====>"
+
JSON
.
stringify
(
data
));
console
.
info
(
"====>FMS_enableFormsUpdate_0900 onFormDisableCallBack====>"
+
JSON
.
stringify
(
data
));
expect
(
data
.
parameters
.
formId
)
.
assertEqual
(
formIds
[
0
]);
expect
(
data
.
parameters
.
kind
)
.
assertEqual
(
"disable"
);
commonEvent
.
unsubscribe
(
subscriberOnState
,
()
=>
unsubscribeSupplyCallback
(
"FMS_enableFormsUpdate_0900"
));
...
...
@@ -523,7 +523,7 @@ export default function test() {
done
();
});
console
.
log
(
`FMS_enableFormsUpdate_0900 featureAbility.startAbility notifyVisible end`
);
},
1000
0
);
},
1000
);
}
async
function
onAcquiredCallBack
(
_
,
data
)
{
...
...
@@ -584,6 +584,9 @@ export default function test() {
done
();
});
console
.
log
(
`FMS_enableFormsUpdate_0900 featureAbility.startAbility servicea end`
);
await
sleep
(
5000
);
done
();
});
/**
...
...
@@ -731,6 +734,9 @@ export default function test() {
done
();
});
console
.
log
(
`FMS_enableFormsUpdate_1000 featureAbility.startAbility servicea end`
);
await
sleep
(
5000
);
done
();
});
/**
...
...
@@ -933,6 +939,9 @@ export default function test() {
done
();
});
console
.
log
(
`FMS_enableFormsUpdate_1200 featureAbility.startAbility servicea end`
);
await
sleep
(
5000
);
done
();
});
});
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录