From cf4a9bb4a27373d5a0d6d39c7a5416f8c224df35 Mon Sep 17 00:00:00 2001 From: zhangrao Date: Sun, 27 Feb 2022 22:06:09 -0800 Subject: [PATCH] add compnent Signed-off-by: zhangrao --- .../src/main/ets/MainAbility/pages/motionPath.ets | 15 ++++++++++++++- .../MainAbility/test/MotionPathJsunit.test.ets | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) mode change 100755 => 100644 ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets mode change 100755 => 100644 ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets old mode 100755 new mode 100644 index b305961dd..4f05c9681 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets @@ -1,4 +1,17 @@ -// @ts-nocheck +/** + * 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 events_emitter from '@ohos.emitter' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets old mode 100755 new mode 100644 index 92264738d..7decc8125 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets @@ -1,4 +1,17 @@ -// @ts-nocheck +/** + * 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 "deccjsunit/index.ets" import router from '@system.router'; -- GitLab