Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d956462c
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,发现更多精彩内容 >>
未验证
提交
d956462c
编写于
10月 10, 2022
作者:
O
openharmony_ci
提交者:
Gitee
10月 10, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5593 【FA接口优化】Napi改造form部分接口 xts适配
Merge pull request !5593 from xinking129/master
上级
a2b944fd
e43a6713
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
1 addition
and
9 deletion
+1
-9
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
+1
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
...donetest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
+0
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/test/GetFormsInfo.test.ets
...eandonetest/entry/src/main/ets/test/GetFormsInfo.test.ets
+0
-3
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
...dtwotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
+0
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
...zerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
+0
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
...permtest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
+0
-1
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
...zerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
+0
-1
未找到文件。
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets
浏览文件 @
d956462c
...
...
@@ -1564,7 +1564,7 @@ export default function test() {
function
onCastCallBack
(
_
,
data
)
{
console
.
info
(
"!!!====>FMS_acquireForm_2600 onCastCallBack data:====>"
+
JSON
.
stringify
(
data
));
expect
(
data
.
event
)
.
assertEqual
(
"FMS_FormCast_commonEvent"
);
expect
(
data
.
data
)
.
assertEqual
(
"
undefined
"
);
expect
(
data
.
data
)
.
assertEqual
(
"
0
"
);
commonEvent
.
unsubscribe
(
subscriberCast
,
()
=>
unsubscribeOnCastCallback
(
"FMS_acquireForm_2600"
))
formId1
=
data
.
parameters
.
formId
;
console
.
info
(
"!!!====>FMS_acquireForm_2600 formId1 "
+
formId1
+
" formId2 "
+
formId2
);
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -61,7 +61,6 @@ export const getAllFormsInfoTest = (describeName, filterParameter) => {
tempDataB = dataB[0];
tempDataC = dataC[0];
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
});
await sleep(2000)
checkDataB(tempDataB)
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/test/GetFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -178,7 +178,6 @@ export const getFormsInfoTest = (describeName, filterParameter) => {
expect(dataB.length).assertEqual(1);
tempDataB = dataB[0]
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
console.log(`==========${callbackName2} ${describeName} end==========`);
});
await sleep(2000)
...
...
@@ -400,7 +399,6 @@ export const getFormsInfoTest = (describeName, filterParameter) => {
console.log(`${callbackName6} getFormsInfo data: ${JSON.stringify(data)} error: ${JSON.stringify(error)}`);
expect(JSON.stringify(data)).assertEqual(`[]`);
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
done();
console.log(`==========${callbackName6} ${describeName} end==========`);
});
...
...
@@ -456,7 +454,6 @@ export const getFormsInfoTest = (describeName, filterParameter) => {
expect(data.length).assertEqual(1);
expect(dataC.length).assertEqual(1);
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
console.log(`==========${callbackName7} ${describeName} end==========`);
});
await sleep(2000)
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -62,7 +62,6 @@ export const getAllFormsInfoTest = (describeName, filterParameter) => {
tempDataA2 = dataA[1]
tempDataB = dataB[0]
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
console.log(`==========${callbackName} ${describeName} end==========`);
});
await sleep(2000)
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -58,7 +58,6 @@ export const getAllFormsInfoTest = (describeName, filterParameter) => {
tempDataB = dataB[0]
expect(JSON.stringify(dataD)).assertEqual(`[]`);
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
console.log(`==========${callbackName} ${describeName} end==========`);
});
await sleep(2000)
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -37,7 +37,6 @@ export const getAllFormsInfoTest = (describeName, filterParameter) => {
console.log(`${callbackName} getAllFormsInfo data: ${JSON.stringify(data)} error: ${JSON.stringify(error)}`);
expect(JSON.stringify(data)).assertEqual(`[]`);
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
done();
console.log(`==========${callbackName} ${describeName} end==========`);
});
...
...
ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/test/GetAllFormsInfo.test.ets
浏览文件 @
d956462c
...
...
@@ -44,7 +44,6 @@ export const getAllFormsInfoTest = (describeName, filterParameter) => {
expect(dataD.length).assertEqual(0);
expect(JSON.stringify(dataD)).assertEqual(`[]`);
expect(error.code).assertEqual(ERR_OK_CODE);
expect(error.message).assertEqual(ERR_OK);
done();
console.log(`==========${callbackName} ${describeName} end==========`);
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录