diff --git a/arkui/ace_ets_webView/BUILD.gn b/arkui/ace_ets_webView/BUILD.gn new file mode 100644 index 0000000000000000000000000000000000000000..c00f33ebd999be401a6dd1886d4f66bb888fd605 --- /dev/null +++ b/arkui/ace_ets_webView/BUILD.gn @@ -0,0 +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 +# limitations under the License. + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("AceEtsWebViewTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":ace_ets_webView_assets", + ":ace_ets_webView_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "AceEtsWebViewTest" +} +ohos_js_assets("ace_ets_webView_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("ace_ets_webView_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/arkui/ace_ets_webView/Test.json b/arkui/ace_ets_webView/Test.json new file mode 100644 index 0000000000000000000000000000000000000000..18d8da6be67b135a090c8c26f8f2f6ff50956145 --- /dev/null +++ b/arkui/ace_ets_webView/Test.json @@ -0,0 +1,18 @@ +{ + "description": "Configuration for aceceshi Tests", + "driver": { + "type": "JSUnitTest", + "test-timeout": "60000", + "package": "com.open.harmony.webview", + "shell-timeout": "60000" + }, + "kits": [ + { + "test-file-name": [ + "AceEtsWebViewTest.hap" + ], + "type": "AppInstallKit", + "cleanup-apps": true + } + ] +} diff --git a/arkui/ace_ets_webView/signature/openharmony_sx.p7b b/arkui/ace_ets_webView/signature/openharmony_sx.p7b new file mode 100644 index 0000000000000000000000000000000000000000..9be1e98fa4c0c28ca997ed660112fa16b194f0f5 Binary files /dev/null and b/arkui/ace_ets_webView/signature/openharmony_sx.p7b differ