提交 0bde6a8f 编写于 作者: sinat_25235033's avatar sinat_25235033

fix mvn test can not run test method use junit 5

上级 b990eabe
......@@ -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>
......
......@@ -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>
......
......@@ -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
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册