diff --git a/ace/ace_standard/Test.json b/ace/ace_standard/Test.json index 084809ca876d813f3dba8568d93e1222d0a0e4c8..bed98a783698e270ed85a85ac136b2b4594073ee 100755 --- a/ace/ace_standard/Test.json +++ b/ace/ace_standard/Test.json @@ -4,7 +4,6 @@ "type": "JSUnitTest", "test-timeout": "60000", "package": "com.example.aceceshi", - "abilityName": "decc.testkit.runner.JsEntryAbility", "shell-timeout": "60000" }, "kits": [ diff --git a/ace/ace_standard/src/main/config.json b/ace/ace_standard/src/main/config.json index 09cab66d48b5d9a4f0f65c0971aa0617b7d97727..0520148065c71d867ef171d257f174a802eb1c2e 100755 --- a/ace/ace_standard/src/main/config.json +++ b/ace/ace_standard/src/main/config.json @@ -27,7 +27,6 @@ }, "abilities": [ { - "visible": true, "skills": [ { "entities": [ @@ -43,13 +42,8 @@ "description": "$string:mainability_description", "label": "$string:entry_MainAbility", "type": "page", - "launchType": "standard" - }, - { - "name": "decc.testkit.runner.JsEntryAbility", - "label": "$string:entry_MainAbility", - "type": "page", - "launchType": "standard" + "launchType": "standard", + "visible": true } ], "js": [ diff --git a/ace/ace_standard/src/main/js/default/app.js b/ace/ace_standard/src/main/js/default/app.js index aedcefe0054c6e16c40491f4d1abc20a4dc1c6ef..e423f4bce4698ec1d7dc86c3eea3990a5e7b1085 100755 --- a/ace/ace_standard/src/main/js/default/app.js +++ b/ace/ace_standard/src/main/js/default/app.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + export default { onCreate() { console.info('AceApplication onCreate');