1### 注意事项 2 3#### 1 上库工程迁移 4 50528模板前工程迁移,网址:https://gitee.com/openharmony/xts_acts/tree/OpenHarmony_feature_20250328/README_migrate0528.md 6 70603,0604模板前工程迁移,网址:https://gitee.com/openharmony/xts_acts/tree/OpenHarmony_feature_20250328/README_migrate0604.md 8 9#### 2 hypium文件夹,本地验证时需下载存放,上库时需要将hypium文件夹删除掉 10 11#### 3 工程中使用syscap.json,需要将module.json5中红圈改成如图所示 12 13 14 15#### 4 工程中使用app.json5中的bundleName字段不能使用com.example.helloworld,bundleName位置如下图 16 17 18 19#### 5 目录命名 20 21注意事项下图所示:(3)既是工程目录名,其中(1)(2)属于子系统名和组件名,不能修改 22 23 24 25|arkts类型|示例1|示例2|示例3| 26|-|-|-|-| 27|1.1|ActsAmsUsersThirdTest|ace_web_page_saving_dev_three|actscreatemodulecontexttest| 28|1.2|ActsAmsUsersThirdTest[***Static***]()|ace_web_page_saving_dev_three_[***static***]()|actscreatemodulecontexttest[***static***]()| 29|互操作|ActsAmsUsersThirdTest[***Interop***]()|ace_web_page_saving_dev_three_[***interop***]()|actscreatemodulecontexttest[***interop***]()| 30 31#### 7 bundlename命名 32 33 34 35|arkts类型|示例| 36|-|-| 37|1.1|com.open.harmony.actsacewebpagesavtest| 38|1.2|com.open.harmony.actsacewebpagesavtest.[***static***]()| 39|互操作|com.open.harmony.actsacewebpagesavtest.[***interop***]()| 40 41#### 8 hap_name/targetname/ohos_js_app_static_suite("目标名")命名 42 43 44 45> 注意:因CodeCheck使用Acts.*Test校验hap_name,所以static不能附加在尾部,否则会被门禁拦截 46 47 48|arkts类型|示例| 49|-|-| 50|1.1|ActsFaMyApplication1Test| 51|1.2|ActsFaMyApplication1[***Static***]()Test| 52|互操作|ActsFaMyApplication1[***Interop***]()Test| 53 54#### 9 用例名命名 55 56 57 58|arkts类型|示例| 59|-|-| 60|1.1|abilityConstant_WindowMode_static_0100| 61|1.2|abilityConstant_WindowMode_static_[***static***]()_0100| 62|1.2|abilityConstant_WindowMode_static_[***interop***]()_0100| 63 64#### 10 由于当前ohosTest不可用,故BUILD.gn文件中test_hap字段需注释 65 66 67 68#### 11 BUILD.gn必须使用1.2模板名ohos_js_app_static_suite,否则编译环境是1.1 69 70 71 72注意:part_name = "自己子系统组件名" 73 subsystem_name = "自己子系统名" 74 75#### 12 Test.json中的"module-name"字段当前必须写成 entry 76 77 78 79#### 13 Test.json中的"test-file-name" 需要和BUILD.gn中的hap_name名字相同 80 81 82 83 84 85