diff --git a/applications/BUILD.gn b/applications/BUILD.gn index 16218f9f7ec2c86fbd4eeb9f16e7218961bd199d..fe1ca219286f289d73b30821487f63975c6071db 100644 --- a/applications/BUILD.gn +++ b/applications/BUILD.gn @@ -15,6 +15,6 @@ group("applications") { testonly = true deps = [ "settingsdata:settingsdata", - "print_fwk:print_fwk" + "print_fwk:print_fwk", ] -} +} \ No newline at end of file diff --git a/applications/print_fwk/print_xts/src/main/ets/TestAbility/TestAbility.ets b/applications/print_fwk/print_xts/src/main/ets/TestAbility/TestAbility.ets index 17af2d29e54d33643b19c6d452ccc5615cd707a6..260c9267d588d0cd5d090e3543959271c4cc6603 100644 --- a/applications/print_fwk/print_xts/src/main/ets/TestAbility/TestAbility.ets +++ b/applications/print_fwk/print_xts/src/main/ets/TestAbility/TestAbility.ets @@ -1,15 +1,17 @@ -# Copyright (C) 2023 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. +/* + * Copyright (c) 2023 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 AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/applications/print_fwk/print_xts/src/main/ets/TestAbility/pages/Index.ets b/applications/print_fwk/print_xts/src/main/ets/TestAbility/pages/Index.ets index edf3dc3c4242b4d8ec2496b9b76803c278d97053..40f0a77aebde46e8c079bd9975134e37d373c1f7 100644 --- a/applications/print_fwk/print_xts/src/main/ets/TestAbility/pages/Index.ets +++ b/applications/print_fwk/print_xts/src/main/ets/TestAbility/pages/Index.ets @@ -1,15 +1,17 @@ -# Copyright (C) 2023 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. +/* + * Copyright (c) 2023 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'; diff --git a/applications/print_fwk/print_xts/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/applications/print_fwk/print_xts/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts index e598390c5890d5330b5780955daaba616aa517cc..c6cd4838125598b6a426da37b78e8f9ce2fd44da 100644 --- a/applications/print_fwk/print_xts/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts +++ b/applications/print_fwk/print_xts/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -1,15 +1,17 @@ -# Copyright (C) 2023 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. +/* + * Copyright (c) 2023 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'; import TestRunner from '@ohos.application.testRunner'; diff --git a/applications/print_fwk/print_xts/src/main/ets/test/List.test.ets b/applications/print_fwk/print_xts/src/main/ets/test/List.test.ets index 825de16a5b27179cf39feee7aca8f9dc7949753a..f8e1e3ae67b0b5d7836ca5d4436a6a7677092743 100644 --- a/applications/print_fwk/print_xts/src/main/ets/test/List.test.ets +++ b/applications/print_fwk/print_xts/src/main/ets/test/List.test.ets @@ -1,15 +1,17 @@ -# Copyright (C) 2023 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. +/* + * Copyright (c) 2023 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 printTest from './print.test' diff --git a/applications/print_fwk/print_xts/src/main/ets/test/print.test.ets b/applications/print_fwk/print_xts/src/main/ets/test/print.test.ets index 5d8e22bcf5c210ed6caa90d230157ca02a9dfed3..8668282b8c16501066b5e00d527ba5d80a559602 100644 --- a/applications/print_fwk/print_xts/src/main/ets/test/print.test.ets +++ b/applications/print_fwk/print_xts/src/main/ets/test/print.test.ets @@ -1,15 +1,17 @@ -# Copyright (C) 2023 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. +/* + * Copyright (c) 2023 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'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'