aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-20 15:15:39 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-20 15:15:39 +0000
commit06f44fda480492636f69b3f57f0b158c93eb2eb2 (patch)
tree64710515f80f2f6587e8f63f691d4576f481cd90 /src/test
parent886f4c1b68fa85eb0dbdd0088ea62a2c864febbe (diff)
Remove redundant test
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java16
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")))))),