Make it possible to request that the ApplicationContext disables "autoStart=true" services for when running unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-02-09 16:47:03 +00:00
parent 8a177e1743
commit fe806bcab6
3 changed files with 119 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ public abstract class AbstractMetadataExtracterTest extends TestCase
{
static {
ApplicationContextHelper.setUseLazyLoading(false);
ApplicationContextHelper.setNoAutoStart(true);
}
protected static ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();