Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ dependencies {
exclude(group: 'org.jetbrains', module: 'annotations')
}

compile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'

compile "com.github.docker-java:docker-java-api:3.2.8"

shaded ('com.github.docker-java:docker-java-core:3.2.8') {
Expand Down Expand Up @@ -218,6 +216,7 @@ dependencies {
// Synthetic JAR used for MountableFileTest and DirectoryTarResourceTest
testCompile files('testlib/repo/fakejar/fakejar/0/fakejar-0.jar')

testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
testCompile 'org.assertj:assertj-core:3.18.1'
testCompile project(':test-support')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
import org.rnorth.ducttape.ratelimits.RateLimiter;
import org.rnorth.ducttape.ratelimits.RateLimiterBuilder;
import org.rnorth.ducttape.unreliables.Unreliables;
import org.rnorth.visibleassertions.VisibleAssertions;
import org.slf4j.Logger;
import org.testcontainers.DockerClientFactory;
import org.testcontainers.UnstableAPI;
Expand Down Expand Up @@ -748,7 +747,7 @@ private void applyConfiguration(CreateContainerCmd createCommand) {
boolean shouldCheckFileMountingSupport = binds.size() > 0 && !TestcontainersConfiguration.getInstance().isDisableChecks();
if (shouldCheckFileMountingSupport) {
if (!DockerClientFactory.instance().isFileMountingSupported()) {
VisibleAssertions.warn(
logger().warn(
"Unable to mount a file from test host into a running container. " +
"This may be a misconfiguration or limitation of your Docker environment. " +
"Some features might not work."
Expand Down
1 change: 1 addition & 0 deletions examples/disque-job-queue/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ dependencies {
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.mockito:mockito-all:1.10.19'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions examples/redis-backed-cache-testng/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies {
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.testng:testng:7.3.0'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}

test {
Expand Down
1 change: 1 addition & 0 deletions examples/redis-backed-cache/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ dependencies {
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'junit:junit:4.13.1'
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions examples/selenium-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:selenium'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions examples/singleton-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ dependencies {

testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions examples/solr-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ dependencies {

testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:solr'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'

}
1 change: 1 addition & 0 deletions examples/spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ dependencies {
runtimeOnly 'org.postgresql:postgresql'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:postgresql'
testImplementation 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
2 changes: 2 additions & 0 deletions modules/dynalite/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ dependencies {

compileOnly 'com.amazonaws:aws-java-sdk-dynamodb:1.11.929'
testCompile 'com.amazonaws:aws-java-sdk-dynamodb:1.11.929'

testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/elasticsearch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dependencies {
compile project(':testcontainers')
testCompile "org.elasticsearch.client:elasticsearch-rest-client:7.12.0"
testCompile "org.elasticsearch.client:transport:7.10.1"
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ dependencies {
testCompile 'org.apache.tomcat:tomcat-jdbc:10.0.0'
testCompile 'com.zaxxer:HikariCP-java6:2.3.13'
testCompile 'com.googlecode.junit-toolbox:junit-toolbox:2.4'
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/localstack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dependencies {
testCompile 'com.amazonaws:aws-java-sdk-sqs:1.11.986'
testCompile 'com.amazonaws:aws-java-sdk-logs:1.11.807'
testCompile 'software.amazon.awssdk:s3:2.16.34'
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/mockserver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dependencies {
compile project(':testcontainers')

testCompile 'org.mock-server:mockserver-client-java:5.5.4'
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/nginx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ description = "Testcontainers :: Nginx"
dependencies {
compile project(':testcontainers')
compileOnly 'org.jetbrains:annotations:20.1.0'
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'
}
1 change: 1 addition & 0 deletions modules/selenium/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies {

testCompile 'org.mortbay.jetty:jetty:6.1.26'
testCompile project(':nginx')
testCompile 'org.rnorth.visible-assertions:visible-assertions:2.1.2'

compileOnly 'org.jetbrains:annotations:20.1.0'
testCompileClasspath 'org.jetbrains:annotations:20.0.0'
Expand Down