From 93204b5a390f9de4b524a7ae763d7941d30465d5 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Thu, 21 Jul 2011 04:30:08 +0000 Subject: [PATCH] update TestWordToHtmlConverter tests (expected results) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149037 13f79535-47bb-0310-9956-ffa450edef68 --- .../hwpf/converter/TestWordToHtmlConverter.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java index 7e2a651dd6..7dbe0d06a0 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java @@ -92,7 +92,7 @@ public class TestWordToHtmlConverter extends TestCase public void testAIOOBTap() throws Exception { String result = getHtmlText( "AIOOB-Tap.doc" ); - assertContains( result.substring( 0, 6000 ), "" ); + assertContains( result.substring( 0, 6000 ), "
" ); } public void testBug33519() throws Exception @@ -116,7 +116,7 @@ public class TestWordToHtmlConverter extends TestCase public void testBug46817() throws Exception { String result = getHtmlText( "Bug46817.doc" ); - final String substring = "
"; + final String substring = "
"; assertContains( result, substring ); } @@ -145,10 +145,12 @@ public class TestWordToHtmlConverter extends TestCase { String result = getHtmlText( "endingnote.doc" ); - assertContains( result, - "1" ); - assertContains( result, - "1" ); + assertContains( + result, + "1" ); + assertContains( + result, + "1