Feature/repo 2793 efficient ts (#7)

* REPO-2793: refactoring the tests in the test suites so we can get more efficient and balanced Test Suites

* REPO-2793: cleanup and renames

* REPO-2793: fix the Virtual Folder tests that was failing on bamboo

* REPO-2793: fix some rendition tests on the build by running them earlier

* REPO-2793: fix the test testAR1303. It needed some cleanup
This commit is contained in:
Andrei Rebegea
2017-08-22 13:05:27 +03:00
committed by GitHub
parent 91fa88dad3
commit 728bc47377
69 changed files with 523 additions and 884 deletions

View File

@@ -120,7 +120,7 @@ public class ImapServiceImplTest extends TestCase
private static final String MAILBOX_NAME_B = "mailbox_b";
private static final String MAILBOX_PATTERN = "mailbox*";
private static ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();
private ApplicationContext ctx;
private TransactionService transactionService;
private NodeService nodeService;
private ImporterService importerService;
@@ -143,7 +143,8 @@ public class ImapServiceImplTest extends TestCase
@Override
public void setUp() throws Exception
{
{
ctx = ApplicationContextHelper.getApplicationContext();
ServiceRegistry serviceRegistry = (ServiceRegistry) ctx.getBean("ServiceRegistry");
transactionService = serviceRegistry.getTransactionService();
nodeService = serviceRegistry.getNodeService();