From 8ef6a4a74213fe7f0862739395cd0c4d954dca63 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Fri, 20 May 2022 22:23:11 +0800 Subject: [PATCH] Modify codex Signed-off-by: chengxingzhen --- .../formsupplyapplicationF/BUILD.gn | 6 +- .../formsupplyapplicationG/BUILD.gn | 6 +- .../formsystemprovidera/BUILD.gn | 64 +++++++++---------- .../formsystemproviderb/BUILD.gn | 64 +++++++++---------- .../formsystemproviderc/BUILD.gn | 64 +++++++++---------- .../formsystemproviderd/BUILD.gn | 64 +++++++++---------- .../formsoneandonetest/BUILD.gn | 64 +++++++++---------- .../formsoneandtwotest/BUILD.gn | 64 +++++++++---------- .../formsoneandzerotest/BUILD.gn | 62 +++++++++--------- .../formswithoutpermtest/BUILD.gn | 62 +++++++++--------- .../formszerotest/BUILD.gn | 64 +++++++++---------- .../formstresstest/BUILD.gn | 62 +++++++++--------- 12 files changed, 314 insertions(+), 332 deletions(-) diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationF/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationF/BUILD.gn index 672ad36a4..080b5ad92 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationF/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationF/BUILD.gn @@ -16,8 +16,8 @@ import("//test/xts/tools/build/suite.gni") ohos_js_hap_suite("FormSupplyAppF") { hap_profile = "entry/src/main/config.json" deps = [ - ":FormOfFaEts_js_assets", ":FormOfFaEts_form_js_assets", + ":FormOfFaEts_js_assets", ":FormOfFaEts_resources", ] certificate_profile = "signature/openharmony_sx.p7b" @@ -39,8 +39,6 @@ ohos_js_assets("FormOfFaEts_form_js_assets") { } ohos_resources("FormOfFaEts_resources") { - sources = [ - "entry/src/main/resources", - ] + sources = [ "entry/src/main/resources" ] hap_profile = "entry/src/main/config.json" } diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationG/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationG/BUILD.gn index 3b72a2b21..47ffb47d7 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationG/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationG/BUILD.gn @@ -16,8 +16,8 @@ import("//test/xts/tools/build/suite.gni") ohos_js_hap_suite("FormSupplyAppG") { hap_profile = "entry/src/main/config.json" deps = [ - ":FormOfFaEts_js_assets", ":FormOfFaEts_form_js_assets", + ":FormOfFaEts_js_assets", ":FormOfFaEts_resources", ] certificate_profile = "signature/openharmony_sx.p7b" @@ -39,8 +39,6 @@ ohos_js_assets("FormOfFaEts_form_js_assets") { } ohos_resources("FormOfFaEts_resources") { - sources = [ - "entry/src/main/resources", - ] + sources = [ "entry/src/main/resources" ] hap_profile = "entry/src/main/config.json" } diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemprovidera/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemprovidera/BUILD.gn index 3596385c8..704384d58 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemprovidera/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemprovidera/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormSystemProviderA") { - hap_name = "FormSystemProviderA" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormSystemProviderA") { + hap_name = "FormSystemProviderA" + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderb/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderb/BUILD.gn index ab07599fe..d7a47b5f3 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderb/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderb/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormSystemProviderB") { - hap_name = "FormSystemProviderB" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormSystemProviderB") { + hap_name = "FormSystemProviderB" + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderc/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderc/BUILD.gn index 4ab130a97..a7c6d7d52 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderc/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderc/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormSystemProviderC") { - hap_name = "FormSystemProviderC" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormSystemProviderC") { + hap_name = "FormSystemProviderC" + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderd/BUILD.gn b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderd/BUILD.gn index b23c3d5d1..72166fbfc 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderd/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsystemproviderd/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormSystemProviderD") { - hap_name = "FormSystemProviderD" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormSystemProviderD") { + hap_name = "FormSystemProviderD" + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn index 3a3305d2e..714c8278b 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandonetest/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormsOneAndOneTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormsOneAndOneTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormsOneAndOneTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormsOneAndOneTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn index 92a35749a..facf49814 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandtwotest/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormsOneAndTwoTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormsOneAndTwoTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormsOneAndTwoTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormsOneAndTwoTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn index 71f8fb205..70d1d9ffc 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formsoneandzerotest/BUILD.gn @@ -1,32 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormsOneAndZeroTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormsOneAndZeroTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/resources" ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormsOneAndZeroTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormsOneAndZeroTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn index 1c3f3e15c..64e49c266 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/BUILD.gn @@ -1,32 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormsWithoutPermTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormsWithoutPermTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/resources" ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormsWithoutPermTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormsWithoutPermTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn index 362b9905b..0f8fc3e65 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formgetformsinfotest/formszerotest/BUILD.gn @@ -1,34 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormsZeroTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormsZeroTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ - "./entry/src/main/resources", - ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormsZeroTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormsZeroTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstresstest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstresstest/BUILD.gn index eeac81389..5a46df2ed 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstresstest/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstresstest/BUILD.gn @@ -1,32 +1,32 @@ -# 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 +# 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("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("FormStressTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FormStressTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/resources" ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("FormStressTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "FormStressTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} -- GitLab