Home
last modified time | relevance | path

Searched refs:TestActivity (Results 1 – 22 of 22) 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.java83 private TestActivity mActivity;
86 private ActionHandler<TestActivity> mHandler;
96 mActivity = TestActivity.create(mEnv); in setUp()
705 private ActionHandler<TestActivity> createHandler() { in createHandler()
DMenuManagerTest.java118 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.java68 private TestActivity mActivity;
69 private TestableActionHandler<TestActivity> mHandler;
76 mActivity = TestActivity.create(mEnv); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DHideNonSystemOverlayMixinTest.java43 private ActivityController<TestActivity> mActivityController;
47 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp()
53 TestActivity activity = mActivityController.get(); in startActivity_shouldHideNonSystemOverlay()
64 TestActivity activity = mActivityController.get(); in stopActivity_shouldUnhideNonSystemOverlay()
85 public static class TestActivity extends AppCompatActivity { class in HideNonSystemOverlayMixinTest
/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/
DTestActivity.java54 public abstract class TestActivity extends AbstractBase { class
75 public static TestActivity create(TestEnv env) { in create()
76 TestActivity activity = Mockito.mock(TestActivity.class, Mockito.CALLS_REAL_METHODS); in create()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestActionHandler.java24 import com.android.documentsui.TestActivity;
30 public class TestActionHandler extends AbstractActionHandler<TestActivity> {
45 TestActivity.create(env), in TestActionHandler()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragHostTest.java32 import com.android.documentsui.files.TestActivity;
53 private TestActivity mActivity;
66 mActivity = TestActivity.create(mEnv); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java61 private TestActivity mActivity;
63 private AbstractActionHandler<TestActivity> mHandler;
68 mActivity = TestActivity.create(mEnv); in setUp()
69 mHandler = new AbstractActionHandler<TestActivity>( in setUp()
DRecentsLoaderTests.java46 private TestActivity mActivity;
52 mActivity = TestActivity.create(mEnv); in setUp()
DGlobalSearchLoaderTest.java54 private TestActivity mActivity;
60 mActivity = TestActivity.create(mEnv); in setUp()
DDragAndDropManagerTests.java68 private TestActivity mActivity;
99 mActivity = TestActivity.create(mEnv); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DInspectorControllerTest.java66 private TestActivity mActivity;
108 mActivity = new TestActivity(); in setUp()
285 private static class TestActivity extends Activity { class in InspectorControllerTest
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java97 private TestActivity mActivity;
98 private ActivityController<TestActivity> mController;
117 mActivity = new TestActivity(); in setUp()
616 private static class TestActivity extends BaseTestActivity { class in ApplicationDetailsFragmentTest
/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