List of usage examples for android.test ActivityInstrumentationTestCase2 subclass-usage
From source file com.esri.android.maps.app.MapAppRobotiumTests.java
/**
* Test performance may vary based on network latency. Remember to add specific values to your app_settings.xml for
* some of these tests and ensure your have internet access and location tracking on. The first time these
* tests are run you will be prompted by the app for WRITE_EXTERNAL permission. Test screenshots are stored in the
* Robotium folder of your device's SD card.
*
From source file org.gnucash.android.test.ui.AccountsActivityTest.java
public class AccountsActivityTest extends ActivityInstrumentationTestCase2<AccountsActivity> { private static final String DUMMY_ACCOUNT_CURRENCY_CODE = "USD"; private static final String DUMMY_ACCOUNT_NAME = "Dummy account"; public static final String DUMMY_ACCOUNT_UID = "dummy-account"; private Solo mSolo;
From source file com.door43.translationstudio.RobotiumTests.java
@SuppressWarnings("rawtypes") public class RobotiumTests extends ActivityInstrumentationTestCase2<TermsActivity> { private Solo solo; private TermsActivity activity; private UIActions act;
From source file com.compal.wifitest.WifiTestCase.java
@SuppressWarnings("rawtypes") public class WifiTestCase 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.wifitest";
From source file org.cook_e.cook_e.ui.HomeActivityTest.java
/** * Tests basic functionality of {@link org.cook_e.cook_e.HomeActivity} */ public class HomeActivityTest extends ActivityInstrumentationTestCase2<HomeActivity> { /**
From source file org.gnucash.android.test.ui.TransactionsActivityTest.java
public class TransactionsActivityTest extends ActivityInstrumentationTestCase2<TransactionsActivity> { private static final String TRANSACTION_AMOUNT = "9.99"; private static final String TRANSACTION_NAME = "Pizza"; private static final String DUMMY_ACCOUNT_UID = "transactions-account"; private static final String DUMMY_ACCOUNT_NAME = "Transactions Account"; private Solo mSolo;
From source file com.shipdream.lib.android.mvc.view.BaseTestCase.java
@RunWith(AndroidJUnit4.class) @LargeTest public class BaseTestCase<T extends MvcActivity> extends ActivityInstrumentationTestCase2<T> { protected LifeCycleValidator lifeCycleValidator; protected LifeCycleMonitor lifeCycleMonitorMock;
From source file ru.valle.btc.MainActivityTest.java
/**
* This is a simple framework for a test of an Application. See
* {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on
* how to write and extend Application tests.
* <p/>
* To run this test, you can type:
From source file com.googlecode.eyesfree.testing.BaseAccessibilityInstrumentationTestCase.java
public abstract class BaseAccessibilityInstrumentationTestCase extends ActivityInstrumentationTestCase2<TestActivity> { private static final String TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES = "touch_exploration_granted_accessibility_services"; // Used to obtain nodes from views. private static final int NODE_INFO_EVENT_TYPE = AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED;
From source file com.owncloud.android.lib.test_project.test.CopyFileTest.java
/**
* Class to test CopyRemoteFileOperation
* <p/>
* With this TestCase we are experimenting a bit to improve the test suite design, in two aspects:
* <p/>
* - Reduce the dependency from the set of test cases on the "test project" needed to