|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.attachment.repository.DocumentRepositoryTest
public class DocumentRepositoryTest
| Constructor Summary | |
|---|---|
DocumentRepositoryTest()
|
|
| Method Summary | |
|---|---|
void |
cleanRepository()
|
void |
loadSpringContext()
|
void |
setupJcr()
|
void |
tearAlldown()
|
void |
testAddContent()
Test of addContent method, of class DocumentRepository. |
void |
testChangeVersionStateOfSimpleDocument()
Test of updateDocument method, of class DocumentRepository. |
void |
testCopyDocument()
Test of copyDocument method, of class DocumentRepository. |
void |
testCopyDocumentWithDocumentTypeChange()
Test of copyDocument method, of class DocumentRepository. |
void |
testCopyMultilangContent()
|
void |
testCopyReservedDocument()
Test of copyDocument method, of class DocumentRepository. |
void |
testCreateDocument()
Test of createDocument method, of class DocumentRepository. |
void |
testDeleteDocument()
Test of deleteDocument method, of class DocumentRepository. |
void |
testFindDocumentById()
Test of findDocumentById method, of class DocumentRepository. |
void |
testFindDocumentByOldSilverpeasId()
Test of findDocumentByOldSilverpeasId method, of class DocumentRepository. |
void |
testFindDocumentWithForbiddentDownloadForRolesById()
Test of findDocumentById method, of class DocumentRepository. |
void |
testFindLast()
Test of findLast method, of class DocumentRepository. |
void |
testListAllDocumentsByComponentId()
Test of listDocumentsByForeignId method, of class DocumentRepository. |
void |
testListComponentDocumentsByOwner()
Test of listDocumentsByOwner method, of class DocumentRepository. |
void |
testListDocumentsByComponentIdAndType()
Test of listDocumentsByForeignId method, of class DocumentRepository. |
void |
testListDocumentsByForeignId()
Test of listDocumentsByForeignId method, of class DocumentRepository. |
void |
testListDocumentsByForeignIdAndType()
Test of listDocumentsByForeignId method, of class DocumentRepository. |
void |
testListDocumentsLockedByUser()
Test of listDocumentsByOwner method, of class DocumentRepository. |
void |
testListDocumentsRequiringWarning()
Test of listDocumentsRequiringWarning method, of class DocumentRepository. |
void |
testListDocumentsToUnlock()
Test of listDocumentsToUnlock method, of class DocumentRepository. |
void |
testListExpiringDocuments()
Test of listExpiringDocumentsByOwner method, of class DocumentRepository. |
void |
testMoveDocument()
Test of moveDocument method, of class DocumentRepository. |
void |
testMoveDocumentWithDocumentTypeChange()
Test of moveDocument method, of class DocumentRepository. |
void |
testRemoveContent()
Test of removeContent method, of class DocumentRepository. |
void |
testSaveForbiddenDownloadForRoles()
Test of saveForbiddenDownloadForRoles method, of class DocumentRepository. |
void |
testSelectDocumentsByForeignId()
Test of selectDocumentsByForeignId method, of class DocumentRepository. |
void |
testSelectDocumentsByOwnerId()
Test of selectDocumentsByOwnerId method, of class DocumentRepository. |
void |
testSelectDocumentsRequiringUnlocking()
Test of selectDocumentsRequiringUnlocking method, of class DocumentRepository. |
void |
testSelectExpiringDocuments()
Test of selectExpiringDocuments method, of class DocumentRepository. |
void |
testSelectWarningDocuments()
Test of selectWarningDocuments method, of class DocumentRepository. |
void |
testStoreContent()
|
void |
testUpdateDocument()
Test of updateDocument method, of class DocumentRepository. |
void |
testUpdateDocumentForbidDownloadToReaderRole()
Test of updateDocument method, of class DocumentRepository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentRepositoryTest()
| Method Detail |
|---|
public void cleanRepository()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void loadSpringContext()
throws Exception
Exception
public void tearAlldown()
throws Exception
Exception
public void setupJcr()
throws Exception
Exception
public void testCreateDocument()
throws Exception
Exception
public void testDeleteDocument()
throws Exception
Exception
public void testFindDocumentById()
throws Exception
Exception
public void testFindDocumentWithForbiddentDownloadForRolesById()
throws Exception
Exception
public void testFindLast()
throws Exception
Exception
public void testUpdateDocument()
throws Exception
Exception
public void testUpdateDocumentForbidDownloadToReaderRole()
throws Exception
Exception
public void testSaveForbiddenDownloadForRoles()
throws Exception
Exception
public void testChangeVersionStateOfSimpleDocument()
throws Exception
Exception
public void testListDocumentsByForeignId()
throws Exception
Exception
public void testListDocumentsByForeignIdAndType()
throws Exception
Exception
public void testListDocumentsByComponentIdAndType()
throws Exception
Exception
public void testListAllDocumentsByComponentId()
throws Exception
Exception
public void testSelectDocumentsByForeignId()
throws Exception
Exception
public void testSelectDocumentsByOwnerId()
throws Exception
Exception
public void testAddContent()
throws Exception
Exception
public void testRemoveContent()
throws Exception
Exception
public void testListComponentDocumentsByOwner()
throws Exception
Exception
public void testListDocumentsLockedByUser()
throws Exception
Exception
public void testListExpiringDocuments()
throws Exception
Exception
public void testSelectExpiringDocuments()
throws Exception
Exception
public void testListDocumentsToUnlock()
throws Exception
Exception
public void testSelectDocumentsRequiringUnlocking()
throws Exception
Exception
public void testSelectWarningDocuments()
throws Exception
Exception
public void testMoveDocument()
throws Exception
Exception
public void testMoveDocumentWithDocumentTypeChange()
throws Exception
Exception
public void testCopyDocument()
throws Exception
Exception
public void testCopyReservedDocument()
throws Exception
Exception
public void testCopyDocumentWithDocumentTypeChange()
throws Exception
Exception
public void testFindDocumentByOldSilverpeasId()
throws Exception
Exception
public void testListDocumentsRequiringWarning()
throws Exception
Exception
public void testStoreContent()
throws javax.jcr.RepositoryException,
IOException
javax.jcr.RepositoryException
IOException
public void testCopyMultilangContent()
throws javax.jcr.RepositoryException,
IOException
javax.jcr.RepositoryException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||