mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126418 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 121794 gcornwell: Minor fix to a couple of tests found during verification. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1650,7 +1650,7 @@ public class NodeApiTest extends AbstractBaseApiTest
|
||||
docResp = jacksonUtil.parseEntry(response.getJsonResponse(), Document.class);
|
||||
assertEquals(docName, docResp.getName());
|
||||
assertNotNull(docResp.getContent());
|
||||
assertNotNull("ISO-8859-1", docResp.getContent());
|
||||
assertEquals("ISO-8859-1", docResp.getContent().getEncoding());
|
||||
assertTrue(docResp.getContent().getSizeInBytes().intValue() > 0);
|
||||
assertEquals(MimetypeMap.MIMETYPE_PDF, docResp.getContent().getMimeType());
|
||||
PathInfo pathInfo = docResp.getPath();
|
||||
@@ -1668,7 +1668,7 @@ public class NodeApiTest extends AbstractBaseApiTest
|
||||
docResp = jacksonUtil.parseEntry(response.getJsonResponse(), Document.class);
|
||||
assertEquals(docName, docResp.getName());
|
||||
assertNotNull(docResp.getContent());
|
||||
assertNotNull("ISO-8859-15", docResp.getContent());
|
||||
assertEquals("ISO-8859-15", docResp.getContent().getEncoding());
|
||||
assertTrue(docResp.getContent().getSizeInBytes().intValue() > 0);
|
||||
assertEquals(MimetypeMap.MIMETYPE_TEXT_PLAIN, docResp.getContent().getMimeType());
|
||||
|
||||
|
Reference in New Issue
Block a user