Example usage for android.test AndroidTestCase subclass-usage

List of usage examples for android.test AndroidTestCase subclass-usage

Introduction

In this page you can find the example usage for android.test AndroidTestCase subclass-usage.

Usage

From source file com.tojc.ormlite.android.framework.MatcherPatternTest.java

@SmallTest
public class MatcherPatternTest extends AndroidTestCase {

    private static final String TEST_PATTERN = "foo";

    // activate this to debug tests

From source file com.magnet.android.mms.request.ResponsePrimitiveTest.java

public class ResponsePrimitiveTest extends AndroidTestCase {
    static final Logger logger = Logger.getLogger(RequestPrimitiveTest.class.getSimpleName());

    @SmallTest
    public void testVoidResponse() throws MobileException {
        GenericResponseParser parser = new GenericResponseParser(Void.class);

From source file com.example.android.vault.EncryptedDocumentTest.java

/**
 * Tests for {@link EncryptedDocument}.
 */
@MediumTest
public class EncryptedDocumentTest extends AndroidTestCase {

From source file com.foobnix.TestVkontakteApi.java

public class TestVkontakteApi extends AndroidTestCase {

    VkApiCalls vkApi;

    protected void setUp() throws Exception {
        vkApi = new VkApi("de9b762590db6cfade32900addded1ed5e5def3def3fa897f1a833aee37acfc");

From source file ly.count.android.api.EventTests.java

public class EventTests extends AndroidTestCase {
    public void testConstructor() {
        final Event event = new Event();
        assertNull(event.key);
        assertNull(event.segmentation);
        assertEquals(0, event.count);

From source file com.blandware.android.atleap.test.RobospiceTestCase.java

/**
 * Created by agrebnev on 29.12.13.
 */
public class RobospiceTestCase extends AndroidTestCase {

    private static final long SPICE_MANAGER_WAIT_TIMEOUT = 500;

From source file com.android.unit_tests.DbSSLSessionCacheTest.java

/** Unit test for SSL session caching with {@link GoogleHttpClient}.
 *  Uses network resources. 
 */
@Suppress
public class DbSSLSessionCacheTest extends AndroidTestCase {

From source file android.net.http.cts.ApacheHttpClientTest.java

public class ApacheHttpClientTest extends AndroidTestCase {

    private static final String TAG = ApacheHttpClientTest.class.getSimpleName();

    private static final int NUM_DOWNLOADS = 20;

From source file com.photon.phresco.nativeapp.unit.test.testcases.A_MainActivityTest.java

/**
 * @author chandankumar_r
 *
 */

public class A_MainActivityTest extends AndroidTestCase {

From source file org.envirocar.app.test.TrackEncoderTest.java

public class TrackEncoderTest extends AndroidTestCase {

    private Car car = new Car(FuelType.GASOLINE, "manuf", "modl", "iddddd", 1234, 2345);
    private String expectedJson = "{\"features\":[{\"type\":\"Feature\",\"properties\":{\"phenomenons\":{\"MAF\":{\"value\":12.4},\"Speed\":{\"value\":12}},\"sensor\":\"iddddd\",\"time\":\"2013-09-25T10:30:00Z\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-89.1,-87.1]}}],\"type\":\"FeatureCollection\",\"properties\":{\"sensor\":\"iddddd\",\"description\":\"desc\",\"name\":\"test-track\"}}";

    public void testTrackJsonCreation() throws JSONException, TrackAlreadyFinishedException {