Skip to content

Commit 7e041cd

Browse files
author
lihuizhuo
committed
修改Junit版本
1 parent 6bda520 commit 7e041cd

File tree

14 files changed

+404
-400
lines changed

14 files changed

+404
-400
lines changed

.classpath

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
<attributes>
1111
<attribute name="optional" value="true"/>
1212
<attribute name="maven.pomderived" value="true"/>
13+
<attribute name="test" value="true"/>
1314
</attributes>
1415
</classpathentry>
15-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
16+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
1617
<attributes>
1718
<attribute name="maven.pomderived" value="true"/>
1819
</attributes>
@@ -22,6 +23,12 @@
2223
<attribute name="maven.pomderived" value="true"/>
2324
</attributes>
2425
</classpathentry>
25-
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
26+
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
27+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
28+
<attributes>
29+
<attribute name="maven.pomderived" value="true"/>
30+
<attribute name="test" value="true"/>
31+
</attributes>
32+
</classpathentry>
2633
<classpathentry kind="output" path="target/classes"/>
2734
</classpath>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
eclipse.preferences.version=1
22
encoding//src/main/java=UTF-8
33
encoding//src/test/java=UTF-8
4+
encoding//src/test/java/cn/swust/software/whitebox/Example1Test.java=UTF-8
5+
encoding//src/test/resources=UTF-8
46
encoding/<project>=UTF-8
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
eclipse.preferences.version=1
2-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
3-
org.eclipse.jdt.core.compiler.compliance=1.5
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3+
org.eclipse.jdt.core.compiler.compliance=1.8
4+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
45
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5-
org.eclipse.jdt.core.compiler.source=1.5
6+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7+
org.eclipse.jdt.core.compiler.release=disabled
8+
org.eclipse.jdt.core.compiler.source=1.8

README.md

Lines changed: 9 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,11 @@
1-
# 白盒测试实验
1+
# 测试用例,需要maven构建 需要将测试用例的类,改为public
22

3-
#### 项目介绍
4-
{**以下是码云平台说明,您可以替换为您的项目简介**
5-
码云是开源中国推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
6-
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
3+
# checkstyle Maven 命令
4+
mvn checkstyle:checkstyle
5+
# site Maven 命令
6+
mvn site
7+
# test report Maven 命令
8+
mvn test surefire-report:report
79

8-
#### 软件架构
9-
软件架构说明
10-
11-
12-
#### 安装教程
13-
14-
1. xxxx
15-
2. xxxx
16-
3. xxxx
17-
18-
#### 使用说明
19-
20-
1. xxxx
21-
2. xxxx
22-
3. xxxx
23-
24-
#### 参与贡献
25-
26-
1. Fork 本项目
27-
2. 新建 Feat_xxx 分支
28-
3. 提交代码
29-
4. 新建 Pull Request
30-
31-
32-
#### 码云特技
33-
34-
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
35-
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
36-
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
37-
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
38-
5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/)
39-
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
10+
# maven 构建完整命令
11+
clean install checkstyle:checkstyle surefire-report:report site

0 commit comments

Comments
 (0)