From 2089c7351dbe66e1bdb1071efdb81d9e3f6b349e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jan 2016 11:10:45 +0000 Subject: Rename document elements to drop Element suffix --- .../org/zwobble/mammoth/tests/docx/BodyXmlTests.java | 18 +++++++++--------- .../zwobble/mammoth/tests/docx/DocumentXmlTests.java | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/test/java/org/zwobble') diff --git a/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java b/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java index 90bf51a..cae7410 100644 --- a/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java @@ -114,31 +114,31 @@ public class BodyXmlTests { return element("w:t", ImmutableList.of(XmlNodes.text(value))); } - private Matcher isParagraph(ParagraphElement expected) { + private Matcher isParagraph(Paragraph expected) { return new DeepReflectionMatcher<>(expected); } - private Matcher isRun(RunElement expected) { + private Matcher isRun(Run expected) { return new DeepReflectionMatcher<>(expected); } private Matcher isTextElement(String value) { - return new DeepReflectionMatcher<>(new TextElement(value)); + return new DeepReflectionMatcher<>(new Text(value)); } private Matcher hasStyle(Optional