mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2) 125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60 lines
2.3 KiB
Java
60 lines
2.3 KiB
Java
package org.alfresco.repo.content;
|
|
|
|
import junit.framework.JUnit4TestAdapter;
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
|
|
import org.alfresco.repo.content.cleanup.ContentStoreCleanerTest;
|
|
import org.alfresco.repo.content.filestore.FileContentStoreTest;
|
|
import org.alfresco.repo.content.filestore.NoRandomAccessFileContentStoreTest;
|
|
import org.alfresco.repo.content.filestore.ReadOnlyFileContentStoreTest;
|
|
import org.alfresco.repo.content.filestore.SpoofedTextContentReaderTest;
|
|
import org.alfresco.repo.content.replication.ContentStoreReplicatorTest;
|
|
import org.alfresco.repo.content.replication.ReplicatingContentStoreTest;
|
|
|
|
/**
|
|
* Suite for content-related tests.
|
|
*
|
|
* This includes all the tests that need a full context, the
|
|
* rest are in {@link ContentMinimalContextTestSuite}
|
|
*
|
|
* @author Derek Hulley
|
|
*/
|
|
public class ContentFullContextTestSuite extends TestSuite
|
|
{
|
|
@SuppressWarnings("unchecked")
|
|
public static Test suite()
|
|
{
|
|
TestSuite suite = new TestSuite();
|
|
|
|
// These tests need a full context, at least for now
|
|
suite.addTestSuite(ContentStoreCleanerTest.class);
|
|
//suite.addTestSuite(CharsetFinderTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(SpoofedTextContentReaderTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(FileContentStoreTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(NoRandomAccessFileContentStoreTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(ReadOnlyFileContentStoreTest.class));
|
|
suite.addTestSuite(ContentStoreReplicatorTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(ReplicatingContentStoreTest.class));
|
|
suite.addTestSuite(ContentDataTest.class);
|
|
//suite.addTestSuite(MimetypeMapTest.class);
|
|
suite.addTestSuite(RoutingContentServiceTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(RoutingContentStoreTest.class));
|
|
suite.addTestSuite(GuessMimetypeTest.class);
|
|
|
|
try
|
|
{
|
|
@SuppressWarnings("rawtypes")
|
|
Class clazz = Class.forName("org.alfresco.repo.content.routing.StoreSelectorAspectContentStoreTest");
|
|
suite.addTestSuite(clazz);
|
|
}
|
|
catch (Throwable e)
|
|
{
|
|
// Ignore
|
|
}
|
|
|
|
|
|
return suite;
|
|
}
|
|
}
|