diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-12-01 11:58:22 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-12-01 11:58:22 +0000 |
commit | a18a52316a6e141a6c6733b850385aeeaa6a963d (patch) | |
tree | 7e368e256a9c2e7b767f321641151bbc16f341b8 /poi-scratchpad | |
parent | 6c3fe307f587f3213909c982898ecd860971888f (diff) | |
download | poi-a18a52316a6e141a6c6733b850385aeeaa6a963d.tar.gz poi-a18a52316a6e141a6c6733b850385aeeaa6a963d.zip |
remove unfinished test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895458 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java b/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java index 4e596f9e6b..36ad393a51 100644 --- a/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java +++ b/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java @@ -139,19 +139,4 @@ public final class TestHWPFWrite extends HWPFTestCase { assertThrows(IllegalStateException.class, doc::write); } } - - @Test - void testBug65436() throws IOException { - UnsynchronizedByteArrayOutputStream baos = new UnsynchronizedByteArrayOutputStream(); - try (HWPFDocument doc = HWPFTestDataSamples.openSampleFile("SampleDoc.doc")) { - Range r = doc.getRange(); - assertEquals("I am a test document\r", r.getParagraph(0).text()); - doc.write(baos); - } - - try (HWPFDocument doc = new HWPFDocument(baos.toInputStream())) { - Range r = doc.getRange(); - assertEquals("I am a test document\r", r.getParagraph(0).text()); - } - } } |