File tree Expand file tree Collapse file tree 4 files changed +7
-11
lines changed
main/java/org/testcontainers/timeplus
test/java/org/testcontainers/junit/timeplus Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
- # timeplus Module
1
+ # Timeplus Module
2
2
3
3
## Adding this module to your project dependencies
4
4
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ dependencies {
5
5
api project(' :jdbc' )
6
6
7
7
testImplementation project(' :jdbc-test' )
8
- testRuntimeOnly ' com.timeplus:timeplus-native-jdbc:2.0.1 '
9
- testImplementation ' org.assertj:assertj-core:3.25 .3'
8
+ testRuntimeOnly ' com.timeplus:timeplus-native-jdbc:2.0.4 '
9
+ testImplementation ' org.assertj:assertj-core:3.26 .3'
10
10
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class TimeplusContainer extends JdbcDatabaseContainer<TimeplusContainer>
17
17
18
18
static final String DOCKER_IMAGE_NAME = "timeplus/timeplusd" ;
19
19
20
- private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName .parse ("timeplus/timeplusd" );
20
+ private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName .parse (DOCKER_IMAGE_NAME );
21
21
22
22
private static final Integer HTTP_PORT = 3218 ;
23
23
@@ -79,17 +79,17 @@ public String getJdbcUrl() {
79
79
80
80
@ Override
81
81
public String getUsername () {
82
- return username ;
82
+ return this . username ;
83
83
}
84
84
85
85
@ Override
86
86
public String getPassword () {
87
- return password ;
87
+ return this . password ;
88
88
}
89
89
90
90
@ Override
91
91
public String getDatabaseName () {
92
- return databaseName ;
92
+ return this . databaseName ;
93
93
}
94
94
95
95
@ Override
Original file line number Diff line number Diff line change 1
1
package org .testcontainers .junit .timeplus ;
2
2
3
3
import org .junit .Test ;
4
- import org .junit .runner .RunWith ;
5
- import org .junit .runners .Parameterized ;
6
4
import org .testcontainers .TimeplusImages ;
7
5
import org .testcontainers .db .AbstractContainerDatabaseTest ;
8
6
import org .testcontainers .timeplus .TimeplusContainer ;
13
11
14
12
import static org .assertj .core .api .Assertions .assertThat ;
15
13
16
- @ RunWith (Parameterized .class )
17
14
public class SimpleTimeplusTest extends AbstractContainerDatabaseTest {
18
15
19
16
private final DockerImageName imageName ;
@@ -22,7 +19,6 @@ public SimpleTimeplusTest(DockerImageName imageName) {
22
19
this .imageName = imageName ;
23
20
}
24
21
25
- @ Parameterized .Parameters (name = "{0}" )
26
22
public static Object [][] data () {
27
23
return new Object [][] { { TimeplusImages .TIMEPLUS_IMAGE } };
28
24
}
You can’t perform that action at this time.
0 commit comments