mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
75011: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 70370: Cleaned up the solr stats code, added security check and tenants git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@75339 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61 lines
2.0 KiB
Java
61 lines
2.0 KiB
Java
package org.alfresco.remoteapi;
|
|
|
|
import junit.framework.JUnit4TestAdapter;
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
|
|
import org.alfresco.repo.web.scripts.solr.StatsGetTest;
|
|
import org.alfresco.repo.web.util.PagingCursorTest;
|
|
import org.alfresco.repo.web.util.paging.PagingTest;
|
|
import org.alfresco.repo.webdav.GetMethodTest;
|
|
import org.alfresco.repo.webdav.LockInfoImplTest;
|
|
import org.alfresco.repo.webdav.RenameShuffleDetectionTest;
|
|
import org.alfresco.repo.webdav.WebDAVHelperTest;
|
|
import org.alfresco.repo.webdav.WebDAVLockServiceImplTest;
|
|
import org.alfresco.rest.framework.tests.core.AllRestFrameworkTest;
|
|
import org.alfresco.rest.framework.tests.metadata.WriterTests;
|
|
|
|
/**
|
|
* All Remote API project UNIT test classes should be added to this test suite.
|
|
*/
|
|
public class AllUnitTestsSuite extends TestSuite
|
|
{
|
|
/**
|
|
* Creates the test suite
|
|
*
|
|
* @return the test suite
|
|
*/
|
|
public static Test suite()
|
|
{
|
|
TestSuite suite = new TestSuite();
|
|
|
|
publicApiTests(suite);
|
|
webdavTests(suite);
|
|
pagingTests(suite);
|
|
|
|
suite.addTest(new JUnit4TestAdapter(StatsGetTest.class));
|
|
return suite;
|
|
}
|
|
|
|
static void publicApiTests(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(AllRestFrameworkTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(WriterTests.class));
|
|
}
|
|
|
|
static void webdavTests(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(GetMethodTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(LockInfoImplTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(RenameShuffleDetectionTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(WebDAVHelperTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(WebDAVLockServiceImplTest.class));
|
|
}
|
|
|
|
static void pagingTests(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(PagingTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(PagingCursorTest.class));
|
|
}
|
|
}
|