/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
H A D | IsNullTest.java | 7 import static org.hamcrest.core.IsNull.notNullValue; 14 private final Matcher<Object> notNullMatcher = notNullValue(); 37 requiresStringMatcher(notNullValue(String.class));
|
H A D | AllOfTest.java | 10 import static org.hamcrest.core.IsNull.notNullValue; 46 is(notNullValue()),
|
H A D | CombinableTest.java | 9 import static org.hamcrest.core.IsNull.notNullValue; 66 Matcher<String> matcher = CombinableMatcher.both(equalTo("yellow")).and(notNullValue(String.class));
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
H A D | IsNull.java | 36 * <pre>assertThat(cheese, is(notNullValue()))</pre> 41 public static Matcher<Object> notNullValue() { method in class:IsNull 62 * <pre>assertThat(cheese, is(notNullValue(X.class)))</pre> 70 public static <T> Matcher<T> notNullValue(Class<T> type) { method in class:IsNull
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | AnimationUtilsTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue());
|
H A D | ListFragmentTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 28 assertThat(listFragment.getListAdapter(), is(notNullValue()));
|
H A D | ContentProviderTest.java | 4 import static org.hamcrest.CoreMatchers.notNullValue; 64 assertThat(provider.getContext(), is(notNullValue())); 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue()));
|
H A D | CookieSyncManagerTest.java | 3 import static org.hamcrest.CoreMatchers.notNullValue; 22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() ); 28 assertThat( CookieSyncManager.getInstance(), notNullValue() );
|
H A D | SpannableStringTest.java | 4 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 D | CountDownTimerTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 64 assertThat(timer, notNullValue()); 71 assertThat(timer, notNullValue());
|
H A D | ListPreferenceTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 49 assertThat(listPreference.getEntries(), notNullValue()); 65 assertThat(listPreference.getEntryValues(), notNullValue());
|
H A D | ListActivityTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 27 assertThat(listActivity.getListAdapter(), is(notNullValue()));
|
H A D | PreferenceActivityTest.java | 6 import static org.hamcrest.CoreMatchers.notNullValue; 36 assertThat( activity.getListView(), notNullValue() );
|
H A D | CameraParametersTest.java | 16 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 D | ResourcesTest.java | 7 import static org.hamcrest.CoreMatchers.notNullValue; 50 assertThat(configuration, notNullValue()); 51 assertThat(configuration.locale, notNullValue()); 61 assertThat(resources.newTheme(), notNullValue());
|
H A D | ContentProviderOperationBuilderTest.java | 5 import static org.hamcrest.CoreMatchers.notNullValue; 68 assertThat(operation, notNullValue());
|
H A D | AlarmManagerTest.java | 46 assertThat(scheduledAlarm, notNullValue()); 56 assertThat(scheduledAlarm, notNullValue()); 106 assertThat(shadowAlarmManager.peekNextScheduledAlarm(), notNullValue()); 147 assertThat(scheduledAlarm, notNullValue()); 148 assertThat(scheduledAlarm.operation, notNullValue());
|
H A D | SQLiteOpenHelperTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 93 assertThat(database, notNullValue());
|
H A D | TelephonyManagerTest.java | 15 import static org.hamcrest.CoreMatchers.notNullValue; 38 assertThat(shadowManager.getListener(), notNullValue());
|
H A D | PasswordTransformationMethodTest.java | 54 assertThat(ShadowPasswordTransformationMethod.getInstance(), is(CoreMatchers.<Object>notNullValue()));
|
H A D | ActivityTest.java | 112 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 D | CursorAdapterTest.java | 4 import static org.hamcrest.CoreMatchers.notNullValue; 65 assertThat(adapter.getCursor(), notNullValue());
|
/external/junit/src/main/java/org/junit/ |
H A D | Assume.java | 6 import static org.hamcrest.CoreMatchers.notNullValue; 73 assumeThat(asList(objects), everyItem(notNullValue()));
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
H A D | RobolectricPackageManagerTest.java | 44 assertThat(info, notNullValue()); 58 assertThat(info, notNullValue()); 69 assertThat(activities, notNullValue()); // empty list, not null 84 assertThat(activities, notNullValue());
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
H A D | CoreMatchers.java | 315 * <pre>assertThat(cheese, is(notNullValue()))</pre> 319 public static org.hamcrest.Matcher<java.lang.Object> notNullValue() { method in class:CoreMatchers 320 return org.hamcrest.core.IsNull.notNullValue(); 327 * <pre>assertThat(cheese, is(notNullValue(X.class)))</pre> 334 public static <T> org.hamcrest.Matcher<T> notNullValue(java.lang.Class<T> type) { method in class:CoreMatchers 335 return org.hamcrest.core.IsNull.notNullValue(type);
|