mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-690 - WCM PreviewURIService - checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14642 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,14 +49,14 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
*/
|
||||
public class AbstractWCMServiceImplTest extends TestCase
|
||||
{
|
||||
private static final String PREVIEW_CONFIG_LOCATION = "classpath:wcm/wcm-test-preview-context.xml";
|
||||
|
||||
// override jbpm.job.executor idleInterval to 5s (was 1.5m) for WCM unit tests
|
||||
private static final String SUBMIT_CONFIG_LOCATION = "classpath:wcm/wcm-jbpm-context.xml";
|
||||
protected static final long SUBMIT_DELAY = 15000L; // (in millis) 15s - to allow async submit direct workflow to complete (as per 5s idleInterval above)
|
||||
|
||||
|
||||
protected static ApplicationContext ctx =new ClassPathXmlApplicationContext(
|
||||
new String[] {ApplicationContextHelper.CONFIG_LOCATIONS[0], SUBMIT_CONFIG_LOCATION}
|
||||
);
|
||||
// note: all tests share same context (when run via WCMTestSuite)
|
||||
protected static ApplicationContext ctx = new ClassPathXmlApplicationContext(new String[] {ApplicationContextHelper.CONFIG_LOCATIONS[0], SUBMIT_CONFIG_LOCATION, PREVIEW_CONFIG_LOCATION});;
|
||||
|
||||
//
|
||||
// test data
|
||||
@@ -94,7 +94,6 @@ public class AbstractWCMServiceImplTest extends TestCase
|
||||
protected PersonService personService;
|
||||
|
||||
private TransactionService transactionService;
|
||||
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception
|
||||
|
Reference in New Issue
Block a user