mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
The outside hooks for AVMSyncService are in place and the implementation
of the simplest method, resetLayer is done. Also fixed goofy merge induced bug in DbNodeServiceImpl. Can we make merging a punishment for naughty Alfrescans? git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3778 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,6 +27,7 @@ import java.util.TreeMap;
|
||||
import org.alfresco.service.cmr.avm.AVMNodeDescriptor;
|
||||
import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.avm.AVMStoreDescriptor;
|
||||
import org.alfresco.service.cmr.avmsync.AVMSyncService;
|
||||
import org.springframework.context.support.FileSystemXmlApplicationContext;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
@@ -47,6 +48,10 @@ public class AVMServiceTestBase extends TestCase
|
||||
*/
|
||||
protected static OrphanReaper fReaper;
|
||||
|
||||
/**
|
||||
* The AVMSyncService.
|
||||
*/
|
||||
protected static AVMSyncService fSyncService;
|
||||
/**
|
||||
* The application context.
|
||||
*/
|
||||
@@ -70,6 +75,7 @@ public class AVMServiceTestBase extends TestCase
|
||||
fContext = new FileSystemXmlApplicationContext("config/alfresco/avm-test-context.xml");
|
||||
fService = (AVMService)fContext.getBean("AVMService");
|
||||
fReaper = (OrphanReaper)fContext.getBean("orphanReaper");
|
||||
fSyncService = (AVMSyncService)fContext.getBean("AVMSyncService");
|
||||
}
|
||||
fService.createAVMStore("main");
|
||||
fStartTime = System.currentTimeMillis();
|
||||
|
Reference in New Issue
Block a user