MPT-41 IMAP MPT test were mostly not played Vintage runner ignores test classes that do not end with the Test suffix.
Adding the suffix makes the test run. Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/0262feb9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/0262feb9 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/0262feb9 Branch: refs/heads/master Commit: 0262feb91c1d0a82e05c64f75d6905297cb98ca4 Parents: 32c3432 Author: benwa <[email protected]> Authored: Mon Jul 16 11:00:53 2018 +0700 Committer: benwa <[email protected]> Committed: Tue Jul 17 17:23:48 2018 +0700 ---------------------------------------------------------------------- .../cassandra/CassandraAuthenticatePlain.java | 47 ------------- .../CassandraAuthenticatePlainTest.java | 47 +++++++++++++ .../cassandra/CassandraAuthenticatedState.java | 47 ------------- .../CassandraAuthenticatedStateTest.java | 47 +++++++++++++ .../cassandra/CassandraConcurrentSessions.java | 47 ------------- .../CassandraConcurrentSessionsTest.java | 47 +++++++++++++ .../cassandra/CassandraCondstore.java | 51 -------------- .../cassandra/CassandraCondstoreTest.java | 51 ++++++++++++++ .../imapmailbox/cassandra/CassandraCopy.java | 41 ----------- .../cassandra/CassandraCopyTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraEvents.java | 41 ----------- .../cassandra/CassandraEventsTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraExpunge.java | 41 ----------- .../cassandra/CassandraExpungeTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraFetch.java | 41 ----------- .../cassandra/CassandraFetchBodySection.java | 41 ----------- .../CassandraFetchBodySectionTest.java | 41 +++++++++++ .../cassandra/CassandraFetchBodyStructure.java | 41 ----------- .../CassandraFetchBodyStructureTest.java | 41 +++++++++++ .../cassandra/CassandraFetchHeaders.java | 41 ----------- .../cassandra/CassandraFetchHeadersTest.java | 41 +++++++++++ .../cassandra/CassandraFetchTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraListing.java | 41 ----------- .../cassandra/CassandraListingTest.java | 41 +++++++++++ .../cassandra/CassandraMailboxAnnotation.java | 47 ------------- .../CassandraMailboxAnnotationTest.java | 47 +++++++++++++ .../CassandraMailboxWithLongNameError.java | 41 ----------- .../CassandraMailboxWithLongNameErrorTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraMove.java | 41 ----------- .../cassandra/CassandraMoveTest.java | 41 +++++++++++ .../CassandraNonAuthenticatedState.java | 41 ----------- .../CassandraNonAuthenticatedStateTest.java | 41 +++++++++++ .../cassandra/CassandraPartialFetch.java | 41 ----------- .../cassandra/CassandraPartialFetchTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraRename.java | 47 ------------- .../cassandra/CassandraRenameTest.java | 47 +++++++++++++ .../imapmailbox/cassandra/CassandraSearch.java | 41 ----------- .../cassandra/CassandraSearchTest.java | 41 +++++++++++ .../cassandra/CassandraSecurity.java | 41 ----------- .../cassandra/CassandraSecurityTest.java | 41 +++++++++++ .../imapmailbox/cassandra/CassandraSelect.java | 41 ----------- .../cassandra/CassandraSelectTest.java | 41 +++++++++++ .../cassandra/CassandraSelectedInbox.java | 41 ----------- .../cassandra/CassandraSelectedInboxTest.java | 41 +++++++++++ .../cassandra/CassandraSelectedState.java | 47 ------------- .../cassandra/CassandraSelectedStateTest.java | 47 +++++++++++++ .../cassandra/CassandraUidSearch.java | 41 ----------- .../cassandra/CassandraUidSearchOnIndex.java | 41 ----------- .../CassandraUidSearchOnIndexTest.java | 41 +++++++++++ .../cassandra/CassandraUidSearchTest.java | 41 +++++++++++ .../cassandra/CassandraUserFlagsSupport.java | 41 ----------- .../CassandraUserFlagsSupportTest.java | 41 +++++++++++ .../ElasticSearchUidSearchOnIndex.java | 50 -------------- .../ElasticSearchUidSearchOnIndexTest.java | 50 ++++++++++++++ .../hbase/HBaseAuthenticatePlain.java | 52 -------------- .../hbase/HBaseAuthenticatePlainTest.java | 52 ++++++++++++++ .../hbase/HBaseAuthenticatedState.java | 52 -------------- .../hbase/HBaseAuthenticatedStateTest.java | 52 ++++++++++++++ .../hbase/HBaseConcurrentSessions.java | 52 -------------- .../hbase/HBaseConcurrentSessionsTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseCondstore.java | 52 -------------- .../imapmailbox/hbase/HBaseCondstoreTest.java | 52 ++++++++++++++ .../james/mpt/imapmailbox/hbase/HBaseCopy.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseCopyTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseEvents.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseEventsTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseExpunge.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseExpungeTest.java | 52 ++++++++++++++ .../james/mpt/imapmailbox/hbase/HBaseFetch.java | 52 -------------- .../hbase/HBaseFetchBodySection.java | 52 -------------- .../hbase/HBaseFetchBodySectionTest.java | 52 ++++++++++++++ .../hbase/HBaseFetchBodyStructure.java | 52 -------------- .../hbase/HBaseFetchBodyStructureTest.java | 52 ++++++++++++++ .../imapmailbox/hbase/HBaseFetchHeaders.java | 52 -------------- .../hbase/HBaseFetchHeadersTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseFetchTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseListing.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseListingTest.java | 52 ++++++++++++++ .../hbase/HBaseMailboxAnnotation.java | 52 -------------- .../hbase/HBaseMailboxAnnotationTest.java | 52 ++++++++++++++ .../hbase/HBaseMailboxWithLongNameError.java | 52 -------------- .../HBaseMailboxWithLongNameErrorTest.java | 52 ++++++++++++++ .../james/mpt/imapmailbox/hbase/HBaseMove.java | 51 -------------- .../mpt/imapmailbox/hbase/HBaseMoveTest.java | 51 ++++++++++++++ .../hbase/HBaseNonAuthenticatedState.java | 52 -------------- .../hbase/HBaseNonAuthenticatedStateTest.java | 52 ++++++++++++++ .../imapmailbox/hbase/HBasePartialFetch.java | 52 -------------- .../hbase/HBasePartialFetchTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseRename.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseRenameTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseSearch.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseSearchTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseSecurity.java | 52 -------------- .../imapmailbox/hbase/HBaseSecurityTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseSelect.java | 52 -------------- .../mpt/imapmailbox/hbase/HBaseSelectTest.java | 52 ++++++++++++++ .../imapmailbox/hbase/HBaseSelectedInbox.java | 52 -------------- .../hbase/HBaseSelectedInboxTest.java | 52 ++++++++++++++ .../imapmailbox/hbase/HBaseSelectedState.java | 52 -------------- .../hbase/HBaseSelectedStateTest.java | 52 ++++++++++++++ .../mpt/imapmailbox/hbase/HBaseUidSearch.java | 52 -------------- .../hbase/HBaseUidSearchOnIndex.java | 52 -------------- .../hbase/HBaseUidSearchOnIndexTest.java | 52 ++++++++++++++ .../imapmailbox/hbase/HBaseUidSearchTest.java | 52 ++++++++++++++ .../hbase/HBaseUserFlagsSupport.java | 52 -------------- .../hbase/HBaseUserFlagsSupportTest.java | 52 ++++++++++++++ .../inmemory/InMemoryAuthenticatePlain.java | 50 -------------- .../inmemory/InMemoryAuthenticatePlainTest.java | 50 ++++++++++++++ .../inmemory/InMemoryAuthenticatedState.java | 50 -------------- .../InMemoryAuthenticatedStateTest.java | 50 ++++++++++++++ .../inmemory/InMemoryConcurrentSessions.java | 50 -------------- .../InMemoryConcurrentSessionsTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryCondstore.java | 50 -------------- .../inmemory/InMemoryCondstoreTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/inmemory/InMemoryCopy.java | 50 -------------- .../imapmailbox/inmemory/InMemoryCopyTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryEvents.java | 50 -------------- .../inmemory/InMemoryEventsTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryExpunge.java | 50 -------------- .../inmemory/InMemoryExpungeTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/inmemory/InMemoryFetch.java | 50 -------------- .../inmemory/InMemoryFetchBodySection.java | 50 -------------- .../inmemory/InMemoryFetchBodySectionTest.java | 50 ++++++++++++++ .../inmemory/InMemoryFetchBodyStructure.java | 50 -------------- .../InMemoryFetchBodyStructureTest.java | 50 ++++++++++++++ .../inmemory/InMemoryFetchHeaders.java | 50 -------------- .../inmemory/InMemoryFetchHeadersTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryFetchTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryListing.java | 50 -------------- .../inmemory/InMemoryListingTest.java | 50 ++++++++++++++ .../InMemoryListingWithSharingTest.java | 50 -------------- .../InMemoryListingWithSharingTestTest.java | 50 ++++++++++++++ .../inmemory/InMemoryMailboxAnnotation.java | 50 -------------- .../inmemory/InMemoryMailboxAnnotationTest.java | 50 ++++++++++++++ .../InMemoryMailboxWithLongNameSuccess.java | 50 -------------- .../InMemoryMailboxWithLongNameSuccessTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/inmemory/InMemoryMove.java | 50 -------------- .../imapmailbox/inmemory/InMemoryMoveTest.java | 50 ++++++++++++++ .../inmemory/InMemoryNonAuthenticatedState.java | 50 -------------- .../InMemoryNonAuthenticatedStateTest.java | 50 ++++++++++++++ .../inmemory/InMemoryPartialFetch.java | 50 -------------- .../inmemory/InMemoryPartialFetchTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryRename.java | 50 -------------- .../inmemory/InMemoryRenameTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemorySearch.java | 50 -------------- .../inmemory/InMemorySearchTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemorySecurity.java | 50 -------------- .../inmemory/InMemorySecurityTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemorySelect.java | 50 -------------- .../inmemory/InMemorySelectTest.java | 50 ++++++++++++++ .../inmemory/InMemorySelectedInbox.java | 50 -------------- .../inmemory/InMemorySelectedInboxTest.java | 50 ++++++++++++++ .../inmemory/InMemorySelectedState.java | 50 -------------- .../inmemory/InMemorySelectedStateTest.java | 50 ++++++++++++++ .../imapmailbox/inmemory/InMemoryUidSearch.java | 50 -------------- .../inmemory/InMemoryUidSearchOnIndex.java | 50 -------------- .../inmemory/InMemoryUidSearchOnIndexTest.java | 50 ++++++++++++++ .../inmemory/InMemoryUidSearchTest.java | 50 ++++++++++++++ .../inmemory/InMemoryUserFlagsSupport.java | 50 -------------- .../inmemory/InMemoryUserFlagsSupportTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaAuthenticatePlain.java | 50 -------------- .../jpa/JpaAuthenticatePlainTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaAuthenticatedState.java | 50 -------------- .../jpa/JpaAuthenticatedStateTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaConcurrentSessions.java | 61 ---------------- .../jpa/JpaConcurrentSessionsTest.java | 61 ++++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaCondstore.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaCondstoreTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaCopy.java | 53 -------------- .../james/mpt/imapmailbox/jpa/JpaCopyTest.java | 53 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaEvents.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaEventsTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaExpunge.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaExpungeTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaFetch.java | 50 -------------- .../imapmailbox/jpa/JpaFetchBodySection.java | 50 -------------- .../jpa/JpaFetchBodySectionTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaFetchBodyStructure.java | 50 -------------- .../jpa/JpaFetchBodyStructureTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/jpa/JpaFetchHeaders.java | 50 -------------- .../imapmailbox/jpa/JpaFetchHeadersTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaFetchTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaListing.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaListingTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaMailboxAnnotation.java | 50 -------------- .../jpa/JpaMailboxAnnotationTest.java | 50 ++++++++++++++ .../jpa/JpaMailboxWithLongNameError.java | 51 -------------- .../jpa/JpaMailboxWithLongNameErrorTest.java | 51 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaMove.java | 49 ------------- .../james/mpt/imapmailbox/jpa/JpaMoveTest.java | 49 +++++++++++++ .../jpa/JpaNonAuthenticatedState.java | 50 -------------- .../jpa/JpaNonAuthenticatedStateTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/jpa/JpaPartialFetch.java | 50 -------------- .../imapmailbox/jpa/JpaPartialFetchTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaRename.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaRenameTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaSearch.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaSearchTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaSecurity.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaSecurityTest.java | 50 ++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaSelect.java | 50 -------------- .../mpt/imapmailbox/jpa/JpaSelectTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/jpa/JpaSelectedInbox.java | 50 -------------- .../imapmailbox/jpa/JpaSelectedInboxTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/jpa/JpaSelectedState.java | 73 -------------------- .../imapmailbox/jpa/JpaSelectedStateTest.java | 73 ++++++++++++++++++++ .../james/mpt/imapmailbox/jpa/JpaUidSearch.java | 50 -------------- .../imapmailbox/jpa/JpaUidSearchOnIndex.java | 50 -------------- .../jpa/JpaUidSearchOnIndexTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/jpa/JpaUidSearchTest.java | 50 ++++++++++++++ .../imapmailbox/jpa/JpaUserFlagsSupport.java | 50 -------------- .../jpa/JpaUserFlagsSupportTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneAuthenticatePlain.java | 50 -------------- .../LuceneAuthenticatePlainTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneAuthenticatedState.java | 50 -------------- .../LuceneAuthenticatedStateTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneConcurrentSessions.java | 50 -------------- .../LuceneConcurrentSessionsTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneCondstore.java | 50 -------------- .../lucenesearch/LuceneCondstoreTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneCopy.java | 50 -------------- .../lucenesearch/LuceneCopyTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneEvents.java | 50 -------------- .../lucenesearch/LuceneEventsTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneExpunge.java | 50 -------------- .../lucenesearch/LuceneExpungeTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneFetch.java | 50 -------------- .../lucenesearch/LuceneFetchBodySection.java | 50 -------------- .../LuceneFetchBodySectionTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneFetchBodyStructure.java | 50 -------------- .../LuceneFetchBodyStructureTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneFetchHeaders.java | 50 -------------- .../lucenesearch/LuceneFetchHeadersTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneFetchTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneListing.java | 50 -------------- .../lucenesearch/LuceneListingTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneMailboxAnnotation.java | 50 -------------- .../LuceneMailboxAnnotationTest.java | 50 ++++++++++++++ .../LuceneMailboxWithLongNameError.java | 52 -------------- .../LuceneMailboxWithLongNameErrorTest.java | 52 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneMove.java | 50 -------------- .../lucenesearch/LuceneMoveTest.java | 50 ++++++++++++++ .../LuceneNonAuthenticatedState.java | 50 -------------- .../LuceneNonAuthenticatedStateTest.java | 50 ++++++++++++++ .../lucenesearch/LucenePartialFetch.java | 50 -------------- .../lucenesearch/LucenePartialFetchTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneRename.java | 50 -------------- .../lucenesearch/LuceneRenameTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneSearch.java | 50 -------------- .../lucenesearch/LuceneSearchTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneSecurity.java | 50 -------------- .../lucenesearch/LuceneSecurityTest.java | 50 ++++++++++++++ .../imapmailbox/lucenesearch/LuceneSelect.java | 50 -------------- .../lucenesearch/LuceneSelectTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneSelectedInbox.java | 50 -------------- .../lucenesearch/LuceneSelectedInboxTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneSelectedState.java | 50 -------------- .../lucenesearch/LuceneSelectedStateTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneUidSearch.java | 50 -------------- .../lucenesearch/LuceneUidSearchOnIndex.java | 50 -------------- .../LuceneUidSearchOnIndexTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneUidSearchTest.java | 50 ++++++++++++++ .../lucenesearch/LuceneUserFlagsSupport.java | 50 -------------- .../LuceneUserFlagsSupportTest.java | 50 ++++++++++++++ .../maildir/MaildirAuthenticatePlain.java | 50 -------------- .../maildir/MaildirAuthenticatePlainTest.java | 50 ++++++++++++++ .../maildir/MaildirAuthenticatedState.java | 50 -------------- .../maildir/MaildirAuthenticatedStateTest.java | 50 ++++++++++++++ .../maildir/MaildirConcurrentSessions.java | 50 -------------- .../maildir/MaildirConcurrentSessionsTest.java | 50 ++++++++++++++ .../imapmailbox/maildir/MaildirCondstore.java | 50 -------------- .../maildir/MaildirCondstoreTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirCopy.java | 50 -------------- .../imapmailbox/maildir/MaildirCopyTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirEvents.java | 50 -------------- .../imapmailbox/maildir/MaildirEventsTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirExpunge.java | 50 -------------- .../imapmailbox/maildir/MaildirExpungeTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirFetch.java | 50 -------------- .../maildir/MaildirFetchBodySection.java | 50 -------------- .../maildir/MaildirFetchBodySectionTest.java | 50 ++++++++++++++ .../maildir/MaildirFetchBodyStructure.java | 50 -------------- .../maildir/MaildirFetchBodyStructureTest.java | 50 ++++++++++++++ .../maildir/MaildirFetchHeaders.java | 50 -------------- .../maildir/MaildirFetchHeadersTest.java | 50 ++++++++++++++ .../imapmailbox/maildir/MaildirFetchTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirListing.java | 50 -------------- .../imapmailbox/maildir/MaildirListingTest.java | 50 ++++++++++++++ .../maildir/MaildirMailboxAnnotation.java | 49 ------------- .../maildir/MaildirMailboxAnnotationTest.java | 49 +++++++++++++ .../MaildirMailboxWithLongNameError.java | 51 -------------- .../MaildirMailboxWithLongNameErrorTest.java | 51 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirMove.java | 49 ------------- .../imapmailbox/maildir/MaildirMoveTest.java | 49 +++++++++++++ .../maildir/MaildirNonAuthenticatedState.java | 50 -------------- .../MaildirNonAuthenticatedStateTest.java | 50 ++++++++++++++ .../maildir/MaildirPartialFetch.java | 50 -------------- .../maildir/MaildirPartialFetchTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirRename.java | 50 -------------- .../imapmailbox/maildir/MaildirRenameTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirSearch.java | 50 -------------- .../imapmailbox/maildir/MaildirSearchTest.java | 50 ++++++++++++++ .../imapmailbox/maildir/MaildirSecurity.java | 50 -------------- .../maildir/MaildirSecurityTest.java | 50 ++++++++++++++ .../mpt/imapmailbox/maildir/MaildirSelect.java | 50 -------------- .../imapmailbox/maildir/MaildirSelectTest.java | 50 ++++++++++++++ .../maildir/MaildirSelectedInbox.java | 50 -------------- .../maildir/MaildirSelectedInboxTest.java | 50 ++++++++++++++ .../maildir/MaildirSelectedState.java | 50 -------------- .../maildir/MaildirSelectedStateTest.java | 50 ++++++++++++++ .../imapmailbox/maildir/MaildirUidSearch.java | 50 -------------- .../maildir/MaildirUidSearchOnIndex.java | 50 -------------- .../maildir/MaildirUidSearchOnIndexTest.java | 50 ++++++++++++++ .../maildir/MaildirUidSearchTest.java | 50 ++++++++++++++ .../maildir/MaildirUserFlagsSupport.java | 50 -------------- .../maildir/MaildirUserFlagsSupportTest.java | 50 ++++++++++++++ 316 files changed, 7801 insertions(+), 7801 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlain.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlain.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlain.java deleted file mode 100644 index 091074a..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlain.java +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.AuthenticatePlain; -import org.junit.After; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraAuthenticatePlain extends AuthenticatePlain { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } - - @After - public void tearDown() throws Exception { - cassandraHostSystemRule.clean(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlainTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlainTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlainTest.java new file mode 100644 index 0000000..cba1a71 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatePlainTest.java @@ -0,0 +1,47 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.AuthenticatePlain; +import org.junit.After; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraAuthenticatePlainTest extends AuthenticatePlain { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } + + @After + public void tearDown() throws Exception { + cassandraHostSystemRule.clean(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedState.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedState.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedState.java deleted file mode 100644 index fd55329..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedState.java +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.AuthenticatedState; -import org.junit.After; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraAuthenticatedState extends AuthenticatedState { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } - - @After - public void tearDown() throws Exception { - cassandraHostSystemRule.clean(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedStateTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedStateTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedStateTest.java new file mode 100644 index 0000000..3070470 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraAuthenticatedStateTest.java @@ -0,0 +1,47 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.AuthenticatedState; +import org.junit.After; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraAuthenticatedStateTest extends AuthenticatedState { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } + + @After + public void tearDown() throws Exception { + cassandraHostSystemRule.clean(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessions.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessions.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessions.java deleted file mode 100644 index 0b04ebc..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessions.java +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.ConcurrentSessions; -import org.junit.After; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraConcurrentSessions extends ConcurrentSessions { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } - - @After - public void tearDown() throws Exception { - cassandraHostSystemRule.clean(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessionsTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessionsTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessionsTest.java new file mode 100644 index 0000000..4040363 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraConcurrentSessionsTest.java @@ -0,0 +1,47 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.ConcurrentSessions; +import org.junit.After; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraConcurrentSessionsTest extends ConcurrentSessions { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } + + @After + public void tearDown() throws Exception { + cassandraHostSystemRule.clean(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstore.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstore.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstore.java deleted file mode 100644 index ba5f947..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstore.java +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.host.JamesImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Condstore; -import org.junit.After; -import org.junit.Rule; -import org.junit.rules.RuleChain; - -public class CassandraCondstore extends Condstore { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - /** - * The underlying tests are playing with capabilities, which are configured when starting James. - * Hence, we can't use the RuleChain as a @ClassRule in this implementation. - */ - @Rule - public RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected JamesImapHostSystem createJamesImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } - - @After - public void tearDown() throws Exception { - cassandraHostSystemRule.clean(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstoreTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstoreTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstoreTest.java new file mode 100644 index 0000000..69f1a91 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCondstoreTest.java @@ -0,0 +1,51 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.host.JamesImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.Condstore; +import org.junit.After; +import org.junit.Rule; +import org.junit.rules.RuleChain; + +public class CassandraCondstoreTest extends Condstore { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + /** + * The underlying tests are playing with capabilities, which are configured when starting James. + * Hence, we can't use the RuleChain as a @ClassRule in this implementation. + */ + @Rule + public RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected JamesImapHostSystem createJamesImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } + + @After + public void tearDown() throws Exception { + cassandraHostSystemRule.clean(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopy.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopy.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopy.java deleted file mode 100644 index 4677a2e..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopy.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Copy; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraCopy extends Copy { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopyTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopyTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopyTest.java new file mode 100644 index 0000000..7216af8 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraCopyTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.Copy; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraCopyTest extends Copy { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEvents.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEvents.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEvents.java deleted file mode 100644 index 05fafb8..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEvents.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Events; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraEvents extends Events { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEventsTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEventsTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEventsTest.java new file mode 100644 index 0000000..127d641 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraEventsTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.Events; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraEventsTest extends Events { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpunge.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpunge.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpunge.java deleted file mode 100644 index df9eb51..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpunge.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Expunge; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraExpunge extends Expunge { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpungeTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpungeTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpungeTest.java new file mode 100644 index 0000000..28d1850 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraExpungeTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.Expunge; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraExpungeTest extends Expunge { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetch.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetch.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetch.java deleted file mode 100644 index 8a18b97..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetch.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Fetch; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraFetch extends Fetch { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySection.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySection.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySection.java deleted file mode 100644 index 24381b5..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySection.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.FetchBodySection; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraFetchBodySection extends FetchBodySection { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySectionTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySectionTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySectionTest.java new file mode 100644 index 0000000..f11c39e --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodySectionTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.FetchBodySection; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraFetchBodySectionTest extends FetchBodySection { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructure.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructure.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructure.java deleted file mode 100644 index 0489151..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructure.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.FetchBodyStructure; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraFetchBodyStructure extends FetchBodyStructure { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructureTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructureTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructureTest.java new file mode 100644 index 0000000..01383a8 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchBodyStructureTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.FetchBodyStructure; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraFetchBodyStructureTest extends FetchBodyStructure { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeaders.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeaders.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeaders.java deleted file mode 100644 index 976cb7d..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeaders.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.FetchHeaders; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraFetchHeaders extends FetchHeaders { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeadersTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeadersTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeadersTest.java new file mode 100644 index 0000000..965cd8c --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchHeadersTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.FetchHeaders; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraFetchHeadersTest extends FetchHeaders { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchTest.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchTest.java new file mode 100644 index 0000000..b1393e9 --- /dev/null +++ b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraFetchTest.java @@ -0,0 +1,41 @@ +/**************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one * + * or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information * + * regarding copyright ownership. The ASF licenses this file * + * to you under the Apache License, Version 2.0 (the * + * "License"); you may not use this file except in compliance * + * with the License. You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, * + * software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * + * KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations * + * under the License. * + ****************************************************************/ + +package org.apache.james.mpt.imapmailbox.cassandra; + +import org.apache.james.backends.cassandra.DockerCassandraRule; +import org.apache.james.mpt.api.ImapHostSystem; +import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; +import org.apache.james.mpt.imapmailbox.suite.Fetch; +import org.junit.ClassRule; +import org.junit.rules.RuleChain; + +public class CassandraFetchTest extends Fetch { + + private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); + private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); + + @ClassRule + public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); + + @Override + protected ImapHostSystem createImapHostSystem() { + return cassandraHostSystemRule.getImapHostSystem(); + } +} http://git-wip-us.apache.org/repos/asf/james-project/blob/0262feb9/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraListing.java ---------------------------------------------------------------------- diff --git a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraListing.java b/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraListing.java deleted file mode 100644 index 4776f25..0000000 --- a/mpt/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraListing.java +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the * - * "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, * - * software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * - * KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations * - * under the License. * - ****************************************************************/ - -package org.apache.james.mpt.imapmailbox.cassandra; - -import org.apache.james.backends.cassandra.DockerCassandraRule; -import org.apache.james.mpt.api.ImapHostSystem; -import org.apache.james.mpt.imapmailbox.cassandra.host.CassandraHostSystemRule; -import org.apache.james.mpt.imapmailbox.suite.Listing; -import org.junit.ClassRule; -import org.junit.rules.RuleChain; - -public class CassandraListing extends Listing { - - private static DockerCassandraRule cassandraServer = new DockerCassandraRule(); - private static CassandraHostSystemRule cassandraHostSystemRule = new CassandraHostSystemRule(cassandraServer); - - @ClassRule - public static RuleChain ruleChaine = RuleChain.outerRule(cassandraServer).around(cassandraHostSystemRule); - - @Override - protected ImapHostSystem createImapHostSystem() { - return cassandraHostSystemRule.getImapHostSystem(); - } -} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
