diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-20 15:15:39 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-20 15:15:39 +0000 |
| commit | 06f44fda480492636f69b3f57f0b158c93eb2eb2 (patch) | |
| tree | 64710515f80f2f6587e8f63f691d4576f481cd90 /src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java | |
| parent | 886f4c1b68fa85eb0dbdd0088ea62a2c864febbe (diff) | |
Remove redundant test
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java index 338776e..295814a 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java @@ -53,7 +53,7 @@ public class DocumentConverterTests { } @Test - public void styleMappingsUsingStyleIdsCanBeUsedToMapParagraphs() { + public void paragraphStyleMappingsCanBeUsedToMapParagraphs() { assertThat( convertToHtml( make(a(PARAGRAPH, with(STYLE, Optional.of(new Style("TipsParagraph", Optional.empty()))))), @@ -67,20 +67,6 @@ public class DocumentConverterTests { } @Test - public void styleMappingsUsingStyleNamesCanBeUsedToMapParagraphs() { - assertThat( - convertToHtml( - make(a(PARAGRAPH, with(STYLE, Optional.of(new Style("TipsParagraph", Optional.of("Tips Paragraph")))))), - StyleMap.builder() - .mapParagraph( - ParagraphMatcher.styleName("Tips Paragraph"), - HtmlPath.element("p", map("class", "tip"))) - .build()), - - deepEquals(list(Html.element("p", map("class", "tip"))))); - } - - @Test public void boldRunsAreWrappedInStrongTags() { assertThat( convertToHtml(make(a(RUN, with(BOLD, true), with(CHILDREN, list(new Text("Hello")))))), |
