package net.callumtaylor.asynchttp.test;
import android.test.InstrumentationTestRunner;
import android.test.InstrumentationTestSuite;
import junit.framework.TestSuite;
import net.callumtaylor.asynchttp.AsyncCacheTest;
import net.callumtaylor.asynchttp.AsyncDeleteTest;
import net.callumtaylor.asynchttp.AsyncGetTest;
import net.callumtaylor.asynchttp.AsyncPatchTest;
import net.callumtaylor.asynchttp.AsyncPostTest;
import net.callumtaylor.asynchttp.AsyncPutTest;
import net.callumtaylor.asynchttp.OptionsTest;
import net.callumtaylor.asynchttp.ResponseHandlersTest;
import net.callumtaylor.asynchttp.SyncCacheTest;
import net.callumtaylor.asynchttp.SyncDeleteTest;
import net.callumtaylor.asynchttp.SyncGetTest;
import net.callumtaylor.asynchttp.SyncPatchTest;
import net.callumtaylor.asynchttp.SyncPostTest;
import net.callumtaylor.asynchttp.SyncPutTest;
/**
* Test suite
*/
public class Runner extends InstrumentationTestRunner
{
@Override
public TestSuite getAllTests()
{
InstrumentationTestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(AsyncCacheTest.class);
suite.addTestSuite(AsyncGetTest.class);
suite.addTestSuite(AsyncPostTest.class);
suite.addTestSuite(AsyncPutTest.class);
suite.addTestSuite(AsyncDeleteTest.class);
suite.addTestSuite(AsyncPatchTest.class);
suite.addTestSuite(SyncCacheTest.class);
suite.addTestSuite(SyncGetTest.class);
suite.addTestSuite(SyncPostTest.class);
suite.addTestSuite(SyncPutTest.class);
suite.addTestSuite(SyncDeleteTest.class);
suite.addTestSuite(SyncPatchTest.class);
suite.addTestSuite(ResponseHandlersTest.class);
suite.addTestSuite(OptionsTest.class);
return suite;
}
@Override
public ClassLoader getLoader()
{
return Runner.class.getClassLoader();
}
}