Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
02aabbab
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看板
未验证
提交
02aabbab
编写于
6月 17, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 17, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3568 XTS测试套整改
Merge pull request !3568 from chengxingzhen/master
上级
34cadf65
1288fe26
变更
133
隐藏空白更改
内联
并排
Showing
133 changed file
with
176 addition
and
686 deletion
+176
-686
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/entry/src/main/ets/pages/index.ets
...ilitymultiinstancetest/entry/src/main/ets/pages/index.ets
+1
-1
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/entry/src/main/ets/pages/index/index.ets
...ultiinstancetest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/config.json
...abilitymanageretstest/myapplication1/src/main/config.json
+0
-62
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/app.ets
...eretstest/myapplication1/src/main/ets/MainAbility/app.ets
+0
-23
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets
...t/myapplication1/src/main/ets/MainAbility/pages/index.ets
+0
-49
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/List.test.ets
...yapplication1/src/main/ets/MainAbility/test/List.test.ets
+0
-21
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/Utils.ets
...st/myapplication1/src/main/ets/MainAbility/test/Utils.ets
+0
-42
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/getHapModuleInfoJsunit_app1.test.ets
...ets/MainAbility/test/getHapModuleInfoJsunit_app1.test.ets
+0
-301
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/resources/base/element/string.json
...yapplication1/src/main/resources/base/element/string.json
+0
-12
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/resources/base/media/icon.png
...est/myapplication1/src/main/resources/base/media/icon.png
+0
-0
aafwk/aafwk_standard/actscalltest/systemcallentrytest/entry/src/main/ets/pages/index/index.ets
...temcallentrytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actscalltest/thirdcalltest/entry/src/main/ets/pages/index/index.ets
...st/thirdcalltest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserActionExtension_100/entry/src/main/ets/pages/index/index.ets
...ionExtension_100/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserActionExtension_101/entry/src/main/ets/pages/index/index.ets
...ionExtension_101/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserAction_100/entry/src/main/ets/pages/index/index.ets
...edUserAction_100/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserAction_101/entry/src/main/ets/pages/index/index.ets
...edUserAction_101/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsusers/ActsAmsUsersExtensionSystemTest/entry/src/main/ets/pages/index/index.ets
...ensionSystemTest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsusers/ActsAmsUsersSystemTest/entry/src/main/ets/pages/index/index.ets
...sUsersSystemTest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsusers/actsconnectabilitysystemabilitytest/entry/src/main/ets/pages/index/index.ets
...ystemabilitytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsusers/actsextensionconnectabilitytest/entry/src/main/ets/pages/index/index.ets
...nnectabilitytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/actsusers/actsserviceabilityrelytest/entry/src/main/ets/pages/index/index.ets
...eabilityrelytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/pages/index/index.ets
...stagecontexttest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/pages/index/index.ets
...xtensioninfotest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/pages/index/index.ets
...omationquerytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinformationmultipletest/entry/src/main/ets/pages/index/index.ets
...tionmultipletest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinformationmultitest/entry/src/main/ets/pages/index/index.ets
...rmationmultitest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticquerytesttwohap/entry/src/main/ets/pages/index/index.ets
...cquerytesttwohap/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/ets/pages/index/index.ets
...ityforresulttest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/ets/pages/index/index.ets
...startabilitytest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/BUILD.gn
aafwk/aafwk_standard/formmanager/fa/BUILD.gn
+19
-19
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemprovidera/entry/src/main/ets/MainAbility/pages/index.ets
...mprovidera/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderb/entry/src/main/ets/MainAbility/pages/index.ets
...mproviderb/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderc/entry/src/main/ets/MainAbility/pages/index.ets
...mproviderc/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderd/entry/src/main/ets/MainAbility/pages/index.ets
...mproviderd/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/BUILD.gn
...ormmanager/fa/formsystemtest_ets/formacquiretest/BUILD.gn
+2
-2
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/Test.json
...rmmanager/fa/formsystemtest_ets/formacquiretest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/MainAbility/pages/index.ets
...cquiretest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/MainAbility/test/FmsAcquireForm.test.ets
...try/src/main/ets/MainAbility/test/FmsAcquireForm.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/BUILD.gn
...rmmanager/fa/formsystemtest_ets/formacquiretest2/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/Test.json
...mmanager/fa/formsystemtest_ets/formacquiretest2/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/MainAbility/pages/index.ets
...quiretest2/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/MainAbility/test/FmsAcquireForm2.test.ets
...ry/src/main/ets/MainAbility/test/FmsAcquireForm2.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/BUILD.gn
...formmanager/fa/formsystemtest_ets/formdeletetest/BUILD.gn
+2
-2
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/Test.json
...ormmanager/fa/formsystemtest_ets/formdeletetest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/MainAbility/pages/index.ets
...deletetest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/MainAbility/test/FmsDeleteForm.test.ets
...ntry/src/main/ets/MainAbility/test/FmsDeleteForm.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/BUILD.gn
...ger/fa/formsystemtest_ets/formdynamicrefreshtest/BUILD.gn
+2
-2
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/Test.json
...er/fa/formsystemtest_ets/formdynamicrefreshtest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/MainAbility/pages/index.ets
...efreshtest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/MainAbility/test/FmsDynamicRefreshForm.test.ets
.../main/ets/MainAbility/test/FmsDynamicRefreshForm.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/Test.json
.../formmanager/fa/formsystemtest_ets/formfuzztest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/pages/index.ets
...rmfuzztest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/CastTempFormFuzz.test.ets
...y/src/main/ets/MainAbility/test/CastTempFormFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/DeleteFormFuzz.test.ets
...try/src/main/ets/MainAbility/test/DeleteFormFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/DisableFormsUpdateFuzz.test.ets
...main/ets/MainAbility/test/DisableFormsUpdateFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/EnableFormsUpdateFuzz.test.ets
.../main/ets/MainAbility/test/EnableFormsUpdateFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/GetFormsInfoFuzz.test.ets
...y/src/main/ets/MainAbility/test/GetFormsInfoFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/NotifyInvisibleFormsFuzz.test.ets
...in/ets/MainAbility/test/NotifyInvisibleFormsFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/NotifyVisibleFormsFuzz.test.ets
...main/ets/MainAbility/test/NotifyVisibleFormsFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/ReleaseFormFuzz.test.ets
...ry/src/main/ets/MainAbility/test/ReleaseFormFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/RequestFormFuzz.test.ets
...ry/src/main/ets/MainAbility/test/RequestFormFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/SetFormNextRefreshTimeFuzz.test.ets
.../ets/MainAbility/test/SetFormNextRefreshTimeFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/UpdateFormFuzz.test.ets
...try/src/main/ets/MainAbility/test/UpdateFormFuzz.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn
...test_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/Test.json
...est_ets/formgetformsinfotest/formsoneandonetest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/pages/index.ets
...andonetest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
...ry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
...entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn
...test_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/Test.json
...est_ets/formgetformsinfotest/formsoneandtwotest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/MainAbility/pages/index.ets
...andtwotest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
...ry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn
...est_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/Test.json
...st_ets/formgetformsinfotest/formsoneandzerotest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/MainAbility/pages/index.ets
...ndzerotest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
...ry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn
...st_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/Test.json
...t_ets/formgetformsinfotest/formswithoutpermtest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/pages/index.ets
...utpermtest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
...ry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
...entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn
...ystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/Test.json
...stemtest_ets/formgetformsinfotest/formszerotest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/MainAbility/pages/index.ets
...mszerotest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
...ry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/BUILD.gn
...fa/formsystemtest_ets/formhostdeathrecipienttest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/Test.json
...a/formsystemtest_ets/formhostdeathrecipienttest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/MainAbility/pages/index.ets
...ipienttest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/MainAbility/test/FmsHostDeathRecipient.test.ets
.../main/ets/MainAbility/test/FmsHostDeathRecipient.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/BUILD.gn
...anager/fa/formsystemtest_ets/formperformancetest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/Test.json
...nager/fa/formsystemtest_ets/formperformancetest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/entry/src/main/ets/MainAbility/pages/index.ets
...rmancetest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/entry/src/main/ets/MainAbility/test/FmsPerformanceTest.test.ets
...src/main/ets/MainAbility/test/FmsPerformanceTest.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/BUILD.gn
...ormmanager/fa/formsystemtest_ets/formreleasetest/BUILD.gn
+2
-2
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/Test.json
...rmmanager/fa/formsystemtest_ets/formreleasetest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/entry/src/main/ets/MainAbility/pages/index.ets
...eleasetest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/entry/src/main/ets/MainAbility/test/FmsReleaseForm.test.ets
...try/src/main/ets/MainAbility/test/FmsReleaseForm.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/BUILD.gn
...ager/fa/formsystemtest_ets/formstatetest_disable/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/Test.json
...ger/fa/formsystemtest_ets/formstatetest_disable/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/pages/index.ets
...st_disable/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/test/FmsFormStateDisable.test.ets
...rc/main/ets/MainAbility/test/FmsFormStateDisable.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/BUILD.gn
...nager/fa/formsystemtest_ets/formstatetest_enable/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/Test.json
...ager/fa/formsystemtest_ets/formstatetest_enable/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/pages/index.ets
...est_enable/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/test/FmsFormStateEnable.test.ets
...src/main/ets/MainAbility/test/FmsFormStateEnable.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/BUILD.gn
...formsystemtest_ets/formstatetest_notifyinvisible/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/Test.json
...ormsystemtest_ets/formstatetest_notifyinvisible/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/pages/index.ets
...yinvisible/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyInvisible.test.ets
...ets/MainAbility/test/FmsFormStateNotifyInvisible.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/BUILD.gn
...ormsystemtest_ets/formstatetest_notifyinvisible2/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/Test.json
...rmsystemtest_ets/formstatetest_notifyinvisible2/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/pages/index.ets
...invisible2/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyInvisible2.test.ets
...ts/MainAbility/test/FmsFormStateNotifyInvisible2.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/BUILD.gn
...a/formsystemtest_ets/formstatetest_notifyvisible/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/Test.json
.../formsystemtest_ets/formstatetest_notifyvisible/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/pages/index.ets
...ifyvisible/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyVisible.test.ets
...n/ets/MainAbility/test/FmsFormStateNotifyVisible.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/BUILD.gn
...formmanager/fa/formsystemtest_ets/formstresstest/BUILD.gn
+3
-3
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/Test.json
...ormmanager/fa/formsystemtest_ets/formstresstest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/MainAbility/pages/index.ets
...stresstest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/MainAbility/test/FmsStress.test.ets
...st/entry/src/main/ets/MainAbility/test/FmsStress.test.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/BUILD.gn
...anager/fa/formsystemtest_ets/formupdatefreshtest/BUILD.gn
+2
-2
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/Test.json
...nager/fa/formsystemtest_ets/formupdatefreshtest/Test.json
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/MainAbility/pages/index.ets
...efreshtest/entry/src/main/ets/MainAbility/pages/index.ets
+1
-1
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/MainAbility/test/FmsUpdateRefreshForm.test.ets
...c/main/ets/MainAbility/test/FmsUpdateRefreshForm.test.ets
+1
-1
aafwk/aafwk_standard/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/ets/pages/index/index.ets
...sWithAccountTest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/newwant/actsnewwantrelyhap/entry/src/main/ets/pages/index/index.ets
...tsnewwantrelyhap/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/newwant/actsnewwanttest/entry/src/main/ets/pages/index/index.ets
.../actsnewwanttest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/non_concurrent/acts_systemappa_test/entry/src/main/ets/pages/index/index.ets
..._systemappa_test/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/processmultiinstance/actsamsprocessmultiinstancetest/entry/src/main/ets/pages/index/index.ets
...ultiinstancetest/entry/src/main/ets/pages/index/index.ets
+1
-1
aafwk/aafwk_standard/stage/actslifecyclemultihaptest/entry/src/main/ets/pages/MainAbility_pages.ets
...ltihaptest/entry/src/main/ets/pages/MainAbility_pages.ets
+1
-1
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/entry/src/main/ets/pages/index.ets
.../actsamszidlclienttest/entry/src/main/ets/pages/index.ets
+1
-1
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/entry/src/main/ets/pages/index/index.ets
...mszidlclienttest/entry/src/main/ets/pages/index/index.ets
+1
-1
未找到文件。
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/entry/src/main/ets/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/config.json
已删除
100644 → 0
浏览文件 @
34cadf65
{
"app"
:
{
"bundleName"
:
"com.ohos.acecollaboration"
,
"vendor"
:
"example"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
},
"apiVersion"
:
{
"compatible"
:
7
,
"releaseType"
:
"Release"
,
"target"
:
7
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.example.myapplication1"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
".MainAbility"
,
"srcPath"
:
""
,
"deviceType"
:
[
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"myapplication1"
,
"moduleType"
:
"feature"
,
"installationFree"
:
false
},
"abilities"
:
[
{
"orientation"
:
"unspecified"
,
"visible"
:
true
,
"srcPath"
:
"MainAbility"
,
"name"
:
".MainAbility"
,
"srcLanguage"
:
"ets"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:description_mainability"
,
"formsEnabled"
:
false
,
"label"
:
"$string:myapplication1_MainAbility"
,
"type"
:
"page"
,
"launchType"
:
"standard"
}
],
"js"
:
[
{
"mode"
:
{
"syntax"
:
"ets"
,
"type"
:
"pageAbility"
},
"pages"
:
[
"pages/index"
],
"name"
:
".MainAbility"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
false
}
}
]
}
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/app.ets
已删除
100644 → 0
浏览文件 @
34cadf65
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default {
onCreate() {
console.info('Application onCreate')
},
onDestroy() {
console.info('Application onDestroy')
},
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets
已删除
100644 → 0
浏览文件 @
34cadf65
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets";
import testsuite_app1 from "../test/List.test.ets";
import featureAbility from "@ohos.ability.featureAbility";
@Entry
@Component
struct Index {
aboutToAppear() {
console.info("start run testcase!!!!")
const core = Core.getInstance();
const expectExtend = new ExpectExtend({
'id': 'extend'
});
core.addService('expect', expectExtend);
const reportExtend = new ReportExtend(file);
core.addService('report', reportExtend);
core.init();
core.subscribeEvent('task', reportExtend);
const configService = core.getDefaultService('config');
configService.setConfig(this)
testsuite_app1();
core.execute();
}
build() {
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) {
Text('myapplication1 page')
.fontSize(50)
.fontWeight(FontWeight.Bold)
}
.width('100%')
.height('100%')
}
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/List.test.ets
已删除
100644 → 0
浏览文件 @
34cadf65
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import getHapModuleInfoJsunit_app1 from './getHapModuleInfoJsunit_app1.test.ets';
export default function testsuite_app1() {
getHapModuleInfoJsunit_app1();
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/Utils.ets
已删除
100644 → 0
浏览文件 @
34cadf65
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default class Utils {
static sleep(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(reject)
}, time)
}).then(() => {
console.info(`sleep ${time} over...`)
})
}
static getNowTime() {
return new Date().getTime();
}
static getDurationTime(msg,startTime, endTime) {
console.info(msg+'Get Interface startTime: ' + startTime);
console.info(msg+'Get Interface endTime: ' + endTime);
var duration = (endTime - startTime)
console.info(msg+'Get Interface Duration: ' + duration);
return duration;
}
}
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/test/getHapModuleInfoJsunit_app1.test.ets
已删除
100644 → 0
浏览文件 @
34cadf65
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {describe, it, expect} from "deccjsunit/index.ets";
import Utils from './Utils';
import ability_featureAbility from '@ohos.ability.featureAbility';
export default function getHapModuleInfoJsunit() {
describe('appInfoTest', function () {
/**
* @tc.number: context_getHapModuleInfo_test_0300
* @tc.name: getHapModuleInfo:Obtains the HapModuleInfo object of the application.
* @tc.desc: Check the return type of the interface (by Promise)
* @tc.level 0
*/
it('context_getHapModuleInfo_test_0300', 0, async function (done) {
console.info('[context_getHapModuleInfo_test_0300] START');
await Utils.sleep(1000);
var timeOldStamp = await Utils.getNowTime();
var context = ability_featureAbility.getContext();
context.getHapModuleInfo()
.then((data) => {
var timeNewStamp = Utils.getNowTime();
Utils.getDurationTime('context_getHapModuleInfo_test_0300', timeOldStamp, timeNewStamp);
console.info('[context_getHapModuleInfo_test_0300] data is:' + JSON.stringify(data));
expect(typeof (data)).assertEqual("object");
})
.catch((error) => {
console.error('[context_getHapModuleInfo_test_0300] failed:' + JSON.stringify(error));
})
var promise = await context.getHapModuleInfo();
console.info('---[context_getHapModuleInfo_test_0300] check---');
checkHapModuleInfo_app('context_getHapModuleInfo_test_0300', promise);
console.info('[context_getHapModuleInfo_test_0300] FINISH');
done();
});
function checkHapModuleInfo_app(msg, data) {
console.log(msg + "checkHapModuleInfo start " + JSON.stringify(data));
console.log(msg + "checkHapModuleInfo name : " + data.name);
console.log(msg + "checkHapModuleInfo description : " + data.description);
console.log(msg + "checkHapModuleInfo descriptionId : " + data.descriptionId);
console.log(msg + "checkHapModuleInfo icon : " + data.icon);
console.log(msg + "checkHapModuleInfo label : " + data.label);
console.log(msg + "checkHapModuleInfo labelId : " + data.labelId);
console.log(msg + "checkHapModuleInfo iconId : " + data.iconId);
console.log(msg + "checkHapModuleInfo backgroundImg : " + data.backgroundImg);
console.log(msg + "checkHapModuleInfo supportedModes : " + data.supportedModes);
console.log(msg + "checkHapModuleInfo reqCapabilities length : " + data.reqCapabilities.length);
for (var j = 0; j < data.reqCapabilities.length; j++) {
console.log(msg + "getHapModuleInfo data.reqCapabilities[" + j + "] : " + data.reqCapabilities[j]);
}
console.log(msg + "checkHapModuleInfo deviceTypes length : " + data.deviceTypes.length);
for (var k = 0; k < data.deviceTypes.length; k++) {
console.log(msg + "getHapModuleInfo data.deviceTypes[" + k + "] : " + data.deviceTypes[k]);
}
console.log(msg + "checkHapModuleInfo abilityInfos length : " + data.abilityInfos.length);
console.log(msg + "checkHapModuleInfo moduleName : " + data.moduleName);
console.log(msg + "checkHapModuleInfo mainAbilityName : " + data.mainAbilityName);
console.log(msg + "checkHapModuleInfo installationFree : " + data.installationFree);
expect(typeof (data)).assertEqual("object");
expect(typeof (data.name)).assertEqual("string");
expect(typeof (data.description)).assertEqual("string");
expect(typeof (data.descriptionId)).assertEqual("number");
expect(typeof (data.icon)).assertEqual("string");
expect(typeof (data.label)).assertEqual("string");
expect(typeof (data.labelId)).assertEqual("number");
expect(typeof (data.iconId)).assertEqual("number");
expect(typeof (data.backgroundImg)).assertEqual("string");
expect(typeof (data.supportedModes)).assertEqual("number");
expect(Array.isArray(data.reqCapabilities)).assertEqual(true);
expect(Array.isArray(data.deviceTypes)).assertEqual(true);
expect(Array.isArray(data.abilityInfos)).assertEqual(true);
expect(typeof (data.moduleName)).assertEqual("string");
expect(typeof (data.mainAbilityName)).assertEqual("string");
expect(typeof (data.installationFree)).assertEqual("boolean");
expect(data.name).assertEqual("com.example.myapplication1");
expect(data.description).assertEqual("");
expect(data.descriptionId).assertEqual(0);
expect(data.icon).assertEqual("$media:icon");
expect(data.label).assertEqual("$string:myapplication1_MainAbility");
expect(data.labelId).assertEqual(0);
expect(data.iconId).assertEqual(0);
expect(data.backgroundImg).assertEqual("");
expect(data.supportedModes).assertEqual(0);
expect(data.deviceTypes[0]).assertEqual("phone");
checkAbilityInfo(msg,data.abilityInfos[0]);
expect(data.moduleName).assertEqual("myapplication1")
expect(data.mainAbilityName).assertEqual("");
expect(data.installationFree).assertEqual(false);
console.log(msg + "---checkHapModuleInfo End---");
}
function checkAbilityInfo(msg,data) {
console.log(msg+ "checkAbilityInfo start " + JSON.stringify(data));
console.log(msg+ "checkAbilityInfo bundleName : " + data.bundleName);
console.log(msg+ "checkAbilityInfo name : " + data.name);
console.log(msg+ "checkAbilityInfo label : " + data.label);
console.log(msg+ "checkAbilityInfo description : " + data.description);
console.log(msg+ "checkAbilityInfo icon : " + data.icon);
console.log(msg+ "checkAbilityInfo descriptionId : " + data.descriptionId);
console.log(msg+ "checkAbilityInfo iconId : " + data.iconId);
console.log(msg+ "checkAbilityInfo moduleName : " + data.moduleName);
console.log(msg+ "checkAbilityInfo process : " + data.process);
console.log(msg+ "checkAbilityInfo targetAbility : " + data.targetAbility);
console.log(msg+ "checkAbilityInfo backgroundModes : " + data.backgroundModes);
console.log(msg+ "checkAbilityInfo isVisible : " + data.isVisible);
console.log(msg+ "checkAbilityInfo formEnabled : " + data.formEnabled);
console.log(msg+ "checkAbilityInfo type : " + data.type)
console.log(msg+ "checkAbilityInfo orientation : " + data.orientation);
console.log(msg+ "checkAbilityInfo launchMode : " + data.launchMode);
console.log(msg+ "checkAbilityInfo permissions length : " + data.permissions.length);
for (var j = 0; j < data.permissions.length; j++) {
console.log(msg+ "getAbilityInfo data.permissions[" + j + "] : " + data.permissions[j]);
}
console.log(msg+ "checkAbilityInfo deviceTypes length : " + data.deviceTypes.length);
for (var k = 0; k < data.deviceTypes.length; k++) {
console.log(msg+ "getAbilityInfo data.deviceTypes[" + k + "] : " + data.deviceTypes[k]);
}
console.log(msg+ "checkAbilityInfo deviceCapabilities length : " + data.deviceCapabilities.length);
for (var i = 0; i < data.deviceCapabilities.length; i++) {
console.log(msg+ "getAbilityInfo data.deviceCapabilities[" + i + "] : " + data.deviceCapabilities[i]);
}
console.log(msg+ "checkAbilityInfo readPermission : " + data.readPermission);
console.log(msg+ "checkAbilityInfo writePermission : " + data.writePermission);
console.log(msg+ "checkAbilityInfo formEntity : " + data.formEntity);
console.log(msg+ "checkAbilityInfo minFormHeight : " + data.minFormHeight);
console.log(msg+ "checkAbilityInfo defaultFormHeight : " + data.defaultFormHeight);
console.log(msg+ "checkAbilityInfo minFormWidth : " + data.minFormWidth);
console.log(msg+ "checkAbilityInfo defaultFormWidth : " + data.defaultFormWidth);
console.log(msg+ "checkAbilityInfo uri : " + data.uri);
console.log(msg+ "checkAbilityInfo labelId : " + data.labelId);
console.log(msg+ "checkAbilityInfo subType : " + data.subType);
expect(typeof (data)).assertEqual("object");
expect(typeof (data.bundleName)).assertEqual("string");
expect(typeof (data.name)).assertEqual("string");
expect(typeof (data.label)).assertEqual("string");
expect(typeof (data.description)).assertEqual("string");
expect(typeof (data.icon)).assertEqual("string");
expect(typeof (data.labelId)).assertEqual("number");
expect(typeof (data.descriptionId)).assertEqual("number");
expect(typeof (data.iconId)).assertEqual("number");
expect(typeof (data.moduleName)).assertEqual("string");
expect(typeof (data.process)).assertEqual("string");
expect(typeof (data.targetAbility)).assertEqual("string");
expect(typeof (data.backgroundModes)).assertEqual("number");
expect(typeof (data.isVisible)).assertEqual("boolean");
expect(typeof (data.formEnabled)).assertEqual("boolean");
expect(typeof (data.type)).assertEqual("number");
expect(typeof (data.subType)).assertEqual("number");
expect(typeof (data.orientation)).assertEqual("number");
expect(typeof (data.launchMode)).assertEqual("number");
expect(Array.isArray(data.permissions)).assertEqual(true);
expect(Array.isArray(data.deviceTypes)).assertEqual(true);
expect(Array.isArray(data.deviceCapabilities)).assertEqual(true);
expect(typeof (data.readPermission)).assertEqual("string");
expect(typeof (data.writePermission)).assertEqual("string");
expect(typeof (data.applicationInfo)).assertEqual("object");
expect(typeof (data.formEntity)).assertEqual("number");
expect(typeof (data.minFormHeight)).assertEqual("number");
expect(typeof (data.defaultFormHeight)).assertEqual("number");
expect(typeof (data.minFormWidth)).assertEqual("number");
expect(typeof (data.defaultFormWidth)).assertEqual("number");
expect(typeof (data.uri)).assertEqual("string");
expect(data.bundleName).assertEqual("com.ohos.acecollaboration");
expect(data.name).assertEqual("com.example.myapplication1.MainAbility");
expect(data.label).assertEqual("$string:myapplication1_MainAbility");
expect(data.description).assertEqual("$string:description_mainability");
expect(data.icon).assertEqual("$media:icon");
expect(data.descriptionId > 0).assertTrue();
expect(data.iconId > 0).assertTrue();
expect(data.moduleName).assertEqual("myapplication1");
expect(data.process).assertEqual("");
expect(data.targetAbility).assertEqual("");
expect(data.backgroundModes).assertEqual(0);
expect(data.isVisible).assertEqual(true);
expect(data.formEnabled).assertEqual(false);
expect(data.type).assertEqual(1);
expect(data.orientation).assertEqual(0);
expect(data.launchMode).assertEqual(1);
expect(data.deviceTypes[0]).assertEqual("phone");
expect(data.readPermission).assertEqual("");
expect(data.writePermission).assertEqual("");
checkApplicationInfo(msg,data.applicationInfo);
expect(data.formEntity).assertEqual(0);
expect(data.minFormHeight).assertEqual(0);
expect(data.defaultFormHeight).assertEqual(0);
expect(data.minFormWidth).assertEqual(0);
expect(data.defaultFormWidth).assertEqual(0);
expect(data.uri).assertEqual("");
expect(data.labelId > 0).assertTrue();
expect(data.subType).assertEqual(0);
console.log(msg+ "---checkAbilityInfo End--- ");
}
function checkApplicationInfo(msg,info) {
console.log(msg+ "checkApplicationInfo start : " + JSON.stringify(info));
console.log(msg+ "checkApplicationInfo name : " + info.name);
console.log(msg+ "checkApplicationInfo description : " + info.description);
console.log(msg+ "checkApplicationInfo descriptionId : " + info.descriptionId);
console.log(msg+ "checkApplicationInfo systemApp : " + info.systemApp);
console.log(msg+ "checkApplicationInfo enabled : " + info.enabled);
console.log(msg+ "checkApplicationInfo label : " + info.label);
console.log(msg+ "checkApplicationInfo labelId : " + info.labelId);
console.log(msg+ "checkApplicationInfo icon : " + info.icon);
console.log(msg+ "checkApplicationInfo iconId : " + info.iconId);
console.log(msg+ "checkApplicationInfo process : " + info.process);
console.log(msg+ "checkApplicationInfo supportedModes : " + info.supportedModes);
console.log(msg+ "checkApplicationInfo moduleSourceDirs length : " + info.moduleSourceDirs.length);
for (var j = 0; j < info.moduleSourceDirs.length; j++) {
console.log(msg+ "checkApplicationInfo info.moduleSourceDirs[" + j + "] : " + info.moduleSourceDirs[j]);
}
console.log(msg+ "checkApplicationInfo permissions length : " + info.permissions.length);
for (var k = 0; k < info.permissions.length; k++) {
console.log(msg+ "checkApplicationInfo info.permissions[" + k + "] : " + info.permissions[k]);
}
console.log(msg+ "checkApplicationInfo moduleInfos length : " + info.moduleInfos.length);
for (var i = 0; i < info.moduleInfos.length; i++) {
console.log(msg+ "checkApplicationInfo info.moduleInfos[" + i + "].moduleName : " + info.moduleInfos[i].moduleName);
console.log(msg+ "checkApplicationInfo info.moduleInfos[" + i + "].moduleSourceDir : " + info.moduleInfos[i].moduleSourceDir);
}
console.log(msg+ "checkApplicationInfo entryDir : " + info.entryDir);
expect(typeof (info)).assertEqual("object");
expect(typeof (info.name)).assertEqual("string");
expect(typeof (info.description)).assertEqual("string");
expect(typeof (info.descriptionId)).assertEqual("number");
expect(typeof (info.systemApp)).assertEqual("boolean");
expect(typeof (info.enabled)).assertEqual("boolean");
expect(typeof (info.label)).assertEqual("string");
expect(typeof (info.labelId)).assertEqual("string");
expect(typeof (info.icon)).assertEqual("string");
expect(typeof (info.iconId)).assertEqual("string");
expect(typeof (info.process)).assertEqual("string");
expect(typeof (info.supportedModes)).assertEqual("number");
expect(Array.isArray(info.moduleSourceDirs)).assertEqual(true);
expect(Array.isArray(info.permissions)).assertEqual(true);
expect(Array.isArray(info.moduleInfos)).assertEqual(true);
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.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.supportedModes).assertEqual(0);
if (info.moduleSourceDirs.length == 1){
expect(info.moduleInfos[0].moduleName).assertEqual("entry");
expect(info.moduleInfos[0].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.ohos.acecollaboration");
}else if(info.moduleSourceDirs.length == 2) {
if (info.moduleInfos[0].moduleName == "myapplication1") {
expect(info.moduleInfos[0].moduleName).assertEqual("myapplication1");
expect(info.moduleInfos[0].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.example.myapplication1");
expect(info.moduleInfos[1].moduleName).assertEqual("entry");
expect(info.moduleInfos[1].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.ohos.acecollaboration");
}else{
expect(info.moduleInfos[0].moduleName).assertEqual("myapplication2");
expect(info.moduleInfos[0].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.example.myapplication2");
expect(info.moduleInfos[1].moduleName).assertEqual("entry");
expect(info.moduleInfos[1].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.ohos.acecollaboration");
}
}else {
expect(info.moduleInfos[0].moduleName).assertEqual("myapplication1");
expect(info.moduleInfos[0].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.example.myapplication1");
expect(info.moduleInfos[1].moduleName).assertEqual("myapplication2");
expect(info.moduleInfos[1].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.example.myapplication2");
expect(info.moduleInfos[2].moduleName).assertEqual("entry");
expect(info.moduleInfos[2].moduleSourceDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.ohos.acecollaboration");
}
expect(info.entryDir).assertEqual("/data/app/el1/bundle/public/" +
"com.ohos.acecollaboration/com.ohos.acecollaboration");
console.log(msg+ "---checkApplicationInfo End--- ");
}
})
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/resources/base/element/string.json
已删除
100644 → 0
浏览文件 @
34cadf65
{
"string"
:
[
{
"name"
:
"myapplication1_MainAbility"
,
"value"
:
"myapplication1_MainAbility"
},
{
"name"
:
"description_mainability"
,
"value"
:
"eTS_Empty Ability"
}
]
}
\ No newline at end of file
aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/resources/base/media/icon.png
已删除
100644 → 0
浏览文件 @
34cadf65
6.6 KB
aafwk/aafwk_standard/actscalltest/systemcallentrytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/actscalltest/thirdcalltest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserActionExtension_100/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserActionExtension_101/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserAction_100/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsstartcomponenttest/SpecifiedUserAction_101/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsusers/ActsAmsUsersExtensionSystemTest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsusers/ActsAmsUsersSystemTest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/actsusers/actsconnectabilitysystemabilitytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/actsusers/actsextensionconnectabilitytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/actsusers/actsserviceabilityrelytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
@Entry
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticextensioninfotest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinformationmultipletest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticinformationmultitest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticquerytesttwohap/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
@Entry
...
...
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
var testTime = 0;
...
...
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/formmanager/fa/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -45,26 +45,26 @@ group("formmanager") {
"formproviderst_ets/formsystemproviderb:FormSystemProviderB",
"formproviderst_ets/formsystemproviderc:FormSystemProviderC",
"formproviderst_ets/formsystemproviderd:FormSystemProviderD",
"formsystemtest_ets/formacquiretest:FormAcquireTest",
"formsystemtest_ets/formacquiretest2:FormAcquireTest2",
"formsystemtest_ets/formdeletetest:FormDeleteTest",
"formsystemtest_ets/formdynamicrefreshtest:FormDynamicRefreshTest",
"formsystemtest_ets/formacquiretest:
Acts
FormAcquireTest",
"formsystemtest_ets/formacquiretest2:
Acts
FormAcquireTest2",
"formsystemtest_ets/formdeletetest:
Acts
FormDeleteTest",
"formsystemtest_ets/formdynamicrefreshtest:
Acts
FormDynamicRefreshTest",
"formsystemtest_ets/formfuzztest:ActsFormFuzzTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandonetest:FormsOneAndOneTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandtwotest:FormsOneAndTwoTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandzerotest:FormsOneAndZeroTest",
"formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:FormsWithoutPermTest",
"formsystemtest_ets/formgetformsinfotest/formszerotest:FormsZeroTest",
"formsystemtest_ets/formhostdeathrecipienttest:FormHostDeathRecipientTest",
"formsystemtest_ets/formperformancetest:FormPerformanceTest",
"formsystemtest_ets/formreleasetest:FormReleaseTest",
"formsystemtest_ets/formstatetest_disable:FormStateDisableTest",
"formsystemtest_ets/formstatetest_enable:FormStateEnableTest",
"formsystemtest_ets/formstatetest_notifyinvisible:FormStateNotifyInvisibleTest",
"formsystemtest_ets/formstatetest_notifyinvisible2:FormStateNotifyInvisibleTest2",
"formsystemtest_ets/formstatetest_notifyvisible:FormStateNotifyVisibleTest",
"formsystemtest_ets/formstresstest:FormStressTest",
"formsystemtest_ets/formupdatefreshtest:FormUpdateRefreshTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandonetest:
Acts
FormsOneAndOneTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandtwotest:
Acts
FormsOneAndTwoTest",
"formsystemtest_ets/formgetformsinfotest/formsoneandzerotest:
Acts
FormsOneAndZeroTest",
"formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:
Acts
FormsWithoutPermTest",
"formsystemtest_ets/formgetformsinfotest/formszerotest:
Acts
FormsZeroTest",
"formsystemtest_ets/formhostdeathrecipienttest:
Acts
FormHostDeathRecipientTest",
"formsystemtest_ets/formperformancetest:
Acts
FormPerformanceTest",
"formsystemtest_ets/formreleasetest:
Acts
FormReleaseTest",
"formsystemtest_ets/formstatetest_disable:
Acts
FormStateDisableTest",
"formsystemtest_ets/formstatetest_enable:
Acts
FormStateEnableTest",
"formsystemtest_ets/formstatetest_notifyinvisible:
Acts
FormStateNotifyInvisibleTest",
"formsystemtest_ets/formstatetest_notifyinvisible2:
Acts
FormStateNotifyInvisibleTest2",
"formsystemtest_ets/formstatetest_notifyvisible:
Acts
FormStateNotifyVisibleTest",
"formsystemtest_ets/formstresstest:
Acts
FormStressTest",
"formsystemtest_ets/formupdatefreshtest:
Acts
FormUpdateRefreshTest",
]
}
}
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemprovidera/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
...
...
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderb/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
...
...
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderc/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
...
...
aafwk/aafwk_standard/formmanager/fa/formproviderst_ets/formsystemproviderd/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
@Entry
@Component
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormAcquireTest") {
ohos_js_hap_suite("
Acts
FormAcquireTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormAcquireTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormAcquireTest"
hap_name = "
Acts
FormAcquireTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormAcquireTest.hap"
,
"
Acts
FormAcquireTest.hap"
,
"FormSystemHost.hap"
,
"FormSystemHostB.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/MainAbility/test/FmsAcquireForm.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onErrorForm_Event
=
{
events
:
[
"FMS_FormOnError_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormAcquireTest2") {
ohos_js_hap_suite("
Acts
FormAcquireTest2") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormAcquireTest2") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormAcquireTest2"
hap_name = "
Acts
FormAcquireTest2"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormAcquireTest2.hap"
,
"
Acts
FormAcquireTest2.hap"
,
"FormSystemHost.hap"
,
"FormSystemHostI.hap"
,
"FormSystemHostJ.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formacquiretest2/entry/src/main/ets/MainAbility/test/FmsAcquireForm2.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from "deccjsunit/index
.ets
";
import { beforeEach, describe, expect, it } from "deccjsunit/index";
var onErrorForm_Event = {
events: ["FMS_FormOnError_commonEvent"],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormDeleteTest") {
ohos_js_hap_suite("
Acts
FormDeleteTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormDeleteTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormDeleteTest"
hap_name = "
Acts
FormDeleteTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormDeleteTest.hap"
,
"
Acts
FormDeleteTest.hap"
,
"FormSystemHostC.hap"
,
"FormSystemHostD.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/MainAbility/test/FmsDeleteForm.test.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
import
featureAbility
from
'@ohos.ability.featureAbility'
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
setTime
}
from
'@ohos.systemTime'
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
'deccjsunit/index
.ets
'
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
'deccjsunit/index'
;
const
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormDynamicRefreshTest") {
ohos_js_hap_suite("
Acts
FormDynamicRefreshTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormDynamicRefreshTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormDynamicRefreshTest"
hap_name = "
Acts
FormDynamicRefreshTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormDynamicRefreshTest.hap"
,
"
Acts
FormDynamicRefreshTest.hap"
,
"FormSystemHostE.hap"
,
"FormSystemHostF.hap"
,
"FormSupplyAppA.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formdynamicrefreshtest/entry/src/main/ets/MainAbility/test/FmsDynamicRefreshForm.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from 'deccjsunit/index
.ets
';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormFuzzTest.hap"
"
Acts
FormFuzzTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/CastTempFormFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const castTempFormFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/DeleteFormFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const deleteFormFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/DisableFormsUpdateFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const disableFormsUpdateFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/EnableFormsUpdateFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const enableFormsUpdateFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/GetFormsInfoFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const getFormsInfoFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/NotifyInvisibleFormsFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const notifyInvisibleFormsFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/NotifyVisibleFormsFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const notifyVisibleFormsFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/ReleaseFormFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const releaseFormFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/RequestFormFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const requestFormFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/SetFormNextRefreshTimeFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formProvider from '@ohos.application.formProvider';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const setFormNextRefreshTimeFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/MainAbility/test/UpdateFormFuzz.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formProvider from '@ohos.application.formProvider';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
import { DATA_TYPE_LIST, getFuzzData } from './getParam.ets';
export const updateFormFuzzTest = (describeName, filterParameter) => {
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndOneTest") {
ohos_js_hap_suite("
Acts
FormsOneAndOneTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndOneTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndOneTest"
hap_name = "
Acts
FormsOneAndOneTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormsOneAndOneTest.hap"
,
"
Acts
FormsOneAndOneTest.hap"
,
"FormSystemProviderB.hap"
,
"FormSystemProviderC.hap"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndTwoTest") {
ohos_js_hap_suite("
Acts
FormsOneAndTwoTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndTwoTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndTwoTest"
hap_name = "
Acts
FormsOneAndTwoTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormsOneAndTwoTest.hap"
,
"
Acts
FormsOneAndTwoTest.hap"
,
"FormSystemProviderA.hap"
,
"FormSystemProviderB.hap"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsOneAndZeroTest") {
ohos_js_hap_suite("
Acts
FormsOneAndZeroTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsOneAndZeroTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsOneAndZeroTest"
hap_name = "
Acts
FormsOneAndZeroTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormsOneAndZeroTest.hap"
,
"
Acts
FormsOneAndZeroTest.hap"
,
"FormSystemProviderB.hap"
,
"FormSystemProviderD.hap"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsWithoutPermTest") {
ohos_js_hap_suite("
Acts
FormsWithoutPermTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsWithoutPermTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsWithoutPermTest"
hap_name = "
Acts
FormsWithoutPermTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormsWithoutPermTest.hap"
"
Acts
FormsWithoutPermTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/MainAbility/test/GetFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getFormsInfoTest = (describeName, filterParameter) => {
const ERR_PERMISSION_DENY_CODE = 2;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormsZeroTest") {
ohos_js_hap_suite("
Acts
FormsZeroTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormsZeroTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormsZeroTest"
hap_name = "
Acts
FormsZeroTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormsZeroTest.hap"
,
"
Acts
FormsZeroTest.hap"
,
"FormSystemProviderD.hap"
],
"type"
:
"AppInstallKit"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index
.ets
';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import testsuite from '../test/List.test.ets';
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formszerotest/entry/src/main/ets/MainAbility/test/GetAllFormsInfo.test.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import formHost from '@ohos.application.formHost';
import { describe, expect, it } from 'deccjsunit/index
.ets
';
import { describe, expect, it } from 'deccjsunit/index';
export const getAllFormsInfoTest = (describeName, filterParameter) => {
const ERR_OK_CODE = 0;
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormHostDeathRecipientTest") {
ohos_js_hap_suite("
Acts
FormHostDeathRecipientTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormHostDeathRecipientTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormHostDeathRecipientTest"
hap_name = "
Acts
FormHostDeathRecipientTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormHostDeathRecipientTest.hap"
,
"
Acts
FormHostDeathRecipientTest.hap"
,
"FormSystemHostK.hap"
,
"FormSystemHostL.hap"
,
"FormSupplyAppF.hap"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formhostdeathrecipienttest/entry/src/main/ets/MainAbility/test/FmsHostDeathRecipient.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from 'deccjsunit/index
.ets
';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredEvent = {
events: [`FMS_FormOnAcquired_commonEvent`],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormPerformanceTest") {
ohos_js_hap_suite("
Acts
FormPerformanceTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormPerformanceTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormPerformanceTest"
hap_name = "
Acts
FormPerformanceTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormPerformanceTest.hap"
,
"
Acts
FormPerformanceTest.hap"
,
"FormSystemHostK.hap"
,
"FormSupplyAppG.hap"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formperformancetest/entry/src/main/ets/MainAbility/test/FmsPerformanceTest.test.ets
浏览文件 @
02aabbab
...
...
@@ -17,7 +17,7 @@ import featureAbility from '@ohos.ability.featureAbility';
import formHost from '@ohos.application.formHost';
import commonEvent from '@ohos.commonEvent';
import { getCurrentTime } from '@ohos.systemTime';
import { beforeEach, describe, expect, it } from 'deccjsunit/index
.ets
';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onAcquiredEvent = {
events: [`FMS_FormOnAcquired_commonEvent`],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormReleaseTest") {
ohos_js_hap_suite("
Acts
FormReleaseTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormReleaseTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormReleaseTest"
hap_name = "
Acts
FormReleaseTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormReleaseTest.hap"
,
"
Acts
FormReleaseTest.hap"
,
"FormSystemHostC.hap"
,
"FormSystemHostD.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formreleasetest/entry/src/main/ets/MainAbility/test/FmsReleaseForm.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateDisableTest") {
ohos_js_hap_suite("
Acts
FormStateDisableTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateDisableTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateDisableTest"
hap_name = "
Acts
FormStateDisableTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStateDisableTest.hap"
,
"
Acts
FormStateDisableTest.hap"
,
"FormSystemHostF.hap"
,
"FormSystemHostG.hap"
,
"FormSupplyAppA.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/test/FmsFormStateDisable.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateEnableTest") {
ohos_js_hap_suite("
Acts
FormStateEnableTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateEnableTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateEnableTest"
hap_name = "
Acts
FormStateEnableTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStateEnableTest.hap"
,
"
Acts
FormStateEnableTest.hap"
,
"FormSystemHostF.hap"
,
"FormSystemHostG.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/test/FmsFormStateEnable.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateNotifyInvisibleTest") {
ohos_js_hap_suite("
Acts
FormStateNotifyInvisibleTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateNotifyInvisibleTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateNotifyInvisibleTest"
hap_name = "
Acts
FormStateNotifyInvisibleTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStateNotifyInvisibleTest.hap"
,
"
Acts
FormStateNotifyInvisibleTest.hap"
,
"FormSystemHostF.hap"
,
"FormSystemHostG.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyInvisible.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
describe
,
beforeEach
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
describe
,
beforeEach
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateNotifyInvisibleTest2") {
ohos_js_hap_suite("
Acts
FormStateNotifyInvisibleTest2") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateNotifyInvisibleTest2") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateNotifyInvisibleTest2"
hap_name = "
Acts
FormStateNotifyInvisibleTest2"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStateNotifyInvisibleTest2.hap"
,
"
Acts
FormStateNotifyInvisibleTest2.hap"
,
"FormSystemHostG.hap"
,
"FormSupplyAppA.hap"
,
"FormSupplyAppB.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyInvisible2.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStateNotifyVisibleTest") {
ohos_js_hap_suite("
Acts
FormStateNotifyVisibleTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStateNotifyVisibleTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStateNotifyVisibleTest"
hap_name = "
Acts
FormStateNotifyVisibleTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStateNotifyVisibleTest.hap"
,
"
Acts
FormStateNotifyVisibleTest.hap"
,
"FormSystemHostF.hap"
,
"FormSystemHostG.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/test/FmsFormStateNotifyVisible.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import
featureAbility
from
"@ohos.ability.featureAbility"
;
import
commonEvent
from
'@ohos.commonEvent'
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index
.ets
"
;
import
{
beforeAll
,
beforeEach
,
describe
,
expect
,
it
}
from
"deccjsunit/index"
;
var
onAcquiredForm_Event
=
{
events
:
[
"FMS_FormOnAcquired_commonEvent"
],
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormStressTest") {
ohos_js_hap_suite("
Acts
FormStressTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormStressTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormStressTest"
hap_name = "
Acts
FormStressTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormStressTest.hap"
,
"
Acts
FormStressTest.hap"
,
"FormSystemHostK.hap"
,
"FormSupplyAppF.hap"
,
"FormSupplyAppG.hap"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/MainAbility/test/FmsStress.test.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
import featureAbility from '@ohos.ability.featureAbility';
import formHost from '@ohos.application.formHost';
import commonEvent from '@ohos.commonEvent';
import { beforeEach, describe, expect, it } from 'deccjsunit/index
.ets
';
import { beforeEach, describe, expect, it } from 'deccjsunit/index';
const onDeletedEvent = {
events: [`FMS_FormOnDeleted_commonEvent`]
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/BUILD.gn
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("FormUpdateRefreshTest") {
ohos_js_hap_suite("
Acts
FormUpdateRefreshTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
...
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("FormUpdateRefreshTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "FormUpdateRefreshTest"
hap_name = "
Acts
FormUpdateRefreshTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/Test.json
浏览文件 @
02aabbab
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"FormUpdateRefreshTest.hap"
,
"
Acts
FormUpdateRefreshTest.hap"
,
"FormSystemHostE.hap"
,
"FormSystemHostF.hap"
,
"FormSystemHostNoPerm.hap"
,
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -16,7 +16,7 @@
// @ts-nocheck
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index
.ets
";
import { Core, ExpectExtend, ReportExtend } from "deccjsunit/index";
import testsuite from "../test/List.test.ets";
@Entry
...
...
aafwk/aafwk_standard/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/MainAbility/test/FmsUpdateRefreshForm.test.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import commonEvent from '@ohos.commonEvent';
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index
.ets
";
import { beforeAll, beforeEach, describe, expect, it } from "deccjsunit/index";
var onAcquiredForm_Event = {
events: ["FMS_FormOnAcquired_commonEvent"],
...
...
aafwk/aafwk_standard/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
@Component
...
...
aafwk/aafwk_standard/newwant/actsnewwantrelyhap/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import file from '@system.file';
//import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
//import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
//import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/newwant/actsnewwanttest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -15,7 +15,7 @@
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/non_concurrent/acts_systemappa_test/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/processmultiinstance/actsamsprocessmultiinstancetest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
aafwk/aafwk_standard/stage/actslifecyclemultihaptest/entry/src/main/ets/pages/MainAbility_pages.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import list from '../test/ListTest'
@Entry
...
...
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/entry/src/main/ets/pages/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
@Entry
...
...
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/entry/src/main/ets/pages/index/index.ets
浏览文件 @
02aabbab
...
...
@@ -14,7 +14,7 @@
*/
import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index
.ets
"
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录