|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.attachment.AttachmentServiceTest
public class AttachmentServiceTest
| Constructor Summary | |
|---|---|
AttachmentServiceTest()
|
|
| Method Summary | |
|---|---|
void |
cleanRepository()
|
static void |
loadSpringContext()
|
void |
setUpJcr()
|
static void |
tearAlldown()
|
void |
testAddFileContent()
Test of addContent method, of class AttachmentService. |
void |
testAddNewStreamContent()
Test of addContent method, of class AttachmentService. |
void |
testAddXmlForm()
Test of addXmlForm method, of class AttachmentService. |
void |
testCloneDocument()
Test of cloneDocument method, of class AttachmentService. |
void |
testCopyAllAttachments()
Test of copyAllAttachments method, of class AttachmentService. |
void |
testCreateAttachmentFromFile()
Test of createAttachment method, of class AttachmentService. |
void |
testCreateAttachmentFromInputStream()
Test of createAttachment method, of class AttachmentService. |
void |
testCreateAttachmentFromInputStreamWithCallback()
Test of createAttachment method, of class AttachmentService. |
void |
testCreateAttachmentIndexedCallbackFromFile()
Test of createAttachment method, of class AttachmentService. |
void |
testCreateAttachmentNotIndexedFromFile()
Test of createAttachment method, of class AttachmentService. |
void |
testCreateIndexedAttachmentFromInputStream()
Test of createAttachment method, of class AttachmentService. |
void |
testDeleteAllAttachments()
Test of deleteAllAttachments method, of class AttachmentService. |
void |
testDeleteAllDocuments()
Test of deleteAttachment method, of class AttachmentService. |
void |
testDeleteAttachment()
Test of deleteAttachment method, of class AttachmentService. |
void |
testDeleteIndexedAttachment()
Test of deleteAttachment method, of class AttachmentService. |
void |
testGetBinaryContentIntoFile()
Test of getBinaryContent method, of class AttachmentService. |
void |
testGetBinaryContentIntoOutputStream()
Test of getBinaryContent method, of class AttachmentService. |
void |
testListDocumentLockedByUser()
Test of listDocumentsToUnlock method, of class AttachmentService. |
void |
testListDocumentsRequiringWarning()
Test of listDocumentsRequiringWarning method, of class AttachmentService. |
void |
testListDocumentsToUnlock()
Test of listDocumentsToUnlock method, of class AttachmentService. |
void |
testListExpiringDocuments()
Test of listExpiringDocuments method, of class AttachmentService. |
void |
testMoveAllAttachments()
Test of moveAllAttachments method, of class AttachmentService. |
void |
testMoveAllAttachmentsIntoAnotherComponentId()
Test of moveAllAttachments method, of class AttachmentService. |
void |
testMoveDocument()
Test of cloneDocument method, of class AttachmentService. |
void |
testRemoveContent()
Test of removeContent method, of class AttachmentService. |
void |
testReorderAttachments()
Test of reorderAttachments method, of class AttachmentService. |
void |
testSearchAttachmentById()
Test of searchDocumentById method, of class AttachmentService. |
void |
testSearchAttachmentsByExternalObject()
Test of listDocumentsByForeignKey method, of class AttachmentService. |
void |
testSwitchAllowingDownloadForReaders()
Test of switchAllowingDownloadForReaders method, of class AttachmentService. |
void |
testUpdateAttachment()
Test of updateAttachment method, of class AttachmentService. |
void |
testUpdateAttachmentForbidRoles()
Test of updateAttachment method, of class AttachmentService. |
void |
testUpdateFileContent()
Test of addContent method, of class AttachmentService. |
void |
testUpdateStreamContent()
Test of addContent method, of class AttachmentService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentServiceTest()
| Method Detail |
|---|
public void setUpJcr()
throws javax.jcr.RepositoryException,
org.apache.jackrabbit.commons.cnd.ParseException,
IOException,
SQLException
javax.jcr.RepositoryException
org.apache.jackrabbit.commons.cnd.ParseException
IOException
SQLException
public static void loadSpringContext()
throws Exception
Exception
public static void tearAlldown()
throws Exception
Exception
public void cleanRepository()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void testUpdateStreamContent()
throws UnsupportedEncodingException
UnsupportedEncodingException
public void testAddNewStreamContent()
throws UnsupportedEncodingException
UnsupportedEncodingException
public void testAddFileContent()
throws URISyntaxException,
IOException
URISyntaxException
IOException
public void testUpdateFileContent()
throws URISyntaxException,
IOException
URISyntaxException
IOException
public void testGetBinaryContentIntoFile()
throws IOException
IOExceptionpublic void testGetBinaryContentIntoOutputStream()
public void testAddXmlForm()
public void testCloneDocument()
throws IOException
IOException
public void testMoveDocument()
throws IOException
IOExceptionpublic void testCreateAttachmentFromInputStream()
public void testCreateIndexedAttachmentFromInputStream()
public void testCreateAttachmentFromInputStreamWithCallback()
public void testCreateAttachmentIndexedCallbackFromFile()
throws URISyntaxException
URISyntaxException
public void testCreateAttachmentNotIndexedFromFile()
throws URISyntaxException
URISyntaxException
public void testCreateAttachmentFromFile()
throws Exception
Exceptionpublic void testDeleteAllDocuments()
public void testDeleteAllAttachments()
throws Exception
Exception
public void testCopyAllAttachments()
throws Exception
Exception
public void testMoveAllAttachments()
throws Exception
Exception
public void testMoveAllAttachmentsIntoAnotherComponentId()
throws Exception
Exceptionpublic void testDeleteAttachment()
public void testDeleteIndexedAttachment()
public void testRemoveContent()
public void testReorderAttachments()
throws javax.jcr.LoginException,
javax.jcr.RepositoryException,
IOException
javax.jcr.LoginException
javax.jcr.RepositoryException
IOExceptionpublic void testSearchAttachmentById()
public void testSearchAttachmentsByExternalObject()
throws javax.jcr.LoginException,
javax.jcr.RepositoryException,
IOException
javax.jcr.LoginException
javax.jcr.RepositoryException
IOExceptionpublic void testUpdateAttachment()
public void testUpdateAttachmentForbidRoles()
public void testSwitchAllowingDownloadForReaders()
public void testListDocumentsRequiringWarning()
public void testListExpiringDocuments()
public void testListDocumentsToUnlock()
public void testListDocumentLockedByUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||