OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:robolectric
(Results
401 - 425
of
617
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
CursorWrapperTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
100
ShadowCursorWrapper shadow =
Robolectric
.shadowOf(cursorWrapper);
DialogPreferenceTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
9
import com.xtremelabs.
robolectric
.tester.android.util.TestAttributeSet;
38
shadow =
Robolectric
.shadowOf(preference);
46
shadow =
Robolectric
.shadowOf(preference);
52
shadow =
Robolectric
.shadowOf(preference);
EditTextTest.java
1
package com.xtremelabs.
robolectric
.shadows;
19
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
ImageViewTest.java
1
package com.xtremelabs.
robolectric
.shadows;
11
import com.xtremelabs.
robolectric
.R;
12
import com.xtremelabs.
robolectric
.
Robolectric
;
13
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
18
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
19
import static com.xtremelabs.
robolectric
.
Robolectric
.visualize;
33
Resources resources =
Robolectric
.application.getResources()
[
all
...]
LayerDrawableTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
13
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
37
Robolectric
.application.getResources(), 0x00001000));
39
Robolectric
.application.getResources(), 0x00002000));
41
Robolectric
.application.getResources(), 0x00003000));
43
Robolectric
.application.getResources(), 0x00004000))
[
all
...]
ListActivityTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
41
Robolectric
.shadowOf(listActivity.getListView()).performItemClick(0);
ListPreferenceTest.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.R;
6
import com.xtremelabs.
robolectric
.
Robolectric
;
7
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
28
shadow =
Robolectric
.shadowOf(listPreference);
MapActivityTest.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
MediaStoreTest.java
1
package com.xtremelabs.
robolectric
.shadows;
3
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
MimeTypeMapTest.java
1
package com.xtremelabs.
robolectric
.shadows;
4
import com.xtremelabs.
robolectric
.
Robolectric
;
5
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
9
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
48
ShadowMimeTypeMap shadowMimeTypeMap =
Robolectric
.shadowOf(MimeTypeMap.getSingleton());
66
ShadowMimeTypeMap shadowMimeTypeMap =
Robolectric
.shadowOf(MimeTypeMap.getSingleton());
80
ShadowMimeTypeMap shadowMimeTypeMap =
Robolectric
.shadowOf(MimeTypeMap.getSingleton());
90
ShadowMimeTypeMap shadowMimeTypeMap =
Robolectric
.shadowOf(MimeTypeMap.getSingleton())
[
all
...]
PowerManagerTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
24
powerManager = (PowerManager)
Robolectric
.application.getSystemService(Context.POWER_SERVICE);
25
shadowPowerManager =
Robolectric
.shadowOf(powerManager);
PreferenceActivityTest.java
1
package com.xtremelabs.
robolectric
.shadows;
17
import com.xtremelabs.
robolectric
.R;
18
import com.xtremelabs.
robolectric
.
Robolectric
;
19
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
30
shadow =
Robolectric
.shadowOf(activity);
ProgressBarTest.java
1
package com.xtremelabs.
robolectric
.shadows;
4
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
RadioButtonTest.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
RadioGroupTest.java
1
package com.xtremelabs.
robolectric
.shadows;
4
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
RatingBarTest.java
1
package com.xtremelabs.
robolectric
.shadows;
16
import com.xtremelabs.
robolectric
.
Robolectric
;
17
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
18
import com.xtremelabs.
robolectric
.util.Transcript;
31
shadow =
Robolectric
.shadowOf(ratingBar);
61
ShadowRatingBar shadow =
Robolectric
.shadowOf(ratingBar);
SQLiteQueryBuilderTest.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
SensorManagerTest.java
1
package com.xtremelabs.
robolectric
.shadows;
8
import com.xtremelabs.
robolectric
.
Robolectric
;
9
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
15
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
26
sensorManager = (SensorManager)
Robolectric
.application.getSystemService(Context.SENSOR_SERVICE);
ShadowAutoCompleteTextViewTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
24
new AutoCompleteTextView(
Robolectric
.application);
25
ArrayAdapter<Object> adapter = new ArrayAdapter<Object>(
Robolectric
.application, 0);
35
new AutoCompleteTextView(
Robolectric
.application);
43
new AutoCompleteTextView(
Robolectric
.application);
53
new AutoCompleteTextView(
Robolectric
.application);
63
new AutoCompleteTextView(
Robolectric
.application)
[
all
...]
SmsManagerTest.java
1
package com.xtremelabs.
robolectric
.shadows;
12
import com.xtremelabs.
robolectric
.
Robolectric
;
13
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
27
Robolectric
.bindShadowClass(ShadowSmsManager.class);
29
shadowSmsManager =
Robolectric
.shadowOf(smsManager);
SslErrorHandlerTest.java
1
package com.xtremelabs.
robolectric
.shadows;
9
import com.xtremelabs.
robolectric
.
Robolectric
;
10
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
25
handler =
Robolectric
.newInstanceOf(SslErrorHandler.class);
26
shadow =
Robolectric
.shadowOf(handler);
StatFsTest.java
1
package com.xtremelabs.
robolectric
.shadows;
6
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
SyncResultTest.java
1
package com.xtremelabs.
robolectric
.shadows;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
TabSpecTest.java
1
package com.xtremelabs.
robolectric
.shadows;
11
import com.xtremelabs.
robolectric
.R;
12
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
17
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
TypedValueTest.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
Completed in 357 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>