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 25c15c8811405d05ea73499420ae34cd2703f323..222c42ea378d2eda8689ae598d6d8a215ac4755e 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 08b8c71ea3ccd252afb3ddffc9ef05475cb147f3..721a127650abe589bef8d6415dd44d13e60ada61 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 fddcf501067531fbd97a6be30be8f28e564a0818..33bebd081a1de9de8651a23909a7adc905fd780c 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 f4bdd3a9e1211e848640bae5bd5e2f7e44d24110..153318099b5b2e5776314477ca1bd1f42377bccf 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 6c1e8ed660a81c52e22c58b206d83a8a3947dd97..cd2f36dc6364c80d1a3fff576df86b076f2184f3 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 2eb0eccc7118974ceac7268ffef7f94190ec24f6..9b9e1366230f5d928814e5983f80b76294133d1b 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 38a658e2d7eccf7a4214f3a4687894e20723a202..39a4ba315b08a8f7fec7945dfa3f2ccbc30514e2 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 d6ca48cf43988cd6f270a026f0c1a88b7bc57123..a3361dc31925163a44aa2ed457be90de88aae2d5 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 2953d0de7f78ffa4b5dcc801052836024fd3203c..b0b37a6579e827e2d08d5ab810d5fbb915c37bc8 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 {