1fc223305Sopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd.
2fc223305Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3fc223305Sopenharmony_ci# you may not use this file except in compliance with the License.
4fc223305Sopenharmony_ci# You may obtain a copy of the License at
5fc223305Sopenharmony_ci#
6fc223305Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7fc223305Sopenharmony_ci#
8fc223305Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9fc223305Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10fc223305Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11fc223305Sopenharmony_ci# See the License for the specific language governing permissions and
12fc223305Sopenharmony_ci# limitations under the License.
13fc223305Sopenharmony_ci
14fc223305Sopenharmony_ciimport("//build/test.gni")
15fc223305Sopenharmony_ci
16fc223305Sopenharmony_cimodule_output_path = "preferences/js"
17fc223305Sopenharmony_ci
18fc223305Sopenharmony_ciohos_js_unittest("StorageJsTest") {
19fc223305Sopenharmony_ci  module_out_path = module_output_path
20fc223305Sopenharmony_ci
21fc223305Sopenharmony_ci  hap_profile = "./config.json"
22fc223305Sopenharmony_ci
23fc223305Sopenharmony_ci  certificate_profile = "./openharmony_sx.p7b"
24fc223305Sopenharmony_ci}
25fc223305Sopenharmony_ci
26fc223305Sopenharmony_cigroup("unittest") {
27fc223305Sopenharmony_ci  testonly = true
28fc223305Sopenharmony_ci  deps = [ ":StorageJsTest" ]
29fc223305Sopenharmony_ci}
30