From 397b494941d2d3caaa35de18e86a7d714770ca5c Mon Sep 17 00:00:00 2001 From: zhangjuan Date: Thu, 29 Sep 2022 21:44:27 +0800 Subject: [PATCH] add LicenseHeader Signed-off-by: zhangjuan --- .../entry/src/main/cpp/napi/napi_test.cpp | 17 +++++++++++++++-- .../entry/src/main/ets/test/NapiEtsTest.ets | 15 +++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/arkui/ace_napi_test/entry/src/main/cpp/napi/napi_test.cpp b/arkui/ace_napi_test/entry/src/main/cpp/napi/napi_test.cpp index 9499640b2..1e4ed6ac3 100644 --- a/arkui/ace_napi_test/entry/src/main/cpp/napi/napi_test.cpp +++ b/arkui/ace_napi_test/entry/src/main/cpp/napi/napi_test.cpp @@ -1,7 +1,20 @@ -#include "common/native_common.h" +/* + * Copyright (c) 2021 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. + */ +#include "common/native_common.h" #include "napi/native_api.h" - #include #include #include diff --git a/arkui/ace_napi_test/entry/src/main/ets/test/NapiEtsTest.ets b/arkui/ace_napi_test/entry/src/main/ets/test/NapiEtsTest.ets index a5903152a..9d7459acd 100644 --- a/arkui/ace_napi_test/entry/src/main/ets/test/NapiEtsTest.ets +++ b/arkui/ace_napi_test/entry/src/main/ets/test/NapiEtsTest.ets @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import napitest from 'libnapitest.so' -- GitLab