mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user