File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/test/java/org/mybatis/caches/memcached Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
22wrapperUrl =https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar
33
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1515 */
1616package 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
2222import java .util .ArrayList ;
2323import java .util .Arrays ;
2424import java .util .List ;
2525import 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 }
You can’t perform that action at this time.
0 commit comments