Skip to content

Commit 5a710e1

Browse files
authored
Merge pull request #43 from hazendaz/master
Update to junit 5
2 parents 36f9de0 + 0ff4572 commit 5a710e1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
22
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar
33

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
| test dependencies
9292
-->
9393
<dependency>
94-
<groupId>org.junit.vintage</groupId>
95-
<artifactId>junit-vintage-engine</artifactId>
94+
<groupId>org.junit.jupiter</groupId>
95+
<artifactId>junit-jupiter-engine</artifactId>
9696
<version>5.3.2</version>
9797
<scope>test</scope>
9898
</dependency>

src/test/java/org/mybatis/caches/memcached/MemcachedTestCase.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
*/
1616
package org.mybatis.caches.memcached;
1717

18-
import static org.junit.Assert.assertEquals;
19-
import static org.junit.Assert.assertNotNull;
20-
import static org.junit.Assert.assertNull;
18+
import static org.junit.jupiter.api.Assertions.assertEquals;
19+
import static org.junit.jupiter.api.Assertions.assertNotNull;
20+
import static org.junit.jupiter.api.Assertions.assertNull;
2121

2222
import java.util.ArrayList;
2323
import java.util.Arrays;
2424
import java.util.List;
2525
import java.util.Set;
2626

27-
import org.junit.Before;
28-
import org.junit.Test;
27+
import org.junit.jupiter.api.BeforeEach;
28+
import org.junit.jupiter.api.Test;
2929

3030
/**
3131
* HOW TO RUN THE TEST
@@ -44,7 +44,7 @@ public final class MemcachedTestCase {
4444

4545
private MemcachedCache cache;
4646

47-
@Before
47+
@BeforeEach
4848
public void newCache() {
4949
cache = new MemcachedCache(DEFAULT_ID);
5050
}

0 commit comments

Comments
 (0)