mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.3-BUG-FIX to HEAD
23167: Removed hard-coded "localhost" from ImapMessageTest 23179: (RECORD ONLY) Merged HEAD to V3.3-BUG-FIX 23064: Quick build fix (fallout from audit) 23069: Do not attempt to audit InputStream property 23190: Merged V3.3 to V3.3-BUG-FIX 23189: Merged PATCHES/V3.2.0 to V3.3 23173: ALF-5249: RepositoryContainer needs an 'unlimited' txn helper in order to generate the error response. 23186: (RECORD ONLY) Merged V3.3-BUG-FIX to V3.3 23180: Added flag for strict audit config loading: audit.config.strict=false 23184: (RECORD ONLY) Merged V3.3-BUG-FIX to V3.3 23179: Merged HEAD to V3.3-BUG-FIX 23064: Quick build fix (fallout from audit) 23069: Do not attempt to audit InputStream property 23171: Fixed ALF-1990: Trashcan "Delete All Items" button might not delete all items - NodeArchiveService implements batching and locking for purgeAll... and restoreAll... - One user can do this operation at a time. Other users get 'busy' error. - Items will disappear from the trashcan as the process progresses. 23169: Merged HEAD to V3.3 22933: Fixed getLock implementation to handle zero retry parameters git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -76,8 +76,8 @@ public class ImapMessageTest extends TestCase
|
||||
|
||||
// IMAP client settings
|
||||
private static final String PROTOCOL = "imap";
|
||||
private static final String HOST = "localhost";
|
||||
private static final int PORT = 143;
|
||||
//private static final String HOST = "localhost";
|
||||
//private static final int PORT = 143;
|
||||
|
||||
private static final String ADMIN_USER_NAME = "admin";
|
||||
private static final String ADMIN_USER_PASSWORD = "admin";
|
||||
@@ -120,6 +120,7 @@ public class ImapMessageTest extends TestCase
|
||||
namespaceService = serviceRegistry.getNamespaceService();
|
||||
fileFolderService = serviceRegistry.getFileFolderService();
|
||||
|
||||
|
||||
// start the transaction
|
||||
UserTransaction txn = transactionService.getUserTransaction();
|
||||
txn.begin();
|
||||
@@ -158,6 +159,7 @@ public class ImapMessageTest extends TestCase
|
||||
ChildApplicationContextFactory imap = (ChildApplicationContextFactory) ctx.getBean("imap");
|
||||
ApplicationContext imapCtx = imap.getApplicationContext();
|
||||
ImapServiceImpl imapServiceImpl = (ImapServiceImpl) imapCtx.getBean("imapService");
|
||||
AlfrescoImapServer imapServer = (AlfrescoImapServer) imapCtx.getBean("imapServer");
|
||||
|
||||
// Creating IMAP test folder for IMAP root
|
||||
LinkedList<String> folders = new LinkedList<String>();
|
||||
@@ -193,7 +195,8 @@ public class ImapMessageTest extends TestCase
|
||||
|
||||
// Get the store
|
||||
this.store = session.getStore(PROTOCOL);
|
||||
this.store.connect(HOST, PORT, anotherUserName, anotherUserName);
|
||||
//this.store.connect(HOST, PORT, anotherUserName, anotherUserName);
|
||||
this.store.connect(imapServer.getHost(), imapServer.getPort(), anotherUserName, anotherUserName);
|
||||
|
||||
// Get folder
|
||||
folder = (IMAPFolder) store.getFolder(TEST_FOLDER);
|
||||
|
Reference in New Issue
Block a user