File tree Expand file tree Collapse file tree 3 files changed +39
-5
lines changed
src/main/java/org/javalite/activejdbc/test Expand file tree Collapse file tree 3 files changed +39
-5
lines changed Original file line number Diff line number Diff line change 404
404
<scope >provided</scope >
405
405
</dependency >
406
406
407
+ <dependency >
408
+ <groupId >org.junit.jupiter</groupId >
409
+ <artifactId >junit-jupiter-engine</artifactId >
410
+ <version >${junit-jupiter.version} </version >
411
+ <scope >provided</scope >
412
+ </dependency >
413
+
414
+ <dependency >
415
+ <groupId >org.junit.vintage</groupId >
416
+ <artifactId >junit-vintage-engine</artifactId >
417
+ <version >${junit-jupiter.version} </version >
418
+ <scope >provided</scope >
419
+ </dependency >
420
+
407
421
<dependency >
408
422
<groupId >javax.servlet</groupId >
409
423
<artifactId >servlet-api</artifactId >
Original file line number Diff line number Diff line change 23
23
import org .javalite .test .jspec .JSpecSupport ;
24
24
import org .junit .After ;
25
25
import org .junit .Before ;
26
+ import org .junit .jupiter .api .AfterEach ;
27
+ import org .junit .jupiter .api .BeforeEach ;
26
28
import org .slf4j .Logger ;
27
29
import org .slf4j .LoggerFactory ;
28
30
@@ -100,7 +102,7 @@ public void setRollback(boolean rollback) {
100
102
}
101
103
}
102
104
103
- @ Before
105
+ @ Before @ BeforeEach
104
106
public final void openTestConnections () {
105
107
106
108
if (!suppressDb ){
@@ -121,7 +123,7 @@ public final void openTestConnections() {
121
123
}
122
124
}
123
125
124
- @ After
126
+ @ After @ AfterEach
125
127
public final void closeTestConnections () {
126
128
if (!suppressDb ){
127
129
List <ConnectionSpecWrapper > connectionWrappers = getTestConnectionWrappers ();
Original file line number Diff line number Diff line change 25
25
<maven .compiler.target>1.8</maven .compiler.target>
26
26
<skipTests >false</skipTests >
27
27
<slf4j .version>1.7.0</slf4j .version> <!-- //TODO: replace with latest version when this is fixed: http://jira.qos.ch/browse/SLF4J-389-->
28
- </properties >
28
+
29
+ <junit .version>4.12</junit .version>
30
+ <junit-vintage-engine >4.12.1</junit-vintage-engine >
31
+ <junit-jupiter .version>5.3.0</junit-jupiter .version>
32
+ </properties >
29
33
30
34
<licenses >
31
35
<license >
85
89
<plugin >
86
90
<groupId >org.apache.maven.plugins</groupId >
87
91
<artifactId >maven-surefire-plugin</artifactId >
88
- <version >2.19.1 </version >
92
+ <version >2.22.0 </version >
89
93
<configuration >
90
94
<useFile >false</useFile >
91
95
<skipTests >${skipTests} </skipTests >
148
152
<dependency >
149
153
<groupId >junit</groupId >
150
154
<artifactId >junit</artifactId >
151
- <version >4.11</version >
155
+ <version >${junit.version} </version >
156
+ <scope >test</scope >
157
+ </dependency >
158
+
159
+ <dependency >
160
+ <groupId >org.junit.jupiter</groupId >
161
+ <artifactId >junit-jupiter-engine</artifactId >
162
+ <version >${junit-jupiter.version} </version >
163
+ <scope >test</scope >
164
+ </dependency >
165
+
166
+ <dependency >
167
+ <groupId >org.junit.vintage</groupId >
168
+ <artifactId >junit-vintage-engine</artifactId >
169
+ <version >${junit-jupiter.version} </version >
152
170
<scope >test</scope >
153
171
</dependency >
154
172
You can’t perform that action at this time.
0 commit comments