diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-28 14:44:47 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-28 14:51:35 +0200 |
commit | 695209a356ecae42536fd394189a98cf5274518e (patch) | |
tree | fff14a30ce9efde18a83d15ff08bbdb672119477 /config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java | |
parent | 9dab1e67022884f6644b3d8c9b02c6b3c466a879 (diff) |
Convert config-model to junit5
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java index 5f0296588db..6394d77b67c 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/NoPrefixForIndexesTest.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 Harald Musum @@ -13,17 +13,17 @@ import static org.junit.Assert.fail; public class NoPrefixForIndexesTest { @Test - public void requireThatPrefixIsSupported() { + void requireThatPrefixIsSupported() { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/prefix/").create(); } @Test - public void requireThatPrefixIsSupportedForStreaming() { + void requireThatPrefixIsSupportedForStreaming() { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/prefix_streaming/").create(); } @Test - public void requireThatPrefixIsIllegalForIndexField() { + void requireThatPrefixIsIllegalForIndexField() { try { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/prefix_index/").create(); fail(); @@ -33,7 +33,7 @@ public class NoPrefixForIndexesTest { } @Test - public void requireThatPrefixIsIllegalForMixedAttributeAndIndexField() { + void requireThatPrefixIsIllegalForMixedAttributeAndIndexField() { try { new VespaModelCreatorWithFilePkg("src/test/cfg/application/validation/prefix_index_and_attribute/").create(); fail(); |