From 367115d6a90bf0776a3696b4d8d514250a1c1421 Mon Sep 17 00:00:00 2001 From: xiongqiao Date: Tue, 22 Aug 2023 19:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=B7=BB=E5=8A=A0xts?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=20Signed-off-by:xiongqiao3?= =?UTF-8?q?@huawei.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiongqiao --- applications/BUILD.gn | 4 +-- .../src/main/ets/TestAbility/TestAbility.ets | 26 ++++++++++--------- .../src/main/ets/TestAbility/pages/Index.ets | 26 ++++++++++--------- .../ets/TestRunner/OpenHarmonyTestRunner.ts | 26 ++++++++++--------- .../print_xts/src/main/ets/test/List.test.ets | 26 ++++++++++--------- .../src/main/ets/test/print.test.ets | 26 ++++++++++--------- 6 files changed, 72 insertions(+), 62 deletions(-) diff --git a/applications/BUILD.gn b/applications/BUILD.gn index 16218f9f7..fe1ca2192 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 17af2d29e..260c9267d 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 edf3dc3c4..40f0a77ae 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 e598390c5..c6cd48381 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 825de16a5..f8e1e3ae6 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 5d8e22bcf..8668282b8 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' -- GitLab