Searched refs:notNullValue (Results 1 - 25 of 33) sorted by relevance

12

/external/hamcrest/src/org/hamcrest/core/
H A DIsNull.java35 public static <T> Matcher<T> notNullValue() { method in class:IsNull
51 public static <T> Matcher<T> notNullValue(@SuppressWarnings("unused") Class<T> type) { method in class:IsNull
52 return notNullValue();
/external/junit/src/org/junit/
H A DAssume.java5 import static org.hamcrest.CoreMatchers.notNullValue;
47 assumeThat(asList(objects), Each.each(notNullValue()));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAnimationUtilsTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue());
H A DListFragmentTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
28 assertThat(listFragment.getListAdapter(), is(notNullValue()));
H A DContentProviderTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(provider.getContext(), is(notNullValue()));
68 assertThat(provider.getContext().getContentResolver(), is(notNullValue()));
H A DCookieSyncManagerTest.java3 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() );
28 assertThat( CookieSyncManager.getInstance(), notNullValue() );
H A DSpannableStringTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
55 assertThat(spans, notNullValue());
68 assertThat(spans, notNullValue());
73 assertThat(spans, notNullValue());
78 assertThat(spans, notNullValue());
83 assertThat(spans, notNullValue());
88 assertThat(spans, notNullValue());
H A DCountDownTimerTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(timer, notNullValue());
71 assertThat(timer, notNullValue());
H A DListPreferenceTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
49 assertThat(listPreference.getEntries(), notNullValue());
65 assertThat(listPreference.getEntryValues(), notNullValue());
H A DListActivityTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
27 assertThat(listActivity.getListAdapter(), is(notNullValue()));
H A DPreferenceActivityTest.java6 import static org.hamcrest.CoreMatchers.notNullValue;
36 assertThat( activity.getListView(), notNullValue() );
H A DCameraParametersTest.java16 import static org.hamcrest.CoreMatchers.notNullValue;
85 assertThat(supportedFormats, notNullValue());
93 assertThat(supportedFormats, notNullValue());
101 assertThat(supportedSizes, notNullValue());
110 assertThat(supportedSizes, notNullValue());
119 assertThat(supportedRanges, notNullValue());
130 assertThat(supportedRates, notNullValue());
H A DResourcesTest.java7 import static org.hamcrest.CoreMatchers.notNullValue;
50 assertThat(configuration, notNullValue());
51 assertThat(configuration.locale, notNullValue());
61 assertThat(resources.newTheme(), notNullValue());
H A DContentProviderOperationBuilderTest.java5 import static org.hamcrest.CoreMatchers.notNullValue;
68 assertThat(operation, notNullValue());
H A DAlarmManagerTest.java46 assertThat(scheduledAlarm, notNullValue());
56 assertThat(scheduledAlarm, notNullValue());
106 assertThat(shadowAlarmManager.peekNextScheduledAlarm(), notNullValue());
147 assertThat(scheduledAlarm, notNullValue());
148 assertThat(scheduledAlarm.operation, notNullValue());
H A DSQLiteOpenHelperTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
93 assertThat(database, notNullValue());
H A DTelephonyManagerTest.java15 import static org.hamcrest.CoreMatchers.notNullValue;
38 assertThat(shadowManager.getListener(), notNullValue());
H A DPasswordTransformationMethodTest.java54 assertThat(ShadowPasswordTransformationMethod.getInstance(), is(CoreMatchers.<Object>notNullValue()));
H A DActivityTest.java112 assertThat(startedIntent, notNullValue());
125 assertThat(intentForResult, notNullValue());
127 assertThat(intentForResult.intent, notNullValue());
141 assertThat(intentForResult, notNullValue());
143 assertThat(intentForResult.intent, notNullValue());
293 assertThat(ShadowDialog.getLatestDialog(), CoreMatchers.<Object>notNullValue());
462 assertThat( shadow.getManagedCursors(), notNullValue() );
468 assertThat( shadow.getManagedCursors(), notNullValue() );
474 assertThat( shadow.getManagedCursors(), notNullValue() );
H A DCursorAdapterTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
65 assertThat(adapter.getCursor(), notNullValue());
H A DCameraTest.java20 import static org.hamcrest.CoreMatchers.notNullValue;
44 assertThat(camera, notNullValue());
65 assertThat(parameters, notNullValue());
66 assertThat(parameters.getSupportedPreviewFormats(), notNullValue());
H A DMediaRecorderTest.java72 assertThat(shadowMediaRecorder.getCamera(), notNullValue());
95 assertThat(shadowMediaRecorder.getErrorListener(), notNullValue());
104 assertThat(shadowMediaRecorder.getInfoListener(), notNullValue());
132 assertThat(shadowMediaRecorder.getPreviewDisplay(), notNullValue());
H A DPreferenceTest.java6 import static org.hamcrest.CoreMatchers.notNullValue;
226 assertThat( preference.getIntent(), notNullValue() );
233 assertThat( preference.getDependency(), notNullValue() );
/external/hamcrest/src/org/hamcrest/
H A DCoreMatchers.java147 public static <T> org.hamcrest.Matcher<T> notNullValue() { method in class:CoreMatchers
148 return org.hamcrest.core.IsNull.notNullValue();
154 public static <T> org.hamcrest.Matcher<T> notNullValue(java.lang.Class<T> type) { method in class:CoreMatchers
155 return org.hamcrest.core.IsNull.notNullValue(type);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
H A DRobolectricPackageManagerTest.java44 assertThat(info, notNullValue());
58 assertThat(info, notNullValue());
69 assertThat(activities, notNullValue()); // empty list, not null
84 assertThat(activities, notNullValue());

Completed in 200 milliseconds

12