HomeSort by relevance Sort by last modified time
    Searched refs:robolectric (Results 301 - 325 of 1119) sorted by null

<<11121314151617181920>>

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLooper.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.Robolectric;
5 import com.xtremelabs.robolectric.internal.Implementation;
6 import com.xtremelabs.robolectric.internal.Implements;
7 import com.xtremelabs.robolectric.util.Scheduler;
9 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
30 return Robolectric.Reflection.newInstanceOf(Looper.class);
41 return Robolectric.getShadowApplication().getMainLooper()
    [all...]
ShadowToast.java 1 package com.xtremelabs.robolectric.shadows;
7 import com.xtremelabs.robolectric.Robolectric;
8 import com.xtremelabs.robolectric.internal.Implementation;
9 import com.xtremelabs.robolectric.internal.Implements;
10 import com.xtremelabs.robolectric.internal.RealObject;
14 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
44 Robolectric.getShadowApplication().getShownToasts().add(toast);
81 Robolectric.getShadowApplication().getShownToasts().clear()
    [all...]
ShadowViewConfiguration.java 21 package com.xtremelabs.robolectric.shadows;
26 import com.xtremelabs.robolectric.Robolectric;
27 import com.xtremelabs.robolectric.internal.Implementation;
28 import com.xtremelabs.robolectric.internal.Implements;
29 import com.xtremelabs.robolectric.internal.RealObject;
31 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
90 ViewConfiguration viewConfiguration = Robolectric.newInstanceOf(ViewConfiguration.class);
ShadowViewStub.java 1 package com.xtremelabs.robolectric.shadows;
8 import com.xtremelabs.robolectric.Robolectric;
9 import com.xtremelabs.robolectric.internal.Implementation;
10 import com.xtremelabs.robolectric.internal.Implements;
11 import com.xtremelabs.robolectric.internal.RealObject;
12 import com.xtremelabs.robolectric.res.ResourceExtractor;
41 ResourceExtractor resourceExtractor = Robolectric.getShadowApplication().getResourceLoader().getResourceExtractor();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
RobolectricTestRunnerTest.java 1 package com.xtremelabs.robolectric;
3 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
14 import com.xtremelabs.robolectric.annotation.DisableStrictI18n;
15 import com.xtremelabs.robolectric.annotation.EnableStrictI18n;
16 import com.xtremelabs.robolectric.annotation.Values;
17 import com.xtremelabs.robolectric.res.ResourceLoader;
24 assertNotNull(Robolectric.application);
25 assertEquals(MyTestApplication.class, Robolectric.application.getClass());
26 assertFalse(((MyTestApplication) Robolectric.application).onCreateWasCalled)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
PreferenceLoaderTest.java 1 package com.xtremelabs.robolectric.res;
3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
18 import com.xtremelabs.robolectric.R;
19 import com.xtremelabs.robolectric.Robolectric;
20 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
21 import com.xtremelabs.robolectric.util.I18nException;
33 Robolectric.bindDefaultShadowClasses();
65 prefLoader.inflatePreferences(Robolectric.application, R.xml.preferences);
MenuLoaderTest.java 1 package com.xtremelabs.robolectric.res;
4 import static com.xtremelabs.robolectric.util.TestUtil.getSystemResourceDir;
5 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
24 import com.xtremelabs.robolectric.R;
25 import com.xtremelabs.robolectric.Robolectric;
26 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
27 import com.xtremelabs.robolectric.tester.android.view.TestMenuItem;
28 import com.xtremelabs.robolectric.util.I18nException;
57 menuLoader.inflateMenu(Robolectric.application, R.menu.test, testMenu)
    [all...]
ResourceExtractorTest.java 1 package com.xtremelabs.robolectric.res;
3 import com.xtremelabs.robolectric.R;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/suggestions/
SettingsSuggestionsTest.java 32 import org.robolectric.RuntimeEnvironment;
33 import org.robolectric.annotation.Config;
34 import org.robolectric.manifest.ActivityData;
35 import org.robolectric.manifest.AndroidManifest;
36 import org.robolectric.manifest.IntentFilterData;
37 import org.robolectric.shadows.ShadowApplication;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
HasResourceMatcher.java 1 package com.xtremelabs.robolectric.matchers;
9 import static com.xtremelabs.robolectric.Robolectric.shadowOf;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestWindowManager.java 1 package com.xtremelabs.robolectric.tester.android.view;
10 import static com.xtremelabs.robolectric.Robolectric.newInstanceOf;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/internal/
ClassNameResolverTest.java 1 package com.xtremelabs.robolectric.internal;
4 import com.xtremelabs.robolectric.TestApplication;
12 assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric", "TestApplication").resolve());
17 assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric", ".TestApplication").resolve());
22 assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric", "com.xtremelabs.robolectric.TestApplication").resolve());
27 assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs", ".robolectric.TestApplication").resolve());
32 new ClassNameResolver<Application>("com.xtremelabs", "robolectric.TestApplication").resolve();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
Base64Test.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
CheckBoxTest.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
CheckedTextViewTest.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
ContentProviderResultTest.java 1 package com.xtremelabs.robolectric.shadows;
13 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
25 Uri uri = Uri.parse("content://com.xtremelabs.robolectric");
FrameLayoutTest.java 1 package com.xtremelabs.robolectric.shadows;
3 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
IntentFilterTest.java 1 package com.xtremelabs.robolectric.shadows;
4 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
LinearLayoutTest.java 1 package com.xtremelabs.robolectric.shadows;
5 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
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;
NotificationTest.java 1 package com.xtremelabs.robolectric.shadows;
7 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
PeriodicSyncTest.java 1 package com.xtremelabs.robolectric.shadows;
6 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
RemoteCallbackListTest.java 1 package com.xtremelabs.robolectric.shadows;
10 import com.xtremelabs.robolectric.WithTestDefaultsRunner;
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...]

Completed in 160 milliseconds

<<11121314151617181920>>