List of usage examples for android.test AndroidTestCase subclass-usage
From source file com.yozio.android.YozioTest.java
public class YozioTest extends AndroidTestCase { private static final String APP_KEY = "139b0e10-ba56-012f-e1d9-2837371df2a8"; private static final String TEST_SECRET_KEY = "test secret key"; private static final String FB_CHANNEL = "facebook"; private FakeYozioApiService apiService;
From source file org.schabi.newpipe.extractor.youtube.YoutubeSearchEngineTest.java
/**
* Created by Christian Schabesberger on 29.12.15.
*
* Copyright (C) Christian Schabesberger 2015 <chris.schabesberger@mailbox.org>
* YoutubeSearchEngineTest.java is part of NewPipe.
*
From source file com.yozio.android.YozioDataStoreImplTest.java
public class YozioDataStoreImplTest extends AndroidTestCase { private static final String LOGTAG = "YozioDataStoreImplTest"; private static final String APP_KEY = "test app key"; private static final String EVENT_KEY = "event key";
From source file com.blandware.android.atleap.test.DeserializeTestCase.java
/** * Created by agrebnev on 03.01.14. */ public class DeserializeTestCase extends AndroidTestCase { private static final String BOOKS_FILENAME = "books_authors.json";
From source file com.appsimobile.appsii.SimpleJsonTest.java
/** * Created by Nick on 09/10/14. */ public class SimpleJsonTest extends AndroidTestCase { @Override
From source file android.core.ProxyTest.java
/** * Proxy tests */ public class ProxyTest extends AndroidTestCase { private Context mContext; private HttpHost mHttpHost;
From source file org.droidparts.test.testcase.serialize.AbstractJSONTestCase.java
abstract class AbstractJSONTestCase extends AndroidTestCase { protected final JSONObject getJSONObject(int resId) throws Exception { return new JSONObject(getJSONString(resId)); }
From source file com.github.marcosalis.kraken.utils.concurrent.ExpirableFutureTest.java
/**
* Unit tests for the abstract {@link ExpirableFutureTask} class.
*
* @since 1.0
* @author Marco Salis
*/
From source file com.android.emailcommon.provider.AccountTest.java
@SmallTest public class AccountTest extends AndroidTestCase { public void testDeserializeFromJSON() throws JSONException { final JSONObject json = new JSONObject(); json.put(EmailContent.AccountColumns.DISPLAY_NAME, "David Hasselhoff");
From source file org.umit.icm.mobile.test.aggregator.Base64EncodeDecodeTests.java
public class Base64EncodeDecodeTests extends AndroidTestCase { public void testEncodeDecode() throws Throwable { String testString = "ICMMobileAgent"; String encodedString = new String(Base64.encodeBase64(testString.getBytes())); Assert.assertTrue(testString.equals(new String(Base64.decodeBase64(encodedString.getBytes()))));