OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:shadowOf
(Results
1 - 6
of
6
) sorted by null
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
RobolectricForMaps.java
13
public static ShadowGeoPoint
shadowOf
(GeoPoint instance) {
17
public static ShadowMapView
shadowOf
(MapView instance) {
21
public static ShadowMapController
shadowOf
(MapController instance) {
25
public static ShadowItemizedOverlay
shadowOf
(ItemizedOverlay instance) {
RobolectricShadowOfLevel9.java
13
public static ShadowNdefMessage
shadowOf
(NdefMessage instance) {
17
public static ShadowNdefRecord
shadowOf
(NdefRecord instance) {
21
public static ShadowNfcAdapter
shadowOf
(NfcAdapter instance) {
Robolectric.java
386
public static ShadowAbsListView
shadowOf
(AbsListView instance) {
390
public static ShadowAbsSeekBar
shadowOf
(AbsSeekBar instance) {
394
public static ShadowAccountManager
shadowOf
(AccountManager instance) {
398
public static ShadowActivity
shadowOf
(Activity instance) {
402
public static ShadowActivityGroup
shadowOf
(ActivityGroup instance) {
406
public static ShadowActivityManager
shadowOf
(ActivityManager instance) {
410
public static ShadowAdapterView
shadowOf
(AdapterView instance) {
414
public static ShadowAddress
shadowOf
(Address instance) {
418
public static ShadowAlarmManager
shadowOf
(AlarmManager instance) {
422
public static ShadowAlertDialog
shadowOf
(AlertDialog instance)
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
ShadowWranglerTest.java
46
assertSame(name,
shadowOf
(foo).name);
47
assertSame(foo,
shadowOf
(foo).realFooCtor);
55
assertSame(name,
shadowOf
(foo).name);
56
assertSame(foo,
shadowOf
(foo).realFooField);
58
assertSame(foo,
shadowOf
(foo).realFooInConstructor);
59
assertSame(foo,
shadowOf
(foo).realFooInParentConstructor);
109
assertThat(
shadowOf
(textFoo), instanceOf(ShadowTextFoo.class));
161
private ShadowFoo
shadowOf
(Foo foo) {
165
private ShadowTextFoo
shadowOf
(TextFoo foo) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
ShadowWrangler.java
254
public Object
shadowOf
(Object instance) {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AlertDialogTest.java
3
import static com.xtremelabs.robolectric.Robolectric.
shadowOf
;
41
ShadowAlertDialog shadowAlertDialog =
shadowOf
(alert);
45
assertThat(
shadowOf
(ShadowAlertDialog.getLatestAlertDialog()), sameInstance(shadowAlertDialog));
63
assertThat(
shadowOf
(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue()));
64
assertThat(
shadowOf
(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue());
82
ShadowAlertDialog shadowAlertDialog =
shadowOf
(alert);
98
ShadowAlertDialog shadowAlertDialog =
shadowOf
(alert);
110
assertThat(
shadowOf
(alert).getView(), equalTo((View) view));
121
assertThat(
shadowOf
(alert).getCustomTitleView(), equalTo((View) view));
132
final Button positiveButton =
shadowOf
(alertDialog).getButton(AlertDialog.BUTTON_POSITIVE)
[
all
...]
Completed in 625 milliseconds