From 85e4de44219849384cde1ec268d8989fdb2aa452 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Tue, 28 Jun 2022 19:25:23 +0800 Subject: [PATCH] =?UTF-8?q?XTS=E5=85=83=E8=83=BD=E5=8A=9Bapi=E8=A6=86?= =?UTF-8?q?=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../src/main/ets/test/ApiCoverAbility.test.ets | 14 ++++++++++++++ .../entry/src/main/ets/test/VerificationTest.ets | 2 +- .../ability_runtime/apicover/fasupplement/BUILD.gn | 2 +- .../entry/src/main/ets/MainAbility/app.ets | 14 ++++++++++++++ .../entry/src/main/ets/MainAbility/pages/index.ets | 14 ++++++++++++++ .../entry/src/main/ets/MainAbility2/app.ets | 14 ++++++++++++++ .../src/main/ets/MainAbility2/pages/index.ets | 14 ++++++++++++++ .../formmodule/entry/src/main/ets/pages/index.ets | 14 ++++++++++++++ .../entry/src/main/ets/pages/index.ets | 14 ++++++++++++++ 9 files changed, 100 insertions(+), 2 deletions(-) diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets index 25c15c881..222c42ea3 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets @@ -1,3 +1,17 @@ +/* + * 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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" import formProvider from '@ohos.application.formProvider'; diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets index 08b8c71ea..721a12765 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * 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 diff --git a/ability/ability_runtime/apicover/fasupplement/BUILD.gn b/ability/ability_runtime/apicover/fasupplement/BUILD.gn index fddcf5010..33bebd081 100644 --- a/ability/ability_runtime/apicover/fasupplement/BUILD.gn +++ b/ability/ability_runtime/apicover/fasupplement/BUILD.gn @@ -21,8 +21,8 @@ ohos_hap("FaSupplement") { "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" testonly = true deps = [ - ":fasupplement_ts_assets", ":fasupplement_resources", + ":fasupplement_ts_assets", ] certificate_profile = "signature/openharmony_sx.p7b" } diff --git a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/app.ets b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/app.ets index f4bdd3a9e..153318099 100644 --- a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/app.ets +++ b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/app.ets @@ -1,3 +1,17 @@ +/* + * 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 ability_featureAbility from '@ohos.ability.featureAbility'; import commonEvent from '@ohos.commonEvent'; diff --git a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/pages/index.ets b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/pages/index.ets index 6c1e8ed66..cd2f36dc6 100644 --- a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/pages/index.ets +++ b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,17 @@ +/* + * 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. + */ @Entry @Component struct Index { diff --git a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/app.ets b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/app.ets index 2eb0eccc7..9b9e13662 100644 --- a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/app.ets +++ b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/app.ets @@ -1,3 +1,17 @@ +/* + * 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 ability_featureAbility from '@ohos.ability.featureAbility'; import commonEvent from '@ohos.commonEvent'; diff --git a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/pages/index.ets b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/pages/index.ets index 38a658e2d..39a4ba315 100644 --- a/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/pages/index.ets +++ b/ability/ability_runtime/apicover/fasupplement/entry/src/main/ets/MainAbility2/pages/index.ets @@ -1,3 +1,17 @@ +/* + * 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. + */ @Entry @Component struct Index { diff --git a/ability/ability_runtime/apicover/formmodule/entry/src/main/ets/pages/index.ets b/ability/ability_runtime/apicover/formmodule/entry/src/main/ets/pages/index.ets index d6ca48cf4..a3361dc31 100644 --- a/ability/ability_runtime/apicover/formmodule/entry/src/main/ets/pages/index.ets +++ b/ability/ability_runtime/apicover/formmodule/entry/src/main/ets/pages/index.ets @@ -1,3 +1,17 @@ +/* + * 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. + */ @Entry @Component struct Index { diff --git a/ability/ability_runtime/apicover/stagesupplement/entry/src/main/ets/pages/index.ets b/ability/ability_runtime/apicover/stagesupplement/entry/src/main/ets/pages/index.ets index 2953d0de7..b0b37a657 100644 --- a/ability/ability_runtime/apicover/stagesupplement/entry/src/main/ets/pages/index.ets +++ b/ability/ability_runtime/apicover/stagesupplement/entry/src/main/ets/pages/index.ets @@ -1,3 +1,17 @@ +/* + * 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. + */ @Entry @Component struct Index { -- GitLab