Home
last modified time | relevance | path

Searched refs:TestActivity (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DTestActivity.java24 public abstract class TestActivity extends AbstractBase { class
26 public static TestActivity create(TestEnv env) { in create()
27 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create()
35 abstract class AbstractBase extends com.android.documentsui.TestActivity
DActionHandlerTest.java74 private TestActivity mActivity;
78 private ActionHandler<TestActivity> mHandler;
85 mActivity = TestActivity.create(mEnv); in setUp()
542 private ActionHandler<TestActivity> createHandler() { in createHandler()
DMenuManagerTest.java88 private TestActivity activity = TestActivity.create(TestEnv.create());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DTestActivity.java28 public abstract class TestActivity extends AbstractBase { class
33 public static TestActivity create(TestEnv env) { in create()
34 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create()
60 abstract class AbstractBase extends com.android.documentsui.TestActivity
DActionHandlerTest.java59 private TestActivity mActivity;
60 private ActionHandler<TestActivity> mHandler;
66 mActivity = TestActivity.create(mEnv); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/lifecycle/
DLifecycleTest.java68 public static class TestActivity extends ObservableActivity { class in LifecycleTest
72 public TestActivity() { in TestActivity() method in LifecycleTest.TestActivity
144 ActivityController<TestActivity> ac = Robolectric.buildActivity(TestActivity.class); in runThroughActivityLifecycles_shouldObserveEverything()
145 TestActivity activity = ac.get(); in runThroughActivityLifecycles_shouldObserveEverything()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java51 public abstract class TestActivity extends AbstractBase { class
69 public static TestActivity create(TestEnv env) { in create()
70 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DViewTest.java26 public abstract class ViewTest<T extends View> extends BugleActivityUnitTestCase<TestActivity> {
28 super(TestActivity.class); in ViewTest()
41 TestActivity.class); in setUp()
DFragmentTestCase.java29 extends BugleActivityInstrumentationTestCase<TestActivity> {
35 super(TestActivity.class); in FragmentTestCase()
DBugleActivityTest.java40 TestActivity.class); in setUp()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestActionHandler.java23 import com.android.documentsui.TestActivity;
28 public class TestActionHandler extends AbstractActionHandler<TestActivity> {
39 TestActivity.create(env), in TestActionHandler()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java57 private TestActivity mActivity;
59 private AbstractActionHandler<TestActivity> mHandler;
64 mActivity = TestActivity.create(mEnv); in setUp()
65 mHandler = new AbstractActionHandler<TestActivity>( in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragmentTest.java31 import com.android.messaging.ui.TestActivity;
32 import com.android.messaging.ui.TestActivity.FragmentEventListener;
/packages/apps/Messaging/src/com/android/messaging/ui/
DTestActivity.java34 public class TestActivity extends FragmentActivity { class
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationFragmentTest.java36 import com.android.messaging.ui.TestActivity.FragmentEventListener;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java71 public class TestActivity extends Activity { class