aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-08-23 11:24:44 +0200
committerJon Bratseth <bratseth@gmail.com>2022-08-23 11:24:44 +0200
commit4ea1e9e228f2cce531d67cb0b21bbd4fd303f43b (patch)
tree9ce68dd771a6937b8d4919a50231431592cf93d4 /config-model/src/test/java/com/yahoo
parent207f2963125c9094d65f50f5ea41d98cf3ba8524 (diff)
Remove dead code
Diffstat (limited to 'config-model/src/test/java/com/yahoo')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/container/xml/EmbedderTestCase.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/container/xml/EmbedderTestCase.java b/config-model/src/test/java/com/yahoo/vespa/model/container/xml/EmbedderTestCase.java
index fef461a4b7a..d64e726eb6a 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/container/xml/EmbedderTestCase.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/container/xml/EmbedderTestCase.java
@@ -12,7 +12,6 @@ import com.yahoo.vespa.config.ConfigPayloadBuilder;
import com.yahoo.vespa.model.VespaModel;
import com.yahoo.vespa.model.container.ApplicationContainerCluster;
import com.yahoo.vespa.model.container.component.Component;
-import com.yahoo.vespa.model.container.xml.embedder.EmbedderConfig;
import org.junit.jupiter.api.Test;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -169,7 +168,7 @@ public class EmbedderTestCase {
private void assertTransform(String embedder, String component, boolean hosted) throws IOException, SAXException {
Element emb = createElement(embedder);
Element cmp = createElement(component);
- Element trans = EmbedderConfig.transform(createEmptyDeployState(hosted), emb);
+ Element trans = EmbedderConfigTransformer.transform(createEmptyDeployState(hosted), emb);
assertSpec(cmp, trans);
}
@@ -201,7 +200,7 @@ public class EmbedderTestCase {
private void assertTransformThrows(String embedder, String expectedMessage, boolean hosted) throws IOException, SAXException {
try {
- EmbedderConfig.transform(createEmptyDeployState(hosted), createElement(embedder));
+ EmbedderConfigTransformer.transform(createEmptyDeployState(hosted), createElement(embedder));
fail("Expected exception was not thrown: " + expectedMessage);
} catch (IllegalArgumentException e) {
assertEquals(expectedMessage, e.getMessage());