diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-13 19:39:25 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-13 19:39:25 +0000 |
| commit | 5d244e294bf0fc420cca8ed8bf481b7353d459d5 (patch) | |
| tree | 1541cdcec8cdd4be159555359d1a00852a02281e /src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java | |
| parent | 8d07fccc0787bb043125e2f8788e550c692a2579 (diff) | |
Rename DocxFile to Archive
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 495683a..cbb0a5c 100644 --- a/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java @@ -686,7 +686,7 @@ public class BodyXmlTests { private Image readEmbeddedImage(XmlElement element) { Relationships relationships = new Relationships(map( IMAGE_RELATIONSHIP_ID, new Relationship("media/hat.png"))); - DocxFile file = InMemoryDocxFile.fromStrings(map("word/media/hat.png", IMAGE_BYTES)); + Archive file = InMemoryArchive.fromStrings(map("word/media/hat.png", IMAGE_BYTES)); return (Image) readSuccess( BodyXmlReaderMakers.bodyReader(relationships, file), @@ -712,7 +712,7 @@ public class BodyXmlTests { XmlElement element = inlineImageXml(embeddedBlipXml(IMAGE_RELATIONSHIP_ID), ""); Relationships relationships = new Relationships(map( IMAGE_RELATIONSHIP_ID, new Relationship("media/hat.emf"))); - DocxFile file = InMemoryDocxFile.fromStrings(map("word/media/hat.emf", IMAGE_BYTES)); + Archive file = InMemoryArchive.fromStrings(map("word/media/hat.emf", IMAGE_BYTES)); ContentTypes contentTypes = new ContentTypes(map("emf", "image/x-emf"), map()); InternalResult<?> result = read( |
