Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lzh_me
Sureness
提交
0bde6a8f
Sureness
项目概览
lzh_me
/
Sureness
与 Fork 源项目一致
Fork自
sureness / Sureness
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Sureness
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0bde6a8f
编写于
5月 07, 2020
作者:
sinat_25235033
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix mvn test can not run test method use junit 5
上级
b990eabe
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
30 deletion
+10
-30
pom.xml
pom.xml
+0
-6
sample-tom/pom.xml
sample-tom/pom.xml
+4
-16
sample-tom/src/test/java/com/usthe/sureness/sample/tom/TomApplicationTest.java
...ava/com/usthe/sureness/sample/tom/TomApplicationTest.java
+1
-2
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthResourceDaoTest.java
...om/usthe/sureness/sample/tom/dao/AuthResourceDaoTest.java
+1
-2
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthRoleDaoTest.java
...va/com/usthe/sureness/sample/tom/dao/AuthRoleDaoTest.java
+1
-1
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthRoleResourceBindDaoTest.java
.../sureness/sample/tom/dao/AuthRoleResourceBindDaoTest.java
+1
-1
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthUserDaoTest.java
...va/com/usthe/sureness/sample/tom/dao/AuthUserDaoTest.java
+1
-1
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthUserRoleBindDaoTest.java
...sthe/sureness/sample/tom/dao/AuthUserRoleBindDaoTest.java
+1
-1
未找到文件。
pom.xml
浏览文件 @
0bde6a8f
...
...
@@ -59,12 +59,6 @@
<version>
${easymock.version}
</version>
<scope>
test
</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>junit</groupId>-->
<!-- <artifactId>junit</artifactId>-->
<!-- <version>${junit.version}</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
</dependencies>
</dependencyManagement>
...
...
sample-tom/pom.xml
浏览文件 @
0bde6a8f
...
...
@@ -85,22 +85,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Junit 5 -->
<!-- <dependency>-->
<!-- <groupId>org.junit.jupiter</groupId>-->
<!-- <artifactId>junit-jupiter-api</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.junit.jupiter</groupId>-->
<!-- <artifactId>junit-jupiter-params</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.junit.jupiter</groupId>-->
<!-- <artifactId>junit-jupiter-engine</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
</dependencies>
<build>
...
...
@@ -111,6 +95,10 @@
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
2.2.6.RELEASE
</version>
</plugin>
<plugin>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.22.2
</version>
</plugin>
<!-- java code style check -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
...
...
sample-tom/src/test/java/com/usthe/sureness/sample/tom/TomApplicationTest.java
浏览文件 @
0bde6a8f
...
...
@@ -9,5 +9,4 @@ import org.springframework.boot.test.context.SpringBootTest;
* @date 19:32 2019-07-29
*/
@SpringBootTest
public
class
TomApplicationTest
{
}
\ No newline at end of file
public
class
TomApplicationTest
{}
\ No newline at end of file
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthResourceDaoTest.java
浏览文件 @
0bde6a8f
...
...
@@ -11,7 +11,6 @@ import org.springframework.transaction.annotation.Transactional;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.Set
;
/**
...
...
@@ -19,7 +18,7 @@ import java.util.Set;
* @date 22:35 2019-07-27
*/
@DisplayName
(
"数据库表Resource操作测试"
)
public
class
AuthResourceDaoTest
extends
TomApplicationTest
{
class
AuthResourceDaoTest
extends
TomApplicationTest
{
@Autowired
private
AuthResourceDao
authResourceDao
;
...
...
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthRoleDaoTest.java
浏览文件 @
0bde6a8f
...
...
@@ -14,7 +14,7 @@ import org.springframework.transaction.annotation.Transactional;
* @date 23:59 2019-07-30
*/
@DisplayName
(
"数据库表Role操作测试"
)
public
class
AuthRoleDaoTest
extends
TomApplicationTest
{
class
AuthRoleDaoTest
extends
TomApplicationTest
{
@Autowired
private
AuthRoleDao
authRoleDao
;
...
...
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthRoleResourceBindDaoTest.java
浏览文件 @
0bde6a8f
...
...
@@ -16,7 +16,7 @@ import org.springframework.transaction.annotation.Transactional;
* @date 00:10 2019-07-31
*/
@DisplayName
(
"数据库表RoleResourceBind操作测试"
)
public
class
AuthRoleResourceBindDaoTest
extends
TomApplicationTest
{
class
AuthRoleResourceBindDaoTest
extends
TomApplicationTest
{
@Autowired
private
AuthRoleResourceBindDao
roleResourceBindDao
;
...
...
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthUserDaoTest.java
浏览文件 @
0bde6a8f
...
...
@@ -14,7 +14,7 @@ import org.springframework.transaction.annotation.Transactional;
* @date 00:46 2019-07-31
*/
@DisplayName
(
"数据库表User操作测试"
)
public
class
AuthUserDaoTest
extends
TomApplicationTest
{
class
AuthUserDaoTest
extends
TomApplicationTest
{
@Autowired
private
AuthUserDao
authUserDao
;
...
...
sample-tom/src/test/java/com/usthe/sureness/sample/tom/dao/AuthUserRoleBindDaoTest.java
浏览文件 @
0bde6a8f
...
...
@@ -16,7 +16,7 @@ import org.springframework.transaction.annotation.Transactional;
* @date 00:52 2019-07-31
*/
@DisplayName
(
"数据库表UserRoleBind操作测试"
)
public
class
AuthUserRoleBindDaoTest
extends
TomApplicationTest
{
class
AuthUserRoleBindDaoTest
extends
TomApplicationTest
{
@Autowired
private
AuthUserRoleBindDao
userRoleBindDao
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录