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 9499640b21006ecea8cb4dd552c1a934cbdabd37..1e4ed6ac3d5a8558aa371b9fc53bd3b231c2c4f4 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 a5903152a8fcdd7afe3260d6d36cae3af9986181..9d7459acd9f04980bb8977ee58bfed4fb142cab8 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'