|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.attachment.HistorisedAttachmentServiceTest
public class HistorisedAttachmentServiceTest
| Constructor Summary | |
|---|---|
HistorisedAttachmentServiceTest()
|
|
| 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 |
testCopyAttachment()
Test of updateAttachment 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 |
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 |
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 |
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 |
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 HistorisedAttachmentServiceTest()
| 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 void cleanRepository()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static void tearAlldown()
throws Exception
Exception
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
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 testDeleteAttachment()
public void testDeleteIndexedAttachment()
public void testRemoveContent()
public void testReorderAttachments()
throws javax.jcr.LoginException,
javax.jcr.RepositoryException,
IOException
javax.jcr.LoginException
javax.jcr.RepositoryException
IOException
public void testSwitchAllowingDownloadForReaders()
throws 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 testListDocumentsRequiringWarning()
public void testListExpiringDocuments()
public void testCopyAttachment()
public void testListDocumentsToUnlock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||