From d653af1c6da19ae0aa1b3b9575619739f53657e3 Mon Sep 17 00:00:00 2001 From: qu-xianfei Date: Wed, 21 Jun 2023 11:16:12 +0800 Subject: [PATCH] add gn->hvigor Signed-off-by: qu-xianfei --- testfwk/uitest/BUILD.gn | 2 +- testfwk/uitest/build-profile.json5 | 14 ++++++++++++++ testfwk/uitest/entry/build-profile.json5 | 14 ++++++++++++++ testfwk/uitest/entry/hvigorfile.ts | 14 ++++++++++++++ testfwk/uitest/entry/oh-package.json5 | 14 ++++++++++++++ .../uitest/entry/src/main/ets/MainAbility/app.ets | 2 +- .../src/main/ets/MainAbility/pages/index.ets | 2 +- .../entry/src/ohosTest/ets/TestAbility/app.ets | 14 ++++++++++++++ .../src/ohosTest/ets/TestAbility/pages/index.ets | 14 ++++++++++++++ .../ets/TestRunner/OpenHarmonyTestRunner.ts | 14 ++++++++++++++ .../entry/src/ohosTest/ets/test/List.test.ets | 2 +- .../entry/src/ohosTest/ets/test/uitest.test.ets | 2 +- testfwk/uitest/hvigor/hvigor-config.json5 | 14 ++++++++++++++ testfwk/uitest/hvigorfile.ts | 14 ++++++++++++++ testfwk/uitest/hvigorw | 12 ++++++++++++ testfwk/uitest/hvigorw.bat | 13 +++++++++++++ testfwk/uitest/oh-package.json5 | 14 ++++++++++++++ .../js_api_test/function_test/userauth/BUILD.gn | 2 +- .../function_test/userauth/build-profile.json5 | 14 ++++++++++++++ .../userauth/entry/build-profile.json5 | 14 ++++++++++++++ .../function_test/userauth/entry/hvigorfile.ts | 14 ++++++++++++++ .../function_test/userauth/entry/oh-package.json5 | 14 ++++++++++++++ .../userauth/entry/src/main/js/MainAbility/app.js | 4 ++-- .../src/main/js/MainAbility/pages/index/index.js | 4 ++-- .../entry/src/ohosTest/js/TestAbility/app.js | 4 ++-- .../ohosTest/js/TestAbility/pages/index/index.js | 4 ++-- .../js/TestRunner/OpenHarmonyTestRunner.js | 14 ++++++++++++++ .../entry/src/ohosTest/js/test/List.Test.js | 4 ++-- .../entry/src/ohosTest/js/test/enumTest.js | 4 ++-- .../entry/src/ohosTest/js/test/execute.js | 4 ++-- .../userauth/hvigor/hvigor-config.json5 | 14 ++++++++++++++ .../function_test/userauth/hvigorfile.ts | 14 ++++++++++++++ .../js_api_test/function_test/userauth/hvigorw | 13 +++++++++++++ .../function_test/userauth/hvigorw.bat | 13 +++++++++++++ .../function_test/userauth/oh-package.json5 | 14 ++++++++++++++ .../function_test/userauthnopermission/BUILD.gn | 3 ++- .../userauthnopermission/build-profile.json5 | 14 ++++++++++++++ .../entry/build-profile.json5 | 14 ++++++++++++++ .../userauthnopermission/entry/hvigorfile.ts | 14 ++++++++++++++ .../userauthnopermission/entry/oh-package.json5 | 14 ++++++++++++++ .../entry/src/main/js/MainAbility/app.js | 4 ++-- .../src/main/js/MainAbility/pages/index/index.js | 4 ++-- .../entry/src/ohosTest/js/TestAbility/app.js | 4 ++-- .../ohosTest/js/TestAbility/pages/index/index.js | 4 ++-- .../js/TestRunner/OpenHarmonyTestRunner.js | 14 ++++++++++++++ .../entry/src/ohosTest/js/test/List.Test.js | 4 ++-- .../entry/src/ohosTest/js/test/nopermisson.js | 4 ++-- .../hvigor/hvigor-config.json5 | 14 ++++++++++++++ .../userauthnopermission/hvigorfile.ts | 15 +++++++++++++++ .../function_test/userauthnopermission/hvigorw | 13 +++++++++++++ .../userauthnopermission/hvigorw.bat | 13 +++++++++++++ .../userauthnopermission/oh-package.json5 | 15 +++++++++++++++ 52 files changed, 477 insertions(+), 33 deletions(-) diff --git a/testfwk/uitest/BUILD.gn b/testfwk/uitest/BUILD.gn index a8da02d55..48d86282b 100644 --- a/testfwk/uitest/BUILD.gn +++ b/testfwk/uitest/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Huawei Device Co., Ltd. +# 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 diff --git a/testfwk/uitest/build-profile.json5 b/testfwk/uitest/build-profile.json5 index c0f367ee2..65051a19f 100644 --- a/testfwk/uitest/build-profile.json5 +++ b/testfwk/uitest/build-profile.json5 @@ -1,3 +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. + */ { "app": { "signingConfigs": [ diff --git a/testfwk/uitest/entry/build-profile.json5 b/testfwk/uitest/entry/build-profile.json5 index ae58d1d0a..08ca0007c 100644 --- a/testfwk/uitest/entry/build-profile.json5 +++ b/testfwk/uitest/entry/build-profile.json5 @@ -1,3 +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. + */ { "apiType": 'faMode', "buildOption": { diff --git a/testfwk/uitest/entry/hvigorfile.ts b/testfwk/uitest/entry/hvigorfile.ts index c4c187d26..89d831db3 100644 --- a/testfwk/uitest/entry/hvigorfile.ts +++ b/testfwk/uitest/entry/hvigorfile.ts @@ -1,2 +1,16 @@ +/** + * 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. + */ // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyHapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/testfwk/uitest/entry/oh-package.json5 b/testfwk/uitest/entry/oh-package.json5 index 225946cb1..344f77fde 100644 --- a/testfwk/uitest/entry/oh-package.json5 +++ b/testfwk/uitest/entry/oh-package.json5 @@ -1,3 +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. + */ { "license": "", "devDependencies": {}, diff --git a/testfwk/uitest/entry/src/main/ets/MainAbility/app.ets b/testfwk/uitest/entry/src/main/ets/MainAbility/app.ets index 9dcd7030b..86b545bb3 100644 --- a/testfwk/uitest/entry/src/main/ets/MainAbility/app.ets +++ b/testfwk/uitest/entry/src/main/ets/MainAbility/app.ets @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022 Huawei Device Co., Ltd. + * 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 diff --git a/testfwk/uitest/entry/src/main/ets/MainAbility/pages/index.ets b/testfwk/uitest/entry/src/main/ets/MainAbility/pages/index.ets index 7ab94fa13..a8ef16ed7 100644 --- a/testfwk/uitest/entry/src/main/ets/MainAbility/pages/index.ets +++ b/testfwk/uitest/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022 Huawei Device Co., Ltd. + * 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 diff --git a/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/app.ets b/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/app.ets index 9d8b97963..a0c331dc9 100644 --- a/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/app.ets +++ b/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/app.ets @@ -1,3 +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. + */ import hilog from '@ohos.hilog'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; import { Hypium } from '@ohos/hypium'; diff --git a/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/pages/index.ets b/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/pages/index.ets index 1f2d3e57f..73092c9d6 100644 --- a/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/pages/index.ets +++ b/testfwk/uitest/entry/src/ohosTest/ets/TestAbility/pages/index.ets @@ -1,3 +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. + */ import hilog from '@ohos.hilog'; @Entry diff --git a/testfwk/uitest/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts b/testfwk/uitest/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts index 882019408..b9cf698ef 100644 --- a/testfwk/uitest/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts +++ b/testfwk/uitest/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -1,3 +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. + */ import hilog from '@ohos.hilog'; import TestRunner from '@ohos.application.testRunner'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/testfwk/uitest/entry/src/ohosTest/ets/test/List.test.ets b/testfwk/uitest/entry/src/ohosTest/ets/test/List.test.ets index 9e8b70eeb..ce366b4bf 100644 --- a/testfwk/uitest/entry/src/ohosTest/ets/test/List.test.ets +++ b/testfwk/uitest/entry/src/ohosTest/ets/test/List.test.ets @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022 Huawei Device Co., Ltd. + * 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 diff --git a/testfwk/uitest/entry/src/ohosTest/ets/test/uitest.test.ets b/testfwk/uitest/entry/src/ohosTest/ets/test/uitest.test.ets index 46896a121..1db1a0a80 100644 --- a/testfwk/uitest/entry/src/ohosTest/ets/test/uitest.test.ets +++ b/testfwk/uitest/entry/src/ohosTest/ets/test/uitest.test.ets @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022 Huawei Device Co., Ltd. + * 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 diff --git a/testfwk/uitest/hvigor/hvigor-config.json5 b/testfwk/uitest/hvigor/hvigor-config.json5 index ff6881224..e84339bcc 100644 --- a/testfwk/uitest/hvigor/hvigor-config.json5 +++ b/testfwk/uitest/hvigor/hvigor-config.json5 @@ -1,3 +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. + */ { "hvigorVersion": "2.0.0", "dependencies": { diff --git a/testfwk/uitest/hvigorfile.ts b/testfwk/uitest/hvigorfile.ts index 69abc1cd8..0b9c10fc3 100644 --- a/testfwk/uitest/hvigorfile.ts +++ b/testfwk/uitest/hvigorfile.ts @@ -1,2 +1,16 @@ +/** + * 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. + */ // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyAppTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/testfwk/uitest/hvigorw b/testfwk/uitest/hvigorw index 54aadd226..b034f2d88 100644 --- a/testfwk/uitest/hvigorw +++ b/testfwk/uitest/hvigorw @@ -1,3 +1,15 @@ +# 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. #!/bin/bash # ---------------------------------------------------------------------------- diff --git a/testfwk/uitest/hvigorw.bat b/testfwk/uitest/hvigorw.bat index 29196b4d4..a9cc1302d 100644 --- a/testfwk/uitest/hvigorw.bat +++ b/testfwk/uitest/hvigorw.bat @@ -1,3 +1,16 @@ +@rem Copyright (C) 2023 Huawei Device Co., Ltd. +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. + @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem diff --git a/testfwk/uitest/oh-package.json5 b/testfwk/uitest/oh-package.json5 index 2baff0ad4..f52f78399 100644 --- a/testfwk/uitest/oh-package.json5 +++ b/testfwk/uitest/oh-package.json5 @@ -1,3 +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. + */ { "license": "", "devDependencies": { diff --git a/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn b/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn index 51f091701..f0d23fe3c 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn +++ b/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/build-profile.json5 b/useriam/face_auth/js_api_test/function_test/userauth/build-profile.json5 index 91d8f6db1..0daeed4eb 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/build-profile.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauth/build-profile.json5 @@ -1,3 +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. + */ { "app": { "signingConfigs": [ diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/build-profile.json5 b/useriam/face_auth/js_api_test/function_test/userauth/entry/build-profile.json5 index ae58d1d0a..08ca0007c 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/build-profile.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/build-profile.json5 @@ -1,3 +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. + */ { "apiType": 'faMode', "buildOption": { diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/hvigorfile.ts b/useriam/face_auth/js_api_test/function_test/userauth/entry/hvigorfile.ts index c4c187d26..89d831db3 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/hvigorfile.ts +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/hvigorfile.ts @@ -1,2 +1,16 @@ +/** + * 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. + */ // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyHapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/oh-package.json5 b/useriam/face_auth/js_api_test/function_test/userauth/entry/oh-package.json5 index 225946cb1..344f77fde 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/oh-package.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/oh-package.json5 @@ -1,3 +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. + */ { "license": "", "devDependencies": {}, diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/app.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/app.js index 7c1634e06..dbd2d0f36 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/app.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/app.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/pages/index/index.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/pages/index/index.js index b5ddff459..0a21a1eb3 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/pages/index/index.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/main/js/MainAbility/pages/index/index.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/app.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/app.js index 3e85bdf74..c10973574 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/app.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/app.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/pages/index/index.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/pages/index/index.js index 780afff9f..7bde2b55a 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/pages/index/index.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestAbility/pages/index/index.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js index 667a02904..03ccc5b69 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js @@ -1,3 +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. + */ import hilog from '@ohos.hilog'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/List.Test.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/List.Test.js index 28b1960db..a2c57dd69 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/List.Test.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/List.Test.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/enumTest.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/enumTest.js index f25a9c64e..b8a1bb1fa 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/enumTest.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/enumTest.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/execute.js b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/execute.js index cbf058122..2993dec46 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/execute.js +++ b/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/execute.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauth/hvigor/hvigor-config.json5 b/useriam/face_auth/js_api_test/function_test/userauth/hvigor/hvigor-config.json5 index ff6881224..e84339bcc 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/hvigor/hvigor-config.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauth/hvigor/hvigor-config.json5 @@ -1,3 +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. + */ { "hvigorVersion": "2.0.0", "dependencies": { diff --git a/useriam/face_auth/js_api_test/function_test/userauth/hvigorfile.ts b/useriam/face_auth/js_api_test/function_test/userauth/hvigorfile.ts index 69abc1cd8..0b9c10fc3 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/hvigorfile.ts +++ b/useriam/face_auth/js_api_test/function_test/userauth/hvigorfile.ts @@ -1,2 +1,16 @@ +/** + * 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. + */ // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyAppTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/useriam/face_auth/js_api_test/function_test/userauth/hvigorw b/useriam/face_auth/js_api_test/function_test/userauth/hvigorw index 54aadd226..b4d7760e7 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/hvigorw +++ b/useriam/face_auth/js_api_test/function_test/userauth/hvigorw @@ -1,3 +1,16 @@ +# 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. + #!/bin/bash # ---------------------------------------------------------------------------- diff --git a/useriam/face_auth/js_api_test/function_test/userauth/hvigorw.bat b/useriam/face_auth/js_api_test/function_test/userauth/hvigorw.bat index 29196b4d4..a9cc1302d 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/hvigorw.bat +++ b/useriam/face_auth/js_api_test/function_test/userauth/hvigorw.bat @@ -1,3 +1,16 @@ +@rem Copyright (C) 2023 Huawei Device Co., Ltd. +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. + @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem diff --git a/useriam/face_auth/js_api_test/function_test/userauth/oh-package.json5 b/useriam/face_auth/js_api_test/function_test/userauth/oh-package.json5 index 2baff0ad4..f52f78399 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/oh-package.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauth/oh-package.json5 @@ -1,3 +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. + */ { "license": "", "devDependencies": { diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn b/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn index 883c7af38..e418191b6 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# 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 @@ -10,6 +10,7 @@ # 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("//test/xts/tools/build/suite.gni") ohos_js_app_suite("ActsUserauthnopermissionTest") { diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/build-profile.json5 b/useriam/face_auth/js_api_test/function_test/userauthnopermission/build-profile.json5 index be947251d..08d1f4439 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/build-profile.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/build-profile.json5 @@ -1,3 +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. + */ { "app": { "signingConfigs": [ diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/build-profile.json5 b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/build-profile.json5 index ae58d1d0a..08ca0007c 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/build-profile.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/build-profile.json5 @@ -1,3 +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. + */ { "apiType": 'faMode', "buildOption": { diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/hvigorfile.ts b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/hvigorfile.ts index c4c187d26..89d831db3 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/hvigorfile.ts +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/hvigorfile.ts @@ -1,2 +1,16 @@ +/** + * 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. + */ // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyHapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/oh-package.json5 b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/oh-package.json5 index 225946cb1..344f77fde 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/oh-package.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/oh-package.json5 @@ -1,3 +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. + */ { "license": "", "devDependencies": {}, diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/app.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/app.js index 7c1634e06..dbd2d0f36 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/app.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/app.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/pages/index/index.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/pages/index/index.js index b5ddff459..0a21a1eb3 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/pages/index/index.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/main/js/MainAbility/pages/index/index.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/app.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/app.js index 3e85bdf74..c10973574 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/app.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/app.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/pages/index/index.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/pages/index/index.js index 03bd917c0..4a6d9cf87 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/pages/index/index.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestAbility/pages/index/index.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js index 667a02904..03ccc5b69 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/TestRunner/OpenHarmonyTestRunner.js @@ -1,3 +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. + */ import hilog from '@ohos.hilog'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/List.Test.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/List.Test.js index 5b5ee6912..b5077d01c 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/List.Test.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/List.Test.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/nopermisson.js b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/nopermisson.js index bb75dcbd7..927c67519 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/nopermisson.js +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/entry/src/ohosTest/js/test/nopermisson.js @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. +/** + * 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 diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigor/hvigor-config.json5 b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigor/hvigor-config.json5 index ff6881224..e84339bcc 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigor/hvigor-config.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigor/hvigor-config.json5 @@ -1,3 +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. + */ { "hvigorVersion": "2.0.0", "dependencies": { diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorfile.ts b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorfile.ts index 69abc1cd8..3b846507a 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorfile.ts +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorfile.ts @@ -1,2 +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. + */ + // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { legacyAppTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw index 54aadd226..b4d7760e7 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw @@ -1,3 +1,16 @@ +# 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. + #!/bin/bash # ---------------------------------------------------------------------------- diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw.bat b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw.bat index 29196b4d4..a9cc1302d 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw.bat +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/hvigorw.bat @@ -1,3 +1,16 @@ +@rem Copyright (C) 2023 Huawei Device Co., Ltd. +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. + @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/oh-package.json5 b/useriam/face_auth/js_api_test/function_test/userauthnopermission/oh-package.json5 index 2baff0ad4..125d851f9 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/oh-package.json5 +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/oh-package.json5 @@ -1,3 +1,18 @@ +/** + * 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. + */ + { "license": "", "devDependencies": { -- GitLab