From f9c84a73ac04992b027efcf040389bd3f0406ae8 Mon Sep 17 00:00:00 2001 From: ZYF949 <446962864@qq.com> Date: Tue, 17 Aug 2021 16:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0gitee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++---- README.md | 3 ++- build.gradle | 2 +- entry/build.gradle | 2 +- .../wrapp/example/floatlabelededittext/ExampleOhosTest.java | 1 + 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f013c6..97a7a23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,6 @@ ohos第一个版本 * 实现了原库基本功能 -部分效果未实现 +* 因系统本身不具备此特性,TextField密码掩码为* -​ 1.TextField密码掩码为*,原项目为●,该效果为原项目系统自带特性,openharmony无该特性 - -​ 2.TextField被选中时无复制、粘贴等弹窗,此效果为原项目系统自带特性,openharmony暂无该特性 \ No newline at end of file +* 因系统本身不具备此特性,TextField被选中时无复制、粘贴等弹窗 \ No newline at end of file diff --git a/README.md b/README.md index 129b4d9..54e6269 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,8 @@ CloudTest代码测试无异常 #### 版权和许可信息 +```txt 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. - +``` diff --git a/build.gradle b/build.gradle index ffb7d0b..c486f4f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.huawei.ohos.app' //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/entry/build.gradle b/entry/build.gradle index f5b00e8..278f24c 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/entry/src/ohosTest/java/com/wrapp/example/floatlabelededittext/ExampleOhosTest.java b/entry/src/ohosTest/java/com/wrapp/example/floatlabelededittext/ExampleOhosTest.java index b641008..76c8f4d 100644 --- a/entry/src/ohosTest/java/com/wrapp/example/floatlabelededittext/ExampleOhosTest.java +++ b/entry/src/ohosTest/java/com/wrapp/example/floatlabelededittext/ExampleOhosTest.java @@ -6,6 +6,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; public class ExampleOhosTest { + // entry下需要context,无法进行单元测试 @Test public void testBundleName() { final String actualBundleName = AbilityDelegatorRegistry.getArguments().getTestBundleName(); -- Gitee