File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
src/test/java/org/testcontainers Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,14 @@ dependencies {
44 api project(' :testcontainers' )
55 api project(' :testcontainers-jdbc' )
66
7+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
8+
9+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
710 testImplementation project(' :testcontainers-jdbc-test' )
811 testRuntimeOnly ' com.timeplus:timeplus-native-jdbc:2.0.10'
912 testImplementation ' org.assertj:assertj-core:3.27.4'
1013}
14+
15+ test {
16+ useJUnitPlatform()
17+ }
Original file line number Diff line number Diff line change 11package org .testcontainers .junit .timeplus ;
22
3- import org .junit .runner .RunWith ;
4- import org .junit .runners .Parameterized ;
53import org .testcontainers .jdbc .AbstractJDBCDriverTest ;
64
75import java .util .Arrays ;
86import java .util .EnumSet ;
97
10- @ RunWith (Parameterized .class )
11- public class TimeplusJDBCDriverTest extends AbstractJDBCDriverTest {
8+ class TimeplusJDBCDriverTest extends AbstractJDBCDriverTest {
129
13- @ Parameterized .Parameters (name = "{index} - {0}" )
1410 public static Iterable <Object []> data () {
1511 return Arrays .asList (
1612 new Object [][] { { "jdbc:tc:timeplus:2.3.21://hostname" , EnumSet .noneOf (Options .class ) } }
Original file line number Diff line number Diff line change 11package org .testcontainers .timeplus ;
22
3- import org .junit .Test ;
3+ import org .junit .jupiter . api . Test ;
44import org .testcontainers .TimeplusImages ;
55import org .testcontainers .db .AbstractContainerDatabaseTest ;
66
99
1010import static org .assertj .core .api .Assertions .assertThat ;
1111
12- public class TimeplusContainerTest extends AbstractContainerDatabaseTest {
12+ class TimeplusContainerTest extends AbstractContainerDatabaseTest {
1313
1414 @ Test
15- public void testSimple () throws SQLException {
15+ void testSimple () throws SQLException {
1616 try ( // container {
1717 TimeplusContainer timeplus = new TimeplusContainer ("timeplus/timeplusd:2.3.21" )
1818 // }
@@ -27,7 +27,7 @@ public void testSimple() throws SQLException {
2727 }
2828
2929 @ Test
30- public void customCredentialsWithUrlParams () throws SQLException {
30+ void customCredentialsWithUrlParams () throws SQLException {
3131 try (
3232 TimeplusContainer timeplus = new TimeplusContainer (TimeplusImages .TIMEPLUS_IMAGE )
3333 .withUsername ("system" )
You can’t perform that action at this time.
0 commit comments