diff --git a/README.OPENSOURCE b/README.OPENSOURCE index 83eb741ec291b402d2c4c91e7b93d07035bb1dee..f324cf40a6b73776386747a33a66bc67d1983569 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -4,7 +4,7 @@ "License": "MIT License", "License File": "LICENSE", "Version Number": " Release版本号 v2.0.7-beta ", - "Upstream URL": https://github.com/zfman/TimetableView", + "Upstream URL": "https://github.com/zfman/TimetableView", "Description": "一款开源、完善、高效的课程表控件,支持添加广告、课程重叠自动处理、透明背景设置、空白格子点击事件处理等丰富的功能,并且有完善的开发文档、案例以供参考" } ] \ No newline at end of file diff --git a/entry/src/test/java/com/chinasoft/ohos/ExampleTest.java b/entry/src/ohostest/java/com/chinasoft/ohos/ExampleOhosTest.java similarity index 76% rename from entry/src/test/java/com/chinasoft/ohos/ExampleTest.java rename to entry/src/ohostest/java/com/chinasoft/ohos/ExampleOhosTest.java index adfbba003af6c7f2a9a71e2ac7e077ca70de773a..3401f21dd45acfd40bee0c5a2bcc5ce66133cf65 100644 --- a/entry/src/test/java/com/chinasoft/ohos/ExampleTest.java +++ b/entry/src/ohostest/java/com/chinasoft/ohos/ExampleOhosTest.java @@ -12,12 +12,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.chinasoft.ohos ; +package com.chinasoft.ohos; import org.junit.Test; -public class ExampleTest { +public class ExampleOhosTest { + //(全UI应用、不支持Context等等原因)不支持单元测试 @Test public void onStart() { + System.out.println("纯UI类项目,不涉及单元测试"); } } diff --git a/entry/src/ohostest/java/com/zhuangfei/android_timetableview/ExampleOhosTest.java b/entry/src/ohostest/java/com/zhuangfei/android_timetableview/ExampleOhosTest.java new file mode 100644 index 0000000000000000000000000000000000000000..b7c1a61ba88a40872264700cf7382d88bd672ecd --- /dev/null +++ b/entry/src/ohostest/java/com/zhuangfei/android_timetableview/ExampleOhosTest.java @@ -0,0 +1,25 @@ +/* + * 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. + */ +package com.zhuangfei.android_timetableview; + +import org.junit.Test; + +public class ExampleOhosTest { + //(全UI应用、不支持Context等等原因)不支持单元测试 + @Test + public void onStart() { + System.out.println("纯UI类项目,不涉及单元测试"); + } +}