Example usage for android.test ActivityInstrumentationTestCase2 subclass-usage

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

Introduction

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

Usage

From source file com.facebook.FacebookActivityTestCase.java

public class FacebookActivityTestCase<T extends Activity> extends ActivityInstrumentationTestCase2<T> {
    private static final String TAG = FacebookActivityTestCase.class.getSimpleName();

    private static String applicationId;
    private static String applicationSecret;
    private static String clientToken;

From source file org.ohmage.activity.test.ResponseHistoryTest.java

/**
 * <p>This class contains tests for the {@link ResponseHistoryActivity}</p>
 * 
 * <p> TODO: check starting with the campaign and survey specified in the intent </p>
 *
 * <h2>The data passed by the content provider</h2>

From source file org.catrobat.paintroid.test.integration.BaseIntegrationTestClass.java

public class BaseIntegrationTestClass extends ActivityInstrumentationTestCase2<MainActivity> {

    private static final int DEFAULT_BRUSH_WIDTH = 25;
    private static final Cap DEFAULT_BRUSH_CAP = Cap.ROUND;
    private static final int DEFAULT_COLOR = Color.BLACK;

From source file android.support.test.testapp.WebViewTest.java

/**
 * Sample test that interacts with a {@link WebView}.
 */
@LargeTest
public class WebViewTest extends ActivityInstrumentationTestCase2<DynamicWebViewActivity> {

From source file com.microsoft.office.integration.test.AbstractTest.java

public class AbstractTest extends ActivityInstrumentationTestCase2<TestActivity> {
    private static final String ENTER_PASSWORD_COMMAND = "javascript: document.getElementById('cred_password_inputtext').value = '%s';";
    private static final String SEND_AUTHENTICATION_REQUEST_COMMAND = "Post.SubmitCreds();";

    private static final long WAIT_ADAL_ACTIVITY_TIMEOUT = 30 * 1000;
    private static final long WAIT_OPEN_DIALOG_TIMEOUT = 20 * 1000;

From source file org.projectbuendia.client.ui.FunctionalTestCase.java

/**
 * Base class for functional tests that sets timeouts to be permissive, optionally logs in as a
 * user before continuing, and provides some utility functions for convenience.
 */
public class FunctionalTestCase extends ActivityInstrumentationTestCase2<UserLoginActivity> {
    private static final Logger LOG = Logger.create();

From source file org.openremote.android.test.console.net.ORConnectionTest.java

/**
 * Tests for {@link ORConnection} class.
 *
 * TODO:
 *   Strictly speaking these are integration tests, rather than unit tests, operating against
 *   public controller instances. Haven't separated out unit vs. integration tests as separate

From source file ru.lizaalert.hotline.ui.test.MainActivityTest.java

public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActivity> {

    MainActivity mActivity;
    ActionBar mActionBar;
    ViewPager mViewPager;

From source file com.compal.telephonytest.TelephonyTest.java

@SuppressWarnings("rawtypes")
public class TelephonyTest extends ActivityInstrumentationTestCase2 {

    public static final String TARGET_PACKAGE_ID = "com.android.settings";
    public static final String LAUNCHER_ACTIVITY_FULL_CLASSNAME = "com.android.settings.Settings";
    public static final String pkgName = "com.compal.telephonytest";

From source file android.support.v17.leanback.widget.GridWidgetTest.java

/**
 * @hide from javadoc
 */
public class GridWidgetTest extends ActivityInstrumentationTestCase2<GridActivity> {

    private static final boolean HUMAN_DELAY = false;