diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-11-23 20:28:22 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-11-23 20:28:22 +0000 |
| commit | c46102917dbd63f454f4782effbe239e63c67400 (patch) | |
| tree | 9bcfabfadd17325dce988241e26d675db070b552 /src/test/java/org/zwobble/mammoth/tests/styles | |
| parent | 3841f73dbaf622944f050d6140dd7d0f7d3dd391 (diff) | |
Switch to JUnit 5
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/styles')
10 files changed, 14 insertions, 14 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/BreakMatcherTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/BreakMatcherTests.java index f33ef72..f0d19e3 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/BreakMatcherTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/BreakMatcherTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.documents.Break; import org.zwobble.mammoth.internal.styles.BreakMatcher; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/EqualToStringMatcherTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/EqualToStringMatcherTests.java index 7168a24..14e7c50 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/EqualToStringMatcherTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/EqualToStringMatcherTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.EqualToStringMatcher; import org.zwobble.mammoth.internal.styles.StringMatcher; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/ParagraphMatcherTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/ParagraphMatcherTests.java index 3f9a288..9ec58fc 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/ParagraphMatcherTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/ParagraphMatcherTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.documents.NumberingLevel; import org.zwobble.mammoth.internal.documents.Paragraph; import org.zwobble.mammoth.internal.documents.Style; @@ -8,8 +8,8 @@ import org.zwobble.mammoth.internal.styles.ParagraphMatcher; import java.util.Optional; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; import static org.zwobble.mammoth.tests.documents.DocumentElementMakers.*; public class ParagraphMatcherTests { diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/StartsWithStringMatcherTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/StartsWithStringMatcherTests.java index fd29da1..b0e4f43 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/StartsWithStringMatcherTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/StartsWithStringMatcherTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.StartsWithStringMatcher; import org.zwobble.mammoth.internal.styles.StringMatcher; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/DocumentMatcherParsingTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/DocumentMatcherParsingTests.java index ebd27cd..2c86e7e 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/DocumentMatcherParsingTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/DocumentMatcherParsingTests.java @@ -1,7 +1,7 @@ package org.zwobble.mammoth.tests.styles.parsing; import org.hamcrest.Matcher; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.*; import org.zwobble.mammoth.internal.styles.parsing.DocumentMatcherParser; import org.zwobble.mammoth.internal.styles.parsing.StyleMappingTokeniser; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/EscapeSequencesTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/EscapeSequencesTests.java index 8b76316..9c06086 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/EscapeSequencesTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/EscapeSequencesTests.java @@ -1,9 +1,9 @@ package org.zwobble.mammoth.tests.styles.parsing; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.parsing.EscapeSequences; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; public class EscapeSequencesTests { @Test diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/HtmlPathParsingTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/HtmlPathParsingTests.java index a9b19da..23cc730 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/HtmlPathParsingTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/HtmlPathParsingTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles.parsing; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.HtmlPath; import org.zwobble.mammoth.internal.styles.parsing.HtmlPathParser; import org.zwobble.mammoth.internal.styles.parsing.StyleMappingTokeniser; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMapParserTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMapParserTests.java index 9837479..a25c764 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMapParserTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMapParserTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles.parsing; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.*; import org.zwobble.mammoth.internal.styles.parsing.StyleMapParser; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMappingTokeniserTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMappingTokeniserTests.java index c767957..f70fd77 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMappingTokeniserTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/StyleMappingTokeniserTests.java @@ -1,7 +1,7 @@ package org.zwobble.mammoth.tests.styles.parsing; import org.hamcrest.Matcher; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.parsing.StyleMappingTokeniser; import org.zwobble.mammoth.internal.styles.parsing.Token; import org.zwobble.mammoth.internal.styles.parsing.TokenType; diff --git a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/TokenParserTests.java b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/TokenParserTests.java index aec1f17..d02bafe 100644 --- a/src/test/java/org/zwobble/mammoth/tests/styles/parsing/TokenParserTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/styles/parsing/TokenParserTests.java @@ -1,6 +1,6 @@ package org.zwobble.mammoth.tests.styles.parsing; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.zwobble.mammoth.internal.styles.parsing.Token; import org.zwobble.mammoth.internal.styles.parsing.TokenIterator; import org.zwobble.mammoth.internal.styles.parsing.TokenParser; @@ -8,7 +8,7 @@ import org.zwobble.mammoth.internal.styles.parsing.TokenType; import java.util.Optional; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.zwobble.mammoth.internal.util.Lists.list; public class TokenParserTests { |
