diff --git a/testfwk/uitest/BUILD.gn b/testfwk/uitest/BUILD.gn index a8da02d5536f23b05db5a3cd581158a987f76e45..48d86282b006039b6896f2f78c2535eba75fe70d 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 c0f367ee257787702ece0e5f9208dd31a3bccdd8..65051a19f65d2420d737a06a5643a22894315795 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 ae58d1d0a70c602c9cfe1909b00dfec899ba1944..08ca0007caa37730cbbbef16c037e8327ae403f2 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 c4c187d26c30546ed81a44e1979d6ec2be6e52c2..89d831db3f5a6431ef4f9078128ad61b6ae36c48 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 225946cb11a2c405c8dc81eea89c22f923556638..344f77fde5cdaf946ca8a2e7d11a02f18b5c8151 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 9dcd7030b04989844011e4f2b34fd9bfd2a6be5b..86b545bb3d26d97be62535535ea2d718f7b23044 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 7ab94fa133a9b7486deb302bfcb4a1b2762ae929..a8ef16ed7dffb5851a1a52573527406bd8592b21 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 9d8b979637d9ad2facabb7c60656de06c11e112c..a0c331dc92a4a42d7697ef0c368e411d67ba223e 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 1f2d3e57fe33f12665dce5758fbfc2acb561f047..73092c9d69279b3a85abeca96c846fb5550fc231 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 882019408b8fc532e99f45ab86d7c9738299d3e7..b9cf698eff9c73eb68ef772a8459bd7547ed2cf2 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 9e8b70eeb0b98775b6b320f091c5a1decb4006f2..ce366b4bfc6afa27799dcbb0300ba35532118416 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 46896a12133d68fbee69b9b871cb27b0b90cc85b..1db1a0a80201301303b45dfd5dfbdba89d58b2e9 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 ff688122467308d3cd299c5b2f36be03fb84f4b0..e84339bcc38e6bef4f727d1ac68ac14954d016d6 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 69abc1cd8993964eeb2ff1f948832e8cf61b6a48..0b9c10fc3ade5a54609b2d639f808ca7c25a611a 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 54aadd226b453397860013d328fd01031648fc31..b034f2d8888a798bccfd89e0194b80fa8c6604a4 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 29196b4d4e82f370133574d33636bdf9c7440a0b..a9cc1302dc821de7f9f82c3327673a730945ec7d 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 2baff0ad4ce8ca0955130a34914911277cc46467..f52f783993d4f82689b8db8df4f390917b7c56a7 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 51f09170182540aa2ebacda80bdbe6333b575056..f0d23fe3c99287a4aabbda98d08aeffa6c65b5c2 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 91d8f6db143a82287d72539f300f1aeb92a851ae..0daeed4eb75ab9335576c2207e57a6d3b9169d5a 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 ae58d1d0a70c602c9cfe1909b00dfec899ba1944..08ca0007caa37730cbbbef16c037e8327ae403f2 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 c4c187d26c30546ed81a44e1979d6ec2be6e52c2..89d831db3f5a6431ef4f9078128ad61b6ae36c48 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 225946cb11a2c405c8dc81eea89c22f923556638..344f77fde5cdaf946ca8a2e7d11a02f18b5c8151 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 7c1634e06861384991baefb1bac1c121a783e9c1..dbd2d0f364e142796ec0d01a2d53cc3bea927075 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 b5ddff4596d3e5134375026bca795908c26d942e..0a21a1eb3d7e4640f1797611aa8e601cd9e3ab89 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 3e85bdf7494b43ddf3cd2ea5d625c8bbe4f8c09e..c109735742588c45f0cdca8cf8f5b3a30707fe60 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 780afff9fa0c883296cd9d6efa81f0e484851892..7bde2b55adff09e2387b3fda03fd34ea2ba41869 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 667a0290494053cf1cf9a03cdec7e2afbbb6dc14..03ccc5b691574b1d5bc46adefc08d9ddfc4a1f5c 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 28b1960dba71cc5a326598c1b7b8c2beb50ec9f7..a2c57dd699d0b26df14553174198fcb7c36338d8 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 f25a9c64e77da55bc4dc2f4314d7a2c48874ae86..b8a1bb1fa7294c0b4c237adc2de56f21acf20bda 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 cbf058122ce3221afbfd915e147c234f7f7d6e39..2993dec461cdeed47a5c7aa36b2540c899e060f2 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 ff688122467308d3cd299c5b2f36be03fb84f4b0..e84339bcc38e6bef4f727d1ac68ac14954d016d6 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 69abc1cd8993964eeb2ff1f948832e8cf61b6a48..0b9c10fc3ade5a54609b2d639f808ca7c25a611a 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 54aadd226b453397860013d328fd01031648fc31..b4d7760e72934718fc616fcef2806a1c7f04ba34 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 29196b4d4e82f370133574d33636bdf9c7440a0b..a9cc1302dc821de7f9f82c3327673a730945ec7d 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 2baff0ad4ce8ca0955130a34914911277cc46467..f52f783993d4f82689b8db8df4f390917b7c56a7 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 883c7af38a77360d0623949e48fca12a4210d15f..e418191b6871a378a89b1dfc00e2a48bcd6aae75 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 be947251d4171520f53c9cb9aee36fead22309d3..08d1f44397df2a75ba17268dadd8f58ad046f3e0 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 ae58d1d0a70c602c9cfe1909b00dfec899ba1944..08ca0007caa37730cbbbef16c037e8327ae403f2 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 c4c187d26c30546ed81a44e1979d6ec2be6e52c2..89d831db3f5a6431ef4f9078128ad61b6ae36c48 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 225946cb11a2c405c8dc81eea89c22f923556638..344f77fde5cdaf946ca8a2e7d11a02f18b5c8151 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 7c1634e06861384991baefb1bac1c121a783e9c1..dbd2d0f364e142796ec0d01a2d53cc3bea927075 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 b5ddff4596d3e5134375026bca795908c26d942e..0a21a1eb3d7e4640f1797611aa8e601cd9e3ab89 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 3e85bdf7494b43ddf3cd2ea5d625c8bbe4f8c09e..c109735742588c45f0cdca8cf8f5b3a30707fe60 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 03bd917c0123597a86c7e79d5f4e154846b3f645..4a6d9cf877862c69ff41462c2fa23968ebdd2b6b 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 667a0290494053cf1cf9a03cdec7e2afbbb6dc14..03ccc5b691574b1d5bc46adefc08d9ddfc4a1f5c 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 5b5ee6912aded8925f326bf68e878c20b1848747..b5077d01c2fa383b8df0518b0a960e1c5e482a0b 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 bb75dcbd763438b6b3c77cfee8218a411ee40655..927c6751952695b2b61c91270f5f399365b5a68e 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 ff688122467308d3cd299c5b2f36be03fb84f4b0..e84339bcc38e6bef4f727d1ac68ac14954d016d6 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 69abc1cd8993964eeb2ff1f948832e8cf61b6a48..3b846507adfe4a668350cbc3a965448a2bf02ff0 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 54aadd226b453397860013d328fd01031648fc31..b4d7760e72934718fc616fcef2806a1c7f04ba34 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 29196b4d4e82f370133574d33636bdf9c7440a0b..a9cc1302dc821de7f9f82c3327673a730945ec7d 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 2baff0ad4ce8ca0955130a34914911277cc46467..125d851f99efde4824ab3fa23389129371db9145 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": {