Tweak the minimal context to hopefully work on the build machine too, and then re-enable tests + combine one suite

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-03-08 14:23:51 +00:00
parent ad11a47457
commit 21b6c8cf10
9 changed files with 125 additions and 168 deletions

View File

@@ -28,6 +28,7 @@ import java.util.Map;
import junit.framework.TestCase;
import org.alfresco.model.ContentModel;
import org.alfresco.repo.content.ContentMinimalContextTestSuite;
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.repo.content.filestore.FileContentReader;
import org.alfresco.repo.content.filestore.FileContentWriter;
@@ -75,7 +76,7 @@ public abstract class AbstractMetadataExtracterTest extends TestCase
{
// Grab the context, which will normally have been
// cached by the ApplicationContextHelper
ctx = MetadataTestSuite.getContext();
ctx = ContentMinimalContextTestSuite.getContext();
this.mimetypeMap = (MimetypeMap) ctx.getBean("mimetypeService");
this.dictionaryService = (DictionaryService) ctx.getBean("dictionaryService");