File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
src/test/java/org/testcontainers/databend Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,12 @@ dependencies {
55
66 testImplementation project(' :testcontainers-jdbc-test' )
77 testRuntimeOnly ' com.databend:databend-jdbc:0.4.0'
8+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
9+
10+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
811 testImplementation ' org.assertj:assertj-core:3.27.4'
912}
13+
14+ test {
15+ useJUnitPlatform()
16+ }
Original file line number Diff line number Diff line change 11package org .testcontainers .databend ;
22
3- import org .junit .Test ;
3+ import org .junit .jupiter . api . Test ;
44import org .testcontainers .db .AbstractContainerDatabaseTest ;
55
66import java .sql .ResultSet ;
77import java .sql .SQLException ;
88
99import static org .assertj .core .api .Assertions .assertThat ;
1010
11- public class DatabendContainerTest extends AbstractContainerDatabaseTest {
11+ class DatabendContainerTest extends AbstractContainerDatabaseTest {
1212
1313 @ Test
14- public void testSimple () throws SQLException {
14+ void testSimple () throws SQLException {
1515 try ( // container {
1616 DatabendContainer databend = new DatabendContainer ("datafuselabs/databend:v1.2.615" )
1717 // }
@@ -26,7 +26,7 @@ public void testSimple() throws SQLException {
2626 }
2727
2828 @ Test
29- public void customCredentialsWithUrlParams () throws SQLException {
29+ void customCredentialsWithUrlParams () throws SQLException {
3030 try (
3131 DatabendContainer databend = new DatabendContainer ("datafuselabs/databend:v1.2.615" )
3232 .withUsername ("test" )
Original file line number Diff line number Diff line change 11package org .testcontainers .databend ;
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 DatabendJDBCDriverTest extends AbstractJDBCDriverTest {
8+ class DatabendJDBCDriverTest extends AbstractJDBCDriverTest {
129
13- @ Parameterized .Parameters (name = "{index} - {0}" )
1410 public static Iterable <Object []> data () {
1511 return Arrays .asList (
1612 new Object [][] { //
You can’t perform that action at this time.
0 commit comments