Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

82375: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      76480: Re-worked download activity posting following Kev's changes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Erik Winlof
2014-09-04 06:50:52 +00:00
parent d2afc32068
commit 7954be61aa
11 changed files with 70 additions and 145 deletions

View File

@@ -133,27 +133,4 @@ public class WebDAVHelperIntegrationTest
FileInfo found = webDAVHelper.getNodeForPath(rootFolder, "/");
assertEquals(rootFolder, found.getNodeRef());
}
/*
@Test
public void testPublishEvent()
{
FileInfo folderInfo = fileFolderService.create(rootFolder, "my_folder", ContentModel.TYPE_FOLDER);
FileInfo fileInfo = fileFolderService.create(folderInfo.getNodeRef(), "my_file.txt", ContentModel.TYPE_CONTENT);
webDAVHelper.publishReadEvent(fileInfo, "text", 2l, "UTF-8", null);
List<ContentReadEvent> readEvents = eventPublisher.getQueueByType(ContentReadEvent.class);
boolean found = false;
for (ContentReadEvent event : readEvents)
{
if (fileInfo.getNodeRef().getId().equals(event.getNodeId()))
{
assertEquals(event.getMimeType(),("text"));
assertEquals(event.getClient(),Client.webdav);
found = true;
break;
}
}
assertTrue(found);
}
*/
}