HomeSort by relevance Sort by last modified time
    Searched defs:robolectric (Results 476 - 500 of 617) sorted by null

<<11121314151617181920>>

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
AppWidgetManagerTest.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;
28 appWidgetManager = AppWidgetManager.getInstance(Robolectric.application);
35 assertSame(AppWidgetManager.getInstance(Robolectric.application), appWidgetManager);
36 assertSame(AppWidgetManager.getInstance(new ContextWrapper(Robolectric.application)), appWidgetManager)
    [all...]
ArrayAdapterTest.java 3 package com.xtremelabs.robolectric.shadows;
16 import com.xtremelabs.robolectric.R;
17 import com.xtremelabs.robolectric.Robolectric;
18 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
39 arrayAdapter = new ArrayAdapter<Integer>(Robolectric.application, 0, list);
44 assertEquals(Robolectric.application, arrayAdapter.getContext());
57 ListView parent = new ListView(Robolectric.application);
58 ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(Robolectric.application, R.layout.main, R.id.title, new String[] { "first value" });
66 ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(Robolectric.application, R.id.title, new String[] { "first value" })
    [all...]
AsyncTaskTest.java 1 package com.xtremelabs.robolectric.shadows;
11 import com.xtremelabs.robolectric.Robolectric;
12 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
13 import com.xtremelabs.robolectric.util.Join;
14 import com.xtremelabs.robolectric.util.Transcript;
26 Robolectric.getBackgroundScheduler().pause();
27 Robolectric.getUiThreadScheduler().pause();
37 Robolectric.runBackgroundTasks();
41 Robolectric.runUiThreadTasks()
    [all...]
ConnectivityManagerTest.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.Robolectric;
9 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
14 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
27 connectivityManager = (ConnectivityManager) Robolectric.application.getSystemService(Context.CONNECTIVITY_SERVICE);
CountDownTimerTest.java 1 package com.xtremelabs.robolectric.shadows;
9 import com.xtremelabs.robolectric.Robolectric;
10 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
42 shadowCountDownTimer = Robolectric.shadowOf(countDownTimer);
HandlerThreadTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
6 import com.xtremelabs.robolectric.Robolectric;
7 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
35 assertNotSame(handlerThread.getLooper(), Robolectric.application.getMainLooper());
LogTest.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
LooperTest.java 1 package com.xtremelabs.robolectric.shadows;
7 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
11 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
MapViewTest.java 1 package com.xtremelabs.robolectric.shadows;
9 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
10 import com.xtremelabs.robolectric.bytecode.AndroidTranslatorTest;
15 import static com.xtremelabs.robolectric.shadows.ShadowMapView.toE6;
ResourcesTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
22 import com.xtremelabs.robolectric.R;
23 import com.xtremelabs.robolectric.Robolectric;
24 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
25 import com.xtremelabs.robolectric.RobolectricTestRunnerTest.RunnerForTesting;
26 import com.xtremelabs.robolectric.annotation.Values;
27 import com.xtremelabs.robolectric.util.TestR
    [all...]
SQLiteOpenHelperTest.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
SQLiteStatementTest.java 1 package com.xtremelabs.robolectric.shadows;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
15 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
ServiceTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import static com.xtremelabs.robolectric.Robolectric.newInstanceOf;
4 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
19 import com.xtremelabs.robolectric.Robolectric;
20 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
45 ServiceConnection conn = Robolectric.newInstanceOf(MediaScannerConnection.class);
SpannableStringTest.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
SparseArrayTest.java 17 package com.xtremelabs.robolectric.shadows;
20 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
21 import com.xtremelabs.robolectric.bytecode.ShadowWrangler;
TelephonyManagerTest.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
11 import static com.xtremelabs.robolectric.Robolectric.application;
12 import static com.xtremelabs.robolectric.Robolectric.newInstanceOf;
13 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
TestFragment.java 1 package com.xtremelabs.robolectric.shadows;
13 import com.xtremelabs.robolectric.R;
14 import com.xtremelabs.robolectric.Robolectric;
15 import com.xtremelabs.robolectric.util.Transcript;
54 Context context = Robolectric.application.getApplicationContext();
UriMatcherTest.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.Robolectric;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
7 import com.xtremelabs.robolectric.shadows.ShadowUriMatcher.MatchNode;
29 root = Robolectric.shadowOf(matcher).rootNode;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/
TestSharedPreferencesTest.java 1 package com.xtremelabs.robolectric.tester.android.content;
15 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/
SimpleTestCursorTest.java 1 package com.xtremelabs.robolectric.tester.android.database;
5 import com.xtremelabs.robolectric.Robolectric;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
7 import com.xtremelabs.robolectric.shadows.ShadowContentResolver;
14 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
26 contentResolver = Robolectric.application.getContentResolver();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayerTest.java 1 package com.xtremelabs.robolectric.tester.org.apache.http;
3 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
TestHttpResponseTest.java 1 package com.xtremelabs.robolectric.tester.org.apache.http;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DatabaseConfigTest.java 1 package com.xtremelabs.robolectric.util;
3 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
4 import com.xtremelabs.robolectric.util.DatabaseConfig.DatabaseMap;
5 import com.xtremelabs.robolectric.util.DatabaseConfig.NullDatabaseMapException;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
RobolectricTestRunner.java 1 package com.xtremelabs.robolectric;
30 import com.xtremelabs.robolectric.bytecode.ClassHandler;
31 import com.xtremelabs.robolectric.bytecode.RobolectricClassLoader;
32 import com.xtremelabs.robolectric.bytecode.ShadowWrangler;
33 import com.xtremelabs.robolectric.internal.RealObject;
34 import com.xtremelabs.robolectric.internal.RobolectricTestRunnerInterface;
35 import com.xtremelabs.robolectric.res.ResourceLoader;
36 import com.xtremelabs.robolectric.shadows.ShadowApplication;
37 import com.xtremelabs.robolectric.shadows.ShadowLog;
38 import com.xtremelabs.robolectric.util.DatabaseConfig
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
ClassCache.java 1 package com.xtremelabs.robolectric.bytecode;
31 Attributes attributes = manifest.getEntries().get("robolectric");
53 manifest.getEntries().put("robolectric", attributes);

Completed in 322 milliseconds

<<11121314151617181920>>