From: Sergey Vladimirov Date: Mon, 22 Aug 2011 13:27:15 +0000 (+0000) Subject: add test case for "page break before" property of paragraph X-Git-Tag: REL_3_8_BETA4~1^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f75fdd41ec5afeb5e59ff25b5cbe99e13673a3f;p=poi.git add test case for "page break before" property of paragraph git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160263 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 4d74674c0b..52149f53d0 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 testPageBreakBefore() throws Exception + { + final String sampleFileName = "page-break-before.doc"; + String result = getFoText( sampleFileName ); + + assertContains( result, "