Home
last modified time | relevance | path

Searched refs:FakeFactory (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java51 public class FakeFactory extends Factory { class
65 private FakeFactory() { in FakeFactory() method in FakeFactory
68 public static FakeFactory registerWithFakeContext(final Context context, in registerWithFakeContext()
74 final FakeFactory factory = new FakeFactory(); in registerWithFakeContext()
148 public static FakeFactory register(final Context applicationContext) { in register()
153 public static FakeFactory registerWithoutFakeContext(final Context applicationContext) { in registerWithoutFakeContext()
239 public FakeFactory withDataModel(final DataModel dataModel) { in withDataModel()
244 public FakeFactory withUIIntents(final UIIntents uiIntents) { in withUIIntents()
249 public FakeFactory withMemoryCacheManager(final MemoryCacheManager memoryCacheManager) { in withMemoryCacheManager()
254 public FakeFactory withBugleGservices(final BugleGservices bugleGservices) { in withBugleGservices()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DBugleActivityTest.java19 import com.android.messaging.FakeFactory;
43 FakeFactory.register(getInstrumentation().getTargetContext()) in setUp()
DCustomHeaderViewPagerTest.java23 import com.android.messaging.FakeFactory;
31 FakeFactory.register(getInstrumentation().getTargetContext()); in setUp()
DMultiAttachmentLayoutTest.java27 import com.android.messaging.FakeFactory;
39 FakeFactory.register(context); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DDataModelTest.java22 import com.android.messaging.FakeFactory;
40 FakeFactory.register(mContext) in setUp()
DParticipantRefreshTest.java29 import com.android.messaging.FakeFactory;
43 FakeFactory mFakeFactory;
56 mFakeFactory = FakeFactory.registerWithFakeContext(getTestContext(), mContext) in setUp()
DBitmapPoolTest.java25 import com.android.messaging.FakeFactory;
44 FakeFactory.register(getTestContext()) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DAudioRecordViewTest.java23 import com.android.messaging.FakeFactory;
42 FakeFactory.register(getInstrumentation().getContext()) in setUp()
DMediaPickerTest.java24 import com.android.messaging.FakeFactory;
60 FakeFactory.register(context) in setUp()
DGalleryGridItemViewTest.java23 import com.android.messaging.FakeFactory;
45 FakeFactory.register(context) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java24 import com.android.messaging.FakeFactory;
42 FakeFactory.register(getInstrumentation().getTargetContext()); in setUp()
DConversationFragmentTest.java25 import com.android.messaging.FakeFactory;
75 FakeFactory.register(this.getInstrumentation().getTargetContext()) in setUp()
DConversationInputManagerTest.java25 import com.android.messaging.FakeFactory;
60 FakeFactory.register(getTestContext()) in setUp()
DComposeMessageViewTest.java25 import com.android.messaging.FakeFactory;
71 FakeFactory.register(mContext) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DImageRequestTest.java24 import com.android.messaging.FakeFactory;
45 FakeFactory.register(getTestContext()) in setUp()
DMediaResourceManagerTest.java21 import com.android.messaging.FakeFactory;
38 FakeFactory.register(getTestContext()) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListFragmentTest.java27 import com.android.messaging.FakeFactory;
65 FakeFactory.register(context) in setUp()
DConversationListItemViewTest.java26 import com.android.messaging.FakeFactory;
52 FakeFactory.register(context) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DConversationMessageDataTest.java21 import com.android.messaging.FakeFactory;
32 FakeFactory.register(getTestContext()); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java24 import com.android.messaging.FakeFactory;
44 FakeFactory.register(context) in setUp()
DContactPickerFragmentTest.java26 import com.android.messaging.FakeFactory;
75 FakeFactory.register(context) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationActionTest.java27 import com.android.messaging.FakeFactory;
169 FakeFactory.registerWithFakeContext(getTestContext(), mContext) in setUp()
DActionServiceTest.java31 import com.android.messaging.FakeFactory;
166 FakeFactory.registerWithFakeContext(getContext(),mContext) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragmentTest.java23 import com.android.messaging.FakeFactory;
89 FakeFactory.register(this.getInstrumentation().getTargetContext()) in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DContactUtilTest.java29 import com.android.messaging.FakeFactory;
48 FakeFactory.registerWithoutFakeContext(getTestContext()); in setUp()

12