Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
560100d9
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看板
提交
560100d9
编写于
9月 27, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
XTS失败用例适配
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
8d1181a7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
27 addition
and
1 deletion
+27
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets
...est_ets/formfuzztest/entry/src/main/ets/test/getParam.ets
+7
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets
...formstresstest/entry/src/main/ets/test/FmsStress.test.ets
+10
-0
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets
...est/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets
+10
-0
未找到文件。
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets
浏览文件 @
560100d9
...
...
@@ -148,7 +148,13 @@ const functionTest = function () {
const getFuzzData = (datatype: string) => {
switch (datatype) {
case 'ARRAY':
return arrayTest();
let array1 = arrayTest();
let array2 = abc.join("")
if (isNaN(Number(array2))) {
return array1;
} else {
getFuzzData(DATA_TYPE_LIST[0]);
}
case 'BOOLEAN':
return booleanTest();
case 'FUNCTION':
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets
浏览文件 @
560100d9
...
...
@@ -69,6 +69,16 @@ export default function test() {
commonEvent.unsubscribe(onAcquiredEventSubscriber, () => unsubscribeCallback("afterEach unsubscribe onAcquiredEventSubscriber"));
commonEvent.unsubscribe(onSupplyEventSubscriber, () => unsubscribeCallback("afterEach unsubscribe onSupplyEventSubscriber"));
await sleep(1000);
await featureAbility.startAbility({
want: {
bundleName: "com.ohos.st.formstresstest",
abilityName: "com.ohos.st.formstresstest.MainAbility"
}
}).then((data) => {
console.log("FmsStressTest startAbility data: " + JSON.stringify(data));
}).catch((err) => {
console.log("FmsStressTest startAbility err: " + JSON.stringify(err));
})
})
const subscribeDeletedEvent = (tcNumber, expectedDeletedFormAmount, done) => {
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets
浏览文件 @
560100d9
...
...
@@ -66,6 +66,16 @@ export default function test() {
commonEvent.unsubscribe(subscriberOnRefresh, () => unsubscribeCallback("afterEach unsubscribe subscriberOnRefresh"));
commonEvent.unsubscribe(subscriberOnRequest, () => unsubscribeCallback("afterEach unsubscribe subscriberOnRequest"));
await sleep(1000);
await featureAbility.startAbility({
want: {
bundleName: "com.ohos.st.formupdaterefreshtest",
abilityName: "com.ohos.st.formupdaterefreshtest.MainAbility"
}
}).then((data) => {
console.log("FmsUpdateRefreshFormTest startAbility data: " + JSON.stringify(data));
}).catch((err) => {
console.log("FmsUpdateRefreshFormTest startAbility err: " + JSON.stringify(err));
})
})
/**
* @tc.number: FMS_updateForm_0100
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录