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:
Alan Davis
2014-02-11 20:11:21 +00:00
parent f00691956c
commit ed0e48861d

View File

@@ -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)