Files
alfresco-community-repo/source/test-java/org/alfresco/remoteapi/AllUnitTestsSuite.java
Gethin James 5711bad77a Merge Sabre4 to HEAD
110660: New ModulePackages api endpoint for RA-370


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-01 13:04:38 +00:00

63 lines
2.1 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.api.tests.ModulePackageTest;
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));
suite.addTest(new JUnit4TestAdapter(ModulePackageTest.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));
}
}