mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Tika upgrade, and enable more of the .doc+.docx -> .html tests for .doc now support is there in Tika
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -344,7 +344,6 @@ public class HTMLRenderingEngineTest extends BaseAlfrescoSpringTest
|
|||||||
String html = reader.getContentString();
|
String html = reader.getContentString();
|
||||||
assertEquals("<?xml", html.substring(0, 5));
|
assertEquals("<?xml", html.substring(0, 5));
|
||||||
|
|
||||||
if(name.endsWith(".docx")) {
|
|
||||||
// Check that the html has the img tags
|
// Check that the html has the img tags
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"Couldn't find img tag in html:\n" + html,
|
"Couldn't find img tag in html:\n" + html,
|
||||||
@@ -357,7 +356,6 @@ if(name.endsWith(".docx")) {
|
|||||||
"Couldn't find correct img src in html:\n" + expSource + "\n" + html,
|
"Couldn't find correct img src in html:\n" + expSource + "\n" + html,
|
||||||
true, html.contains(expSource)
|
true, html.contains(expSource)
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
// Check we got an image folder
|
// Check we got an image folder
|
||||||
int numItems = nodeService.getChildAssocs(targetFolder).size();
|
int numItems = nodeService.getChildAssocs(targetFolder).size();
|
||||||
|
Reference in New Issue
Block a user