List of usage examples for android.test AndroidTestCase subclass-usage
From source file com.ericsender.android_nanodegree.popmovie.com.ericsender.android_nanodegree.popmovie.data.TestProvider.java
public class TestProvider extends AndroidTestCase { public static final String LOG_TAG = TestProvider.class.getSimpleName(); private long curr_movie_id; private byte[] expected_reviews, expected_trailer; private int expected_mins;
From source file com.owncloud.android.lib.test_project.test.OwnCloudClientTest.java
* @author David A. Velasco */ public class OwnCloudClientTest extends AndroidTestCase { private static final String TAG = OwnCloudClientTest.class.getSimpleName();
From source file com.ichi2.anki.tests.ContentProviderTest.java
/** * Test cases for {@link com.ichi2.anki.provider.CardContentProvider}. * <p/> * These tests should cover all supported operations for each URI. */ public class ContentProviderTest extends AndroidTestCase {
From source file com.magnet.android.mms.controller.RequestPrimitiveTest.java
public class RequestPrimitiveTest extends AndroidTestCase { private static final String GET = ConnectionService.Request.Method.GET.name(); private static final String POST = ConnectionService.Request.Method.POST.name(); private static final String QUERY = "QUERY";
From source file com.facebook.model.GraphObjectFactoryTests.java
public final class GraphObjectFactoryTests extends AndroidTestCase { @SmallTest @MediumTest @LargeTest public void testCreateEmptyGraphObject() {
From source file org.jboss.aerogear.android.pipe.test.rest.RestAdapterTest.java
public class RestAdapterTest extends AndroidTestCase { private static final String TAG = RestAdapterTest.class.getSimpleName(); private static final String SERIALIZED_POINTS = "{\"points\":[{\"x\":0,\"y\":0},{\"x\":1,\"y\":2},{\"x\":2,\"y\":4},{\"x\":3,\"y\":6},{\"x\":4,\"y\":8},{\"x\":5,\"y\":10},{\"x\":6,\"y\":12},{\"x\":7,\"y\":14},{\"x\":8,\"y\":16},{\"x\":9,\"y\":18}],\"id\":\"1\"}"; private static final String POINTS_ARRAY = "[{\"x\":0,\"y\":0},{\"x\":1,\"y\":2},{\"x\":2,\"y\":4},{\"x\":3,\"y\":6},{\"x\":4,\"y\":8},{\"x\":5,\"y\":10},{\"x\":6,\"y\":12},{\"x\":7,\"y\":14},{\"x\":8,\"y\":16},{\"x\":9,\"y\":18}]"; private URL url;
From source file com.android.email.mail.store.ImapStoreUnitTests.java
/**
* This is a series of unit tests for the ImapStore class. These tests must be locally
* complete - no server(s) required.
*
* To run these tests alone, use:
* $ runtest -c com.android.email.mail.store.ImapStoreUnitTests email
From source file io.realm.RealmTest.java
public class RealmTest extends AndroidTestCase { protected final static int TEST_DATA_SIZE = 10; protected Realm testRealm;
From source file org.opendatakit.utilities.test.AbstractODKDatabaseUtilsTest.java
/**
* Created by wrb on 9/21/2015.
*
* Put the actual unit tests in this Abstract class as there are two setups for running these tests
*
* In ODKDatabaseImplUtilsKeepState it keeps the database initalized between tests whereas