提交 420efaa4 编写于 作者: H hu0475

修改storage子系统fs模块的代码

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 969e580e
...@@ -16,7 +16,7 @@ group("storage") { ...@@ -16,7 +16,7 @@ group("storage") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"crossplatform/storagefsetstest:storagefs_ets_test", "crossplatform/storagefsetstest:ActsCrossplatformFsTest",
"storagefileioerrorjstest:storagefileioerror_js_test", "storagefileioerrorjstest:storagefileioerror_js_test",
"storagefileiojstest:storagefileio_js_test", "storagefileiojstest:storagefileio_js_test",
"storagefileiov9jstest:storagefileiov9_js_test", "storagefileiov9jstest:storagefileiov9_js_test",
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"versionName": "1.0.0", "versionName": "1.0.0",
"icon": "$media:app_icon", "icon": "$media:app_icon",
"label": "$string:app_name", "label": "$string:app_name",
"minAPIVersion": 9, "minAPIVersion": 10,
"targetAPIVersion": 10, "targetAPIVersion": 10,
"car": { "car": {
"apiCompatibleVersion": 10, "apiCompatibleVersion": 10,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("storagefs_ets_test") { ohos_js_hap_suite("ActsCrossplatformFsTest") {
hap_profile = "src/main/module.json" hap_profile = "src/main/module.json"
deps = [ deps = [
":windowStage_js_assets", ":windowStage_js_assets",
...@@ -21,14 +21,16 @@ ohos_js_hap_suite("storagefs_ets_test") { ...@@ -21,14 +21,16 @@ ohos_js_hap_suite("storagefs_ets_test") {
] ]
ets2abc = true ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
# hap_name: HAP的名字,可选,默认为目标名 # hap_name: HAP的名字,可选,默认为目标名
hap_name = "storagefs_ets_test" hap_name = "ActsCrossplatformFsTest"
subsystem_name = "filemanagement" subsystem_name = "filemanagement"
part_name = "file_api" part_name = "file_api"
} }
ohos_app_scope("windowStage_app_profile") { ohos_app_scope("windowStage_app_profile") {
# app_profile: HAP的AppScope中的app.json,只在Stage模型下使用 # app_profile: HAP的AppScope中的app.json,只在Stage模型下使用
app_profile = "AppScope/app.json" app_profile = "AppScope/app.json"
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "AppScope/resources" ] sources = [ "AppScope/resources" ]
} }
...@@ -39,8 +41,10 @@ ohos_js_assets("windowStage_js_assets") { ...@@ -39,8 +41,10 @@ ohos_js_assets("windowStage_js_assets") {
ohos_resources("windowStage_resources") { ohos_resources("windowStage_resources") {
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "src/main/resources" ] sources = [ "src/main/resources" ]
# deps: 当前目标的依赖 # deps: 当前目标的依赖
deps = [ ":windowStage_app_profile" ] deps = [ ":windowStage_app_profile" ]
# hap_profile: HAP的config.json,Stage模型对应module.json # hap_profile: HAP的config.json,Stage模型对应module.json
hap_profile = "src/main/module.json" hap_profile = "src/main/module.json"
} }
\ No newline at end of file
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"storagefs_ets_test.hap" "ActsCrossplatformFsTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册