コード例 #1
0
 public static ShadowMatrix shadowOf(Matrix other) {
   return (ShadowMatrix) Robolectric.shadowOf_(other);
 }
コード例 #2
0
 public static ShadowMotionEvent shadowOf(MotionEvent other) {
   return (ShadowMotionEvent) Robolectric.shadowOf_(other);
 }
コード例 #3
0
ファイル: Robolectric.java プロジェクト: WeiBanjo/robolectric
 public static ShadowCornerPathEffect shadowOf(CornerPathEffect instance) {
   return (ShadowCornerPathEffect) Robolectric.shadowOf_(instance);
 }
コード例 #4
0
 public static ShadowCountDownTimer shadowOf(CountDownTimer instance) {
   return (ShadowCountDownTimer) Robolectric.shadowOf_(instance);
 }
コード例 #5
0
 public static ShadowSQLiteOpenHelper shadowOf(SQLiteOpenHelper other) {
   return (ShadowSQLiteOpenHelper) Robolectric.shadowOf_(other);
 }
コード例 #6
0
 public static ShadowSQLiteQueryBuilder shadowOf(SQLiteQueryBuilder other) {
   return (ShadowSQLiteQueryBuilder) Robolectric.shadowOf_(other);
 }
コード例 #7
0
 public static ShadowBitmap shadowOf(Bitmap other) {
   return (ShadowBitmap) Robolectric.shadowOf_(other);
 }
コード例 #8
0
 public static ShadowSQLiteCursor shadowOf(SQLiteCursor other) {
   return (ShadowSQLiteCursor) Robolectric.shadowOf_(other);
 }
コード例 #9
0
 private ShadowChatManager getShadowChatManager() {
   return Robolectric.shadowOf_(xmppConnection.getChatManager());
 }
コード例 #10
0
 public static ShadowAssetManager shadowOf(AssetManager instance) {
   return (ShadowAssetManager) Robolectric.shadowOf_(instance);
 }
コード例 #11
0
 private ShadowChat getShadowChatForXmppRecipient() {
   ShadowChatManager shadowChatManager = getShadowChatManager();
   return Robolectric.shadowOf_(
       shadowChatManager.getChatForRecipient(XMPPCommunication.XMPP_RECIPIENT));
 }
コード例 #12
0
ファイル: Robolectric.java プロジェクト: WeiBanjo/robolectric
 public static ShadowSparseBooleanArray shadowOf(SparseBooleanArray other) {
   return (ShadowSparseBooleanArray) Robolectric.shadowOf_(other);
 }
コード例 #13
0
ファイル: Robolectric.java プロジェクト: WeiBanjo/robolectric
 public static <E> ShadowSparseArray<E> shadowOf(SparseArray<E> other) {
   //noinspection unchecked
   return (ShadowSparseArray<E>) Robolectric.shadowOf_(other);
 }
コード例 #14
0
 public static ShadowNotification shadowOf(Notification other) {
   return (ShadowNotification) Robolectric.shadowOf_(other);
 }
コード例 #15
0
 public static ShadowBluetoothAdapter shadowOf(BluetoothAdapter other) {
   return (ShadowBluetoothAdapter) Robolectric.shadowOf_(other);
 }
コード例 #16
0
 public static ShadowNotificationManager shadowOf(NotificationManager other) {
   return (ShadowNotificationManager) Robolectric.shadowOf_(other);
 }
コード例 #17
0
 public static ShadowBluetoothDevice shadowOf(BluetoothDevice other) {
   return (ShadowBluetoothDevice) Robolectric.shadowOf_(other);
 }
コード例 #18
0
 public static ShadowSQLiteDatabase shadowOf(SQLiteDatabase other) {
   return (ShadowSQLiteDatabase) Robolectric.shadowOf_(other);
 }
コード例 #19
0
 public static ShadowConfiguration shadowOf(Configuration instance) {
   return (ShadowConfiguration) Robolectric.shadowOf_(instance);
 }
コード例 #20
0
 public static ShadowSQLiteProgram shadowOf(SQLiteProgram other) {
   return (ShadowSQLiteProgram) Robolectric.shadowOf_(other);
 }
コード例 #21
0
 public static ShadowContentValues shadowOf(ContentValues other) {
   return (ShadowContentValues) Robolectric.shadowOf_(other);
 }
コード例 #22
0
 public static ShadowSQLiteStatement shadowOf(SQLiteStatement other) {
   return (ShadowSQLiteStatement) Robolectric.shadowOf_(other);
 }
コード例 #23
0
ファイル: Robolectric.java プロジェクト: WeiBanjo/robolectric
 @SuppressWarnings("rawtypes")
 public static ShadowAsyncTask shadowOf(AsyncTask instance) {
   return (ShadowAsyncTask) Robolectric.shadowOf_(instance);
 }