mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57151: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 56939: ALF-20095 : Test failure in TestEnterpriseAtomPubTCK Was corrected 'ItemTest' test. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -215,9 +215,6 @@ public class ItemTest extends BaseJCRTest
|
|||||||
|
|
||||||
System.out.println("getBaseVersion - get current version (BEFORE: " + beforeDuration + "ms, AFTER: " + afterDuration + "ms) ");
|
System.out.println("getBaseVersion - get current version (BEFORE: " + beforeDuration + "ms, AFTER: " + afterDuration + "ms) ");
|
||||||
}
|
}
|
||||||
|
|
||||||
// save changes
|
|
||||||
session.save();
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -257,10 +254,7 @@ public class ItemTest extends BaseJCRTest
|
|||||||
// write some content to new node
|
// write some content to new node
|
||||||
//
|
//
|
||||||
content.setProperty("cm:content", is);
|
content.setProperty("cm:content", is);
|
||||||
|
|
||||||
// save changes
|
|
||||||
session.save();
|
|
||||||
|
|
||||||
content = companyHome.getNode(pathname);
|
content = companyHome.getNode(pathname);
|
||||||
|
|
||||||
// use Alfresco native API to get content data (for mimetype / encoding)
|
// use Alfresco native API to get content data (for mimetype / encoding)
|
||||||
@@ -300,9 +294,6 @@ public class ItemTest extends BaseJCRTest
|
|||||||
// The source files are UTF-8, so these characters should be easily detected
|
// The source files are UTF-8, so these characters should be easily detected
|
||||||
content.setProperty("cm:content", "äöå");
|
content.setProperty("cm:content", "äöå");
|
||||||
|
|
||||||
// save changes
|
|
||||||
session.save();
|
|
||||||
|
|
||||||
content = companyHome.getNode(pathname);
|
content = companyHome.getNode(pathname);
|
||||||
|
|
||||||
// use Alfresco native API to get content data (for mimetype / encoding)
|
// use Alfresco native API to get content data (for mimetype / encoding)
|
||||||
|
Reference in New Issue
Block a user