From: Sergey Vladimirov Date: Mon, 22 Aug 2011 15:03:51 +0000 (+0000) Subject: add page-break test case X-Git-Tag: REL_3_8_BETA4~1^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=06f53cd95ce0401441a511cab07cbe402d0579d5;p=poi.git add page-break test case git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160289 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java index 52149f53d0..d6dd00d846 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java @@ -125,6 +125,14 @@ public class TestWordToFoConverter extends TestCase "padding-end=\"0.0in\" padding-start=\"0.0in\" width=\"1.0770833in\"" ); } + public void testPageBreak() throws Exception + { + final String sampleFileName = "page-break.doc"; + String result = getFoText( sampleFileName ); + + assertContains( result, "