diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java index b7b83dbf68c..2327c986be0 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/SchemaDataTypeValidatorTestCase.java @@ -2,10 +2,10 @@ package com.yahoo.vespa.model.application.validation; import com.yahoo.vespa.model.test.utils.VespaModelCreatorWithFilePkg; -import org.junit.Test; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; /** * @author Simon Thoresen Hult @@ -13,22 +13,22 @@ import static org.junit.Assert.fail; public class SchemaDataTypeValidatorTestCase { @Test - public void requireThatSupportedTypesAreValidated() { + void requireThatSupportedTypesAreValidated() { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/search_alltypes/").create(); } @Test - public void requireThatStructsAreLegalInSearchClusters() { + void requireThatStructsAreLegalInSearchClusters() { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/search_struct/").create(); } @Test - public void requireThatEmptyContentFieldIsLegalInSearchClusters() { + void requireThatEmptyContentFieldIsLegalInSearchClusters() { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/search_empty_content/").create(); } @Test - public void requireThatIndexingMapsInNonStreamingClusterIsIllegal() { + void requireThatIndexingMapsInNonStreamingClusterIsIllegal() { try { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/index_struct/").create(); fail(); |