|
1 | 1 | package io.fabric8.maven.docker.service.helper;
|
2 | 2 |
|
| 3 | +import io.fabric8.maven.docker.config.run.LogConfiguration; |
| 4 | +import io.fabric8.maven.docker.config.run.RunConfiguration; |
3 | 5 | import org.junit.Test;
|
4 | 6 |
|
5 | 7 | import io.fabric8.maven.docker.config.ImageConfiguration;
|
6 |
| -import io.fabric8.maven.docker.config.LogConfiguration; |
7 |
| -import io.fabric8.maven.docker.config.RunImageConfiguration; |
8 | 8 |
|
9 | 9 | import static org.junit.Assert.assertEquals;
|
10 | 10 | import static org.junit.Assert.assertFalse;
|
@@ -38,7 +38,7 @@ public void getExposedPropertyKeyPart_withoutRunConfig() {
|
38 | 38 | public void getExposedPropertyKeyPart_withRunConfig() {
|
39 | 39 |
|
40 | 40 | // Given
|
41 |
| - final RunImageConfiguration runConfig = new RunImageConfiguration.Builder() |
| 41 | + final RunConfiguration runConfig = new RunConfiguration.Builder() |
42 | 42 | .exposedPropertyKey("key")
|
43 | 43 | .build();
|
44 | 44 |
|
@@ -85,7 +85,7 @@ public void showLogs_withoutRunConfig() {
|
85 | 85 | public void showLogs_withoutLogConfigButFollowTrue() {
|
86 | 86 |
|
87 | 87 | // Given
|
88 |
| - final RunImageConfiguration runConfig = new RunImageConfiguration.Builder() |
| 88 | + final RunConfiguration runConfig = new RunConfiguration.Builder() |
89 | 89 | .exposedPropertyKey("key")
|
90 | 90 | .build();
|
91 | 91 |
|
@@ -116,7 +116,7 @@ public void showLogs_withLogConfigDisabled() {
|
116 | 116 | .enabled(false)
|
117 | 117 | .build();
|
118 | 118 |
|
119 |
| - final RunImageConfiguration runConfig = new RunImageConfiguration.Builder() |
| 119 | + final RunConfiguration runConfig = new RunConfiguration.Builder() |
120 | 120 | .exposedPropertyKey("key")
|
121 | 121 | .log(logConfig)
|
122 | 122 | .build();
|
@@ -147,7 +147,7 @@ public void showLogs_withLogConfigEnabled() {
|
147 | 147 | .enabled(true)
|
148 | 148 | .build();
|
149 | 149 |
|
150 |
| - final RunImageConfiguration runConfig = new RunImageConfiguration.Builder() |
| 150 | + final RunConfiguration runConfig = new RunConfiguration.Builder() |
151 | 151 | .exposedPropertyKey("key")
|
152 | 152 | .log(logConfig)
|
153 | 153 | .build();
|
|
0 commit comments