OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Shadows
(Results
1 - 25
of
181
) sorted by null
1
2
3
4
5
6
7
8
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
LocalControlledLooper.java
3
import static org.robolectric.
Shadows
.shadowOf;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowCameraParametersTest.java
1
package org.robolectric.
shadows
;
13
import org.robolectric.
Shadows
;
28
assertThat(
Shadows
.shadowOf(parameters).getPictureHeight()).isNotEqualTo(600);
29
assertThat(
Shadows
.shadowOf(parameters).getPictureWidth()).isNotEqualTo(800);
34
assertThat(
Shadows
.shadowOf(parameters).getPictureHeight()).isEqualTo(600);
35
assertThat(
Shadows
.shadowOf(parameters).getPictureWidth()).isEqualTo(800);
59
assertThat(
Shadows
.shadowOf(parameters).getPreviewWidth()).isNotEqualTo(320);
60
assertThat(
Shadows
.shadowOf(parameters).getPreviewHeight()).isNotEqualTo(240);
65
assertThat(
Shadows
.shadowOf(parameters).getPreviewWidth()).isEqualTo(320);
66
assertThat(
Shadows
.shadowOf(parameters).getPreviewHeight()).isEqualTo(240)
[
all
...]
ShadowArrayAdapterTest.java
1
package org.robolectric.
shadows
;
20
import org.robolectric.
Shadows
;
68
assertThat(
Shadows
.shadowOf(arrayAdapter).getResourceId()).isEqualTo(R.id.title);
69
assertThat(
Shadows
.shadowOf(arrayAdapter).getTextViewResourceId()).isNotEqualTo(R.id.title);
70
assertThat(
Shadows
.shadowOf(arrayAdapter).getTextViewResourceId()).isEqualTo(0);
76
assertThat(
Shadows
.shadowOf(arrayAdapter2).getResourceId()).isEqualTo(R.id.title);
77
assertThat(
Shadows
.shadowOf(arrayAdapter2).getTextViewResourceId()).isNotEqualTo(R.id.title);
78
assertThat(
Shadows
.shadowOf(arrayAdapter2).getTextViewResourceId()).isEqualTo(0);
85
assertThat(
Shadows
.shadowOf(arrayAdapter3).getResourceId()).isEqualTo(R.id.title);
86
assertThat(
Shadows
.shadowOf(arrayAdapter3).getTextViewResourceId()).isNotEqualTo(R.id.title)
[
all
...]
ShadowAbsSeekBarTest.java
1
package org.robolectric.
shadows
;
11
import org.robolectric.
Shadows
;
20
ShadowAbsSeekBar shadow =
Shadows
.shadowOf(seekBar);
ShadowEuiccManagerTest.java
1
package org.robolectric.
shadows
;
12
import org.robolectric.
Shadows
;
25
shadowEuiccManager =
Shadows
.shadowOf(euiccManager);
ShadowLayoutAnimationControllerTest.java
1
package org.robolectric.
shadows
;
11
import org.robolectric.
Shadows
;
21
shadow =
Shadows
.shadowOf(controller);
ShadowNumberPickerTest.java
1
package org.robolectric.
shadows
;
11
import org.robolectric.
Shadows
;
23
ShadowNumberPicker shadowNumberPicker =
Shadows
.shadowOf(picker);
ShadowContentProviderOperationTest.java
1
package org.robolectric.
shadows
;
11
import org.robolectric.
Shadows
;
28
ShadowContentProviderOperation shadow =
Shadows
.shadowOf(op);
40
shadow =
Shadows
.shadowOf(op);
52
shadow =
Shadows
.shadowOf(op);
ShadowMimeTypeMapTest.java
1
package org.robolectric.
shadows
;
8
import static org.robolectric.
Shadows
.shadowOf;
14
import org.robolectric.
Shadows
;
52
ShadowMimeTypeMap shadowMimeTypeMap =
Shadows
.shadowOf(MimeTypeMap.getSingleton());
70
ShadowMimeTypeMap shadowMimeTypeMap =
Shadows
.shadowOf(MimeTypeMap.getSingleton());
84
ShadowMimeTypeMap shadowMimeTypeMap =
Shadows
.shadowOf(MimeTypeMap.getSingleton());
94
ShadowMimeTypeMap shadowMimeTypeMap =
Shadows
.shadowOf(MimeTypeMap.getSingleton());
ShadowActivityGroupTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
ShadowCornerPathEffectTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
ShadowGradientDrawableTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
ShadowInputEventTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
ShadowAnimationUtilsTest.java
1
package org.robolectric.
shadows
;
13
import org.robolectric.
Shadows
;
31
assertThat(
Shadows
.shadowOf(anim).getLoadedFromResourceId()).isEqualTo(R.anim.fade_in);
ShadowNetworkTest.java
1
package org.robolectric.
shadows
;
15
import org.robolectric.
Shadows
;
26
ShadowNetwork shadowNetwork =
Shadows
.shadowOf(network);
ShadowSeekBarTest.java
1
package org.robolectric.
shadows
;
13
import org.robolectric.
Shadows
;
26
shadow =
Shadows
.shadowOf(seekBar);
ShadowSslErrorHandlerTest.java
1
package org.robolectric.
shadows
;
10
import org.robolectric.
Shadows
;
22
shadow =
Shadows
.shadowOf(handler);
ShadowTouchDelegateTest.java
1
package org.robolectric.
shadows
;
13
import org.robolectric.
Shadows
;
27
td =
Shadows
.shadowOf(realTD);
ShadowProgressDialogTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
13
import org.robolectric.
Shadows
;
24
shadow =
Shadows
.shadowOf(dialog);
ShadowContentProviderTest.java
1
package org.robolectric.
shadows
;
5
import static org.robolectric.
Shadows
.shadowOf;
12
import org.robolectric.
shadows
.testing.TestContentProvider1;
ShadowIntentServiceTest.java
1
package org.robolectric.
shadows
;
4
import static org.robolectric.
Shadows
.shadowOf;
ShadowJsResultTest.java
1
package org.robolectric.
shadows
;
5
import static org.robolectric.
Shadows
.shadowOf;
/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/common/
ShadowGoogleApiAvailabilityTest.java
1
package org.robolectric.
shadows
.gms.common;
19
import org.robolectric.
shadows
.gms.
Shadows
;
25
@Config(manifest = Config.NONE,
shadows
= {ShadowGoogleApiAvailability.class})
55
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance());
63
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance());
80
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance());
96
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance());
111
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance());
128
=
Shadows
.shadowOf(GoogleApiAvailability.getInstance())
[
all
...]
/external/robolectric-shadows/processor/src/test/resources/org/robolectric/
Robolectric_NoExcludedTypes.java
14
public class
Shadows
implements ShadowProvider {
18
SHADOW_MAP.put("com.example.objects.Dummy", "org.robolectric.annotation.processing.
shadows
.ShadowExcludedFromAndroidSdk");
Robolectric_EmptyProvidedPackageNames.java
7
import org.robolectric.annotation.processing.
shadows
.ShadowDummy;
13
public class
Shadows
implements ShadowProvider {
17
SHADOW_MAP.put("com.example.objects.Dummy", "org.robolectric.annotation.processing.
shadows
.ShadowDummy");
Completed in 545 milliseconds
1
2
3
4
5
6
7
8