OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shadowOf
(Results
151 - 175
of
192
) sorted by null
1
2
3
4
5
6
7
8
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextView.java
25
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
588
return
shadowOf
(leftDrawable).getLoadedFromResourceId();
592
return
shadowOf
(topDrawable).getLoadedFromResourceId();
596
return
shadowOf
(rightDrawable).getLoadedFromResourceId();
600
return
shadowOf
(bottomDrawable).getLoadedFromResourceId();
ShadowAlertDialog.java
22
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
85
shadowOf
(realAlertDialog.getListView()).performItemClick(index);
122
Robolectric.
shadowOf
(button).setText(text); // use shadow to skip
436
ShadowAlertDialog latestAlertDialog =
shadowOf
(realDialog);
ShadowApplication.java
32
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
108
ShadowApplication shadowApplication =
shadowOf
(application);
202
shadowOf
(Looper.getMainLooper()).post(new Runnable() {
214
shadowOf
(Looper.getMainLooper()).post(new Runnable() {
ShadowSQLiteProgram.java
23
connection = Robolectric.
shadowOf
(db).getConnection();
ShadowAdapterView.java
15
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
267
String innerText =
shadowOf
(childView).innerText();
ShadowAppWidgetManager.java
22
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
41
shadowOf
(appWidgetManager).context = applicationContext;
ShadowDialog.java
22
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
247
if (text.equals(
shadowOf
(view).innerText())) {
ShadowMapView.java
19
import static com.xtremelabs.robolectric.RobolectricForMaps.
shadowOf
;
83
shadowMapController =
shadowOf
(mapController);
ShadowPendingIntent.java
127
return shadowEquals(Robolectric.
shadowOf
((PendingIntent) obj));
181
ShadowPendingIntent shadowPendingIntent = Robolectric.
shadowOf
(pendingIntent);
ShadowSparseArray.java
20
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
388
ShadowSparseArray<?> target = (ShadowSparseArray<?>)
shadowOf
((SparseArray<?>) o);
ShadowIntent.java
22
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
54
ShadowIntent other =
shadowOf
(intent);
198
ShadowIntent srcShadowIntent =
shadowOf
(src);
429
ShadowIntent other =
shadowOf
(otherIntent);
538
* {@link Robolectric#
shadowOf
(android.content.Intent)})
575
return realIntentEquals(
shadowOf
((Intent) o));
ShadowParcel.java
3
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
693
shadowOf
(bundle).map.putAll(m);
709
writeMapInternal(
shadowOf
(val).map);
ShadowView.java
3
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
622
out.print(" id=\"" +
shadowOf
(context).getResourceLoader().getNameForId(id) + "\"");
845
+
shadowOf
(context).getResourceLoader()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
HandlerTest.java
15
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
55
shadowOf
(looper).idle();
68
shadowOf
(Looper.myLooper()).idle();
87
shadowOf
(looper2).idle();
123
ShadowLooper shadowLooper =
shadowOf
(handler.getLooper());
IntentTest.java
3
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
147
assertEquals(2L,
shadowOf
(intent).getExtras().get("foo"));
211
ShadowIntent si =
shadowOf
(intent);
222
ShadowIntent si =
shadowOf
(intent);
229
assertEquals(
shadowOf
(intent).getIntentClass(), getClass());
382
assertThat(Robolectric.
shadowOf
(intent.getExtras()).getStringArrayList("KEY"), equalTo(strings));
392
assertThat(Robolectric.
shadowOf
(intent.getExtras()).getIntegerArrayList("KEY"), equalTo(integers));
DialogTest.java
59
ShadowDialog shadow = Robolectric.
shadowOf
(dialog);
75
ShadowDialog shadow = Robolectric.
shadowOf
(dialog);
WifiManagerTest.java
19
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
38
shadowWifiManager =
shadowOf
(wifiManager);
AbsSpinnerTest.java
39
shadowSpinner = (ShadowAbsSpinner) Robolectric.
shadowOf
(spinner);
CursorWrapperTest.java
100
ShadowCursorWrapper shadow = Robolectric.
shadowOf
(cursorWrapper);
UriMatcherTest.java
29
root = Robolectric.
shadowOf
(matcher).rootNode;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
RobolectricTest.java
27
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
156
ShadowDisplay shadowDisplay =
shadowOf
(display);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java
24
import static com.xtremelabs.robolectric.RobolectricForMaps.
shadowOf
;
51
assertThat(
shadowOf
(overlay).isPopulated(), is(true));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ViewLoaderTest.java
25
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
131
assertThat(
shadowOf
(webView).getLastLoadedUrl(), equalTo("www.example.com"));
267
ShadowTextView shadowTextView =
shadowOf
((TextView) mediaView.findViewById(R.id.title));
286
assertThat(((ShadowImageView)
shadowOf
(mediaView.findViewById(R.id.image))).getResourceId(), equalTo(R.drawable.an_image));
317
ShadowImageView shadowImageView = Robolectric.
shadowOf
(imageView);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceLoader.java
3
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
385
ResourceLoader resourceLoader =
shadowOf
( context.getApplicationContext() ).getResourceLoader();
454
ShadowContextWrapper shadowApp = Robolectric.
shadowOf
( Robolectric.application );
ViewLoader.java
26
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
202
shadowOf
(view).applyFocus();
Completed in 82 milliseconds
1
2
3
4
5
6
7
8