提交 924f4da9 编写于 作者: S ShiJie

codecheck

Signed-off-by: NShiJie <shijie20@huawei.com>
Change-Id: I8b9102b2900025192c0bd0f27ccd6ec7ec613a05
上级 a56ee4f7
# Copyright (C) 2022 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) 2022 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("powermgr_batterystats_test") {
hap_profile = "./src/main/config.json"
deps = [
":powermgr_batterystats_js_assets",
":powermgr_batterystats_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsPowerMgrBatterystatsTest"
}
ohos_js_assets("powermgr_batterystats_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("powermgr_batterystats_resources") {
sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json"
}
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("powermgr_batterystats_test") {
hap_profile = "./src/main/config.json"
deps = [
":powermgr_batterystats_js_assets",
":powermgr_batterystats_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsPowerMgrBatterystatsTest"
}
ohos_js_assets("powermgr_batterystats_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("powermgr_batterystats_resources") {
sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json"
}
......@@ -14,7 +14,6 @@
*/
import app from '@system.app'
//import {Core, ExpectExtend, ReportExtend, InstrumentLog} from 'deccjsunit/index'
import {Core, ExpectExtend} from 'deccjsunit/index'
export default {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册