diff options
author | Jon Bratseth <bratseth@vespa.ai> | 2023-09-27 17:48:36 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@vespa.ai> | 2023-09-27 17:48:36 +0200 |
commit | 644e2381ea28fc9551cd2ae6a1fb1ec675bf12c3 (patch) | |
tree | 49acbd32727e388f641e46188bd4e93fa9634d8a /config-model | |
parent | ae414aab08a848ae1cf1539a680ce17f4b429afc (diff) |
Simplify tests
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/test/java/com/yahoo/schema/processing/AssertSearchBuilder.java | 4 | ||||
-rw-r--r-- | config-model/src/test/java/com/yahoo/schema/processing/IndexingValuesTestCase.java | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/processing/AssertSearchBuilder.java b/config-model/src/test/java/com/yahoo/schema/processing/AssertSearchBuilder.java index 12da3f0797b..010cf849419 100644 --- a/config-model/src/test/java/com/yahoo/schema/processing/AssertSearchBuilder.java +++ b/config-model/src/test/java/com/yahoo/schema/processing/AssertSearchBuilder.java @@ -13,10 +13,6 @@ import static org.junit.jupiter.api.Assertions.*; */ public abstract class AssertSearchBuilder { - public static void assertBuilds(String searchDefinitionFileName) throws IOException, ParseException { - assertNotNull(ApplicationBuilder.buildFromFile(searchDefinitionFileName)); - } - public static void assertBuildFails(String searchDefinitionFileName, String expectedException) throws IOException, ParseException { try { diff --git a/config-model/src/test/java/com/yahoo/schema/processing/IndexingValuesTestCase.java b/config-model/src/test/java/com/yahoo/schema/processing/IndexingValuesTestCase.java index 2fa02cc3744..c46b4fc2c7d 100644 --- a/config-model/src/test/java/com/yahoo/schema/processing/IndexingValuesTestCase.java +++ b/config-model/src/test/java/com/yahoo/schema/processing/IndexingValuesTestCase.java @@ -8,8 +8,6 @@ import org.junit.jupiter.api.Test; import java.io.IOException; -import static com.yahoo.schema.processing.AssertSearchBuilder.assertBuildFails; -import static com.yahoo.schema.processing.AssertSearchBuilder.assertBuilds; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; |