summaryrefslogtreecommitdiffstats
path: root/configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java')
-rw-r--r--configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java b/configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java
index d57210dd9ed..61b5eb5a759 100644
--- a/configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java
+++ b/configgen/src/test/java/com/yahoo/config/codegen/NormalizedDefinitionTest.java
@@ -9,10 +9,10 @@ import java.io.IOException;
import java.io.StringReader;
import java.util.List;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
/**
@@ -21,13 +21,13 @@ import static org.junit.Assert.assertNotNull;
public class NormalizedDefinitionTest {
@Test
- public void testNormalizingFromReader() {
+ void testNormalizingFromReader() {
String def =
"aString string \n" +
- "anInt int #comment \n" +
- "aStringCommentCharacterAfter string default=\"ab\" #foo\n" +
- "aStringWithCommentCharacter string default=\"a#b\"\n" +
- "aStringWithEscapedQuote string default=\"a\"b\"\n";
+ "anInt int #comment \n" +
+ "aStringCommentCharacterAfter string default=\"ab\" #foo\n" +
+ "aStringWithCommentCharacter string default=\"a#b\"\n" +
+ "aStringWithEscapedQuote string default=\"a\"b\"\n";
StringReader reader = new StringReader(def);
@@ -52,7 +52,7 @@ public class NormalizedDefinitionTest {
}
@Test
- public void testNormalizingFromFile() throws IOException {
+ void testNormalizingFromFile() throws IOException {
FileReader fileReader = null;
try {
fileReader = new FileReader("src/test/resources/configgen.allfeatures.def");