HomeSort by relevance Sort by last modified time
    Searched refs:Robolectric (Results 226 - 250 of 260) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceLoader.java 1 package com.xtremelabs.robolectric.res;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
5 import com.xtremelabs.robolectric.Robolectric;
6 import com.xtremelabs.robolectric.shadows.ShadowContextWrapper;
7 import com.xtremelabs.robolectric.util.I18nException;
8 import com.xtremelabs.robolectric.util.PropertiesHelper;
454 ShadowContextWrapper shadowApp = Robolectric.shadowOf( Robolectric.application )
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBundle.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf_;
15 import com.xtremelabs.robolectric.Robolectric;
16 import com.xtremelabs.robolectric.internal.Implementation;
17 import com.xtremelabs.robolectric.internal.Implements;
382 map.putAll(((ShadowBundle) Robolectric.shadowOf_(bundle)).map);
455 Robolectric.Reflection.setFinalStaticField(Bundle.class, "EMPTY", new Bundle());
ShadowContext.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.internal.Implementation;
9 import com.xtremelabs.robolectric.internal.Implements;
10 import com.xtremelabs.robolectric.internal.RealObject;
11 import com.xtremelabs.robolectric.res.ResourceLoader;
19 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
167 File tmp = File.createTempFile(name, "robolectric");
ShadowLocation.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.internal.Implementation;
6 import com.xtremelabs.robolectric.internal.Implements;
8 import static com.xtremelabs.robolectric.Robolectric.shadowOf_;
ShadowRect.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.internal.Implementation;
5 import com.xtremelabs.robolectric.internal.Implements;
6 import com.xtremelabs.robolectric.internal.RealObject;
8 import static com.xtremelabs.robolectric.Robolectric.shadowOf_;
ShadowWebView.java 1 package com.xtremelabs.robolectric.shadows;
10 import com.xtremelabs.robolectric.Robolectric;
11 import com.xtremelabs.robolectric.internal.Implementation;
12 import com.xtremelabs.robolectric.internal.Implements;
ShadowContentValues.java 17 package com.xtremelabs.robolectric.shadows;
21 import com.xtremelabs.robolectric.internal.Implementation;
22 import com.xtremelabs.robolectric.internal.Implements;
28 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
29 import static com.xtremelabs.robolectric.Robolectric.shadowOf_;
ShadowLocationManager.java 1 package com.xtremelabs.robolectric.shadows;
12 import com.xtremelabs.robolectric.Robolectric;
13 import com.xtremelabs.robolectric.internal.Implementation;
14 import com.xtremelabs.robolectric.internal.Implements;
86 Robolectric.getShadowApplication().sendBroadcast(intent);
ShadowIntent.java 1 package com.xtremelabs.robolectric.shadows;
12 import com.xtremelabs.robolectric.Robolectric;
13 import com.xtremelabs.robolectric.internal.Implementation;
14 import com.xtremelabs.robolectric.internal.Implements;
15 import com.xtremelabs.robolectric.internal.RealObject;
16 import com.xtremelabs.robolectric.util.Join;
22 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
538 * {@link Robolectric#shadowOf(android.content.Intent)}
    [all...]
ShadowTextView.java 1 package com.xtremelabs.robolectric.shadows;
18 import com.xtremelabs.robolectric.internal.Implementation;
19 import com.xtremelabs.robolectric.internal.Implements;
25 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
26 import static com.xtremelabs.robolectric.Robolectric.shadowOf_;
331 * Robolectric extension.
ShadowAdapterView.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.internal.Implementation;
9 import com.xtremelabs.robolectric.internal.Implements;
10 import com.xtremelabs.robolectric.internal.RealObject;
15 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
145 * @see com.xtremelabs.robolectric.shadows.ShadowAdapterView#checkValidity()
ShadowContextWrapper.java 1 package com.xtremelabs.robolectric.shadows;
17 import com.xtremelabs.robolectric.internal.Implementation;
18 import com.xtremelabs.robolectric.internal.Implements;
19 import com.xtremelabs.robolectric.internal.RealObject;
20 import com.xtremelabs.robolectric.tester.android.content.TestSharedPreferences;
28 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
ShadowViewGroup.java 1 package com.xtremelabs.robolectric.shadows;
6 import com.xtremelabs.robolectric.internal.Implementation;
7 import com.xtremelabs.robolectric.internal.Implements;
13 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
194 * Robolectric extension.
  /external/robolectric/src/test/java/android/webkit/
TestWebSettingsTest.java 5 import com.xtremelabs.robolectric.Robolectric;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AnimationTest.java 1 package com.xtremelabs.robolectric.shadows;
7 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
8 import com.xtremelabs.robolectric.util.TestAnimationListener;
13 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
IntentTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
22 import com.xtremelabs.robolectric.Robolectric;
23 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
382 assertThat(Robolectric.shadowOf(intent.getExtras()).getStringArrayList("KEY"), equalTo(strings));
392 assertThat(Robolectric.shadowOf(intent.getExtras()).getIntegerArrayList("KEY"), equalTo(integers));
SQLiteStatementTest.java 1 package com.xtremelabs.robolectric.shadows;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
15 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
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;
AbstractCursorTest.java 1 package com.xtremelabs.robolectric.shadows;
18 import com.xtremelabs.robolectric.Robolectric;
19 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
216 ShadowAbstractCursor shadow = Robolectric.shadowOf_(cursor);
CameraTest.java 1 package com.xtremelabs.robolectric.shadows;
10 import com.xtremelabs.robolectric.Robolectric;
11 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
34 shadowCamera = Robolectric.shadowOf(camera);
SQLiteCursorTest.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.Robolectric;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
7 import com.xtremelabs.robolectric.util.DatabaseConfig;
344 Robolectric.shadowOf(cursor).setResultSet(resultSet, sql);
DatabaseTestBase.java 1 package com.xtremelabs.robolectric.shadows;
6 import com.xtremelabs.robolectric.Robolectric;
7 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
17 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
30 shDatabase = Robolectric.shadowOf(database);
200 * So the question is should Robolectric:
217 //Android and SQLite don't normally throw an exception here. See above explanation as to why Robolectric should.
223 //Android and SQLite don't normally throw an exception here. See above explanation as to why Robolectric should
    [all...]
TextViewTest.java 1 package com.xtremelabs.robolectric.shadows;
14 import com.xtremelabs.robolectric.R;
15 import com.xtremelabs.robolectric.Robolectric;
16 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
27 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
337 Typeface typeface = Robolectric.newInstanceOf(Typeface.class);
AccountManagerTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
10 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java 1 package com.xtremelabs.robolectric.tester.org.apache.http;
3 import com.xtremelabs.robolectric.Robolectric;
4 import com.xtremelabs.robolectric.shadows.HttpResponseGenerator;
30 List<HttpRequestInfo> requestInfos = Robolectric.getFakeHttpLayer().getSentHttpRequestInfos();
110 throw new RuntimeException("Unexpected call to execute, no pending responses are available. See Robolectric.addPendingResponse(). Request was: " +
173 * You can disable Robolectric's fake HTTP layer temporarily

Completed in 1143 milliseconds

1 2 3 4 5 6 7 8 91011