update TestWordToHtmlConverter tests (expected results)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149037 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8aed736589
commit
fcac718bfd
@ -92,7 +92,7 @@ public class TestWordToHtmlConverter extends TestCase
|
|||||||
public void testAIOOBTap() throws Exception
|
public void testAIOOBTap() throws Exception
|
||||||
{
|
{
|
||||||
String result = getHtmlText( "AIOOB-Tap.doc" );
|
String result = getHtmlText( "AIOOB-Tap.doc" );
|
||||||
assertContains( result.substring( 0, 6000 ), "<table>" );
|
assertContains( result.substring( 0, 6000 ), "<table class=\"t1\">" );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testBug33519() throws Exception
|
public void testBug33519() throws Exception
|
||||||
@ -116,7 +116,7 @@ public class TestWordToHtmlConverter extends TestCase
|
|||||||
public void testBug46817() throws Exception
|
public void testBug46817() throws Exception
|
||||||
{
|
{
|
||||||
String result = getHtmlText( "Bug46817.doc" );
|
String result = getHtmlText( "Bug46817.doc" );
|
||||||
final String substring = "<table>";
|
final String substring = "<table class=\"t1\">";
|
||||||
assertContains( result, substring );
|
assertContains( result, substring );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,10 +145,12 @@ public class TestWordToHtmlConverter extends TestCase
|
|||||||
{
|
{
|
||||||
String result = getHtmlText( "endingnote.doc" );
|
String result = getHtmlText( "endingnote.doc" );
|
||||||
|
|
||||||
assertContains( result,
|
assertContains(
|
||||||
"<a class=\"endnoteanchor\" href=\"#endnote_1\" name=\"endnote_back_1\">1</a>" );
|
result,
|
||||||
assertContains( result,
|
"<a class=\"a1 endnoteanchor\" href=\"#endnote_1\" name=\"endnote_back_1\">1</a>" );
|
||||||
"<a href=\"#endnote_back_1\" name=\"endnote_1\">1</a>" );
|
assertContains(
|
||||||
|
result,
|
||||||
|
"<a class=\"a1 endnoteindex\" href=\"#endnote_back_1\" name=\"endnote_1\">1</a> <span" );
|
||||||
assertContains( result, "Ending note text" );
|
assertContains( result, "Ending note text" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user