提交 d21cb8e0 编写于 作者: W wangyulie

fix some configs

Signed-off-by: Nwangyulie <wanglieyu@126.com>
上级 60f8c90f
......@@ -11,6 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_app_assist_suite("acts_ffrt_main") {
testonly = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsFfrtMainTest"
part_name = "ffrt"
subsystem_name = "resourceschedule"
}
ohos_js_app_suite("resourceschedule_ffrt_js_test") {
test_hap = true
testonly = true
......@@ -18,4 +25,5 @@ ohos_js_app_suite("resourceschedule_ffrt_js_test") {
hap_name = "ActsFfrtNativeTest"
part_name = "ffrt"
subsystem_name = "resourceschedule"
}
deps = [":acts_ffrt_main"]
}
\ No newline at end of file
......@@ -4,14 +4,15 @@
"type": "OHJSUnitTest",
"test-timeout": "180000",
"bundle-name": "com.actsffrt.napitest",
"module-name": "entry",
"module-name": "entry_test",
"shell-timeout": "600000",
"testcase-timeout": 70000
},
"kits": [
{
"test-file-name": [
"ActsFfrtNativeTest.hap"
"ActsFfrtNativeTest.hap",
"ActsFfrtMainTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
/*
* 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 UIAbility from '@ohos.app.ability.UIAbility';
import hilog from '@ohos.hilog';
import window from '@ohos.window';
......
/*
* 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 hilog from '@ohos.hilog';
@Entry
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册