File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
docs/test_framework_integration
database-commons/src/main/java/org/testcontainers/ext
nginx/src/main/java/org/testcontainers/nginx Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ The following Open Source frameworks add direct integration to Testcontainers
55| Framework | Source Code | Documentation |
66| --- | --- | --- |
77| jqwik | [ jqwik-testcontainers] ( https://github.com/jqwik-team/jqwik-testcontainers ) | [ README] ( https://github.com/jqwik-team/jqwik-testcontainers ) |
8- | Kotest | [ Kotest Extensions Testcontainers] ( https://github.com/kotest/kotest-extensions-testcontainers ) | [ kotest.io] ( https://kotest.io/docs/extensions/test_containers.html ) |
8+ | Kotest | [ Kotest Extensions Testcontainers] ( https://github.com/kotest/kotest/tree/master/kotest-extensions/kotest -extensions-testcontainers ) | [ kotest.io] ( https://kotest.io/docs/extensions/test_containers.html ) |
99| Synthesized | [ Synthesized TDK-Testcontainers integration] ( https://github.com/synthesized-io/tdk-tc ) | [ synthesized.io] ( https://docs.synthesized.io/tdk/latest/user_guide/integrations/testcontainers ) |
1010| TCI | [ Testcontainers Infrastructure (TCI) Framework] ( https://github.com/xdev-software/tci-base ) | [ README] ( https://github.com/xdev-software/tci-base ) |
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ void split() {
3636 //skip
3737 break ;
3838 case WHITESPACE :
39- if (! sb .toString (). endsWith ( " " ) ) {
39+ if (sb .length () == 0 || sb . charAt ( sb . length () - 1 ) != ' ' ) {
4040 sb .append (' ' );
4141 }
4242 break ;
Original file line number Diff line number Diff line change @@ -27,4 +27,8 @@ public NginxContainer(final DockerImageName dockerImageName) {
2727 public URL getBaseUrl (String scheme , int port ) throws MalformedURLException {
2828 return new URL (scheme + "://" + getHost () + ":" + getMappedPort (port ));
2929 }
30+
31+ public URL getBaseUrl (String scheme ) throws MalformedURLException {
32+ return getBaseUrl (scheme , NGINX_DEFAULT_PORT );
33+ }
3034}
You can’t perform that action at this time.
0 commit comments