HomeSort by relevance Sort by last modified time
    Searched defs:notNullValue (Results 1 - 25 of 48) sorted by null

1 2

  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
IsNull.java 36 * <pre>assertThat(cheese, is(notNullValue()))</pre>
41 public static Matcher<Object> notNullValue() {
62 * <pre>assertThat(cheese, is(notNullValue(X.class)))</pre>
70 public static <T> Matcher<T> notNullValue(Class<T> type) {
  /external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
IsNullTest.java 7 import static org.hamcrest.core.IsNull.notNullValue;
14 private final Matcher<Object> notNullMatcher = notNullValue();
37 requiresStringMatcher(notNullValue(String.class));
  /external/junit/src/main/java/org/junit/
Assume.java 6 import static org.hamcrest.CoreMatchers.notNullValue;
73 assumeThat(asList(objects), everyItem(notNullValue()));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
AnimationUtilsTest.java 14 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue());
ListFragmentTest.java 14 import static org.hamcrest.CoreMatchers.notNullValue;
28 assertThat(listFragment.getListAdapter(), is(notNullValue()));
ContentProviderTest.java 4 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(provider.getContext(), is(notNullValue()));
68 assertThat(provider.getContext().getContentResolver(), is(notNullValue()));
PasswordTransformationMethodTest.java 54 assertThat(ShadowPasswordTransformationMethod.getInstance(), is(CoreMatchers.<Object>notNullValue()));
CookieSyncManagerTest.java 3 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() );
28 assertThat( CookieSyncManager.getInstance(), notNullValue() );
ListActivityTest.java 14 import static org.hamcrest.CoreMatchers.notNullValue;
27 assertThat(listActivity.getListAdapter(), is(notNullValue()));
ListPreferenceTest.java 14 import static org.hamcrest.CoreMatchers.notNullValue;
49 assertThat(listPreference.getEntries(), notNullValue());
65 assertThat(listPreference.getEntryValues(), notNullValue());
PreferenceActivityTest.java 6 import static org.hamcrest.CoreMatchers.notNullValue;
36 assertThat( activity.getListView(), notNullValue() );
ResourcesTest.java 7 import static org.hamcrest.CoreMatchers.notNullValue;
50 assertThat(configuration, notNullValue());
51 assertThat(configuration.locale, notNullValue());
61 assertThat(resources.newTheme(), notNullValue());
TelephonyManagerTest.java 15 import static org.hamcrest.CoreMatchers.notNullValue;
38 assertThat(shadowManager.getListener(), notNullValue());
AlarmManagerTest.java 46 assertThat(scheduledAlarm, notNullValue());
56 assertThat(scheduledAlarm, notNullValue());
106 assertThat(shadowAlarmManager.peekNextScheduledAlarm(), notNullValue());
147 assertThat(scheduledAlarm, notNullValue());
148 assertThat(scheduledAlarm.operation, notNullValue());
ContextWrapperTest.java 23 import static org.hamcrest.CoreMatchers.notNullValue;
161 assertThat(contextWrapper.getBaseContext(), notNullValue());
CursorAdapterTest.java 4 import static org.hamcrest.CoreMatchers.notNullValue;
65 assertThat(adapter.getCursor(), notNullValue());
CameraTest.java 20 import static org.hamcrest.CoreMatchers.notNullValue;
44 assertThat(camera, notNullValue());
65 assertThat(parameters, notNullValue());
66 assertThat(parameters.getSupportedPreviewFormats(), notNullValue());
  /frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/
SharedSQLiteStatementTest.java 20 import static org.hamcrest.CoreMatchers.notNullValue;
71 assertThat(mSharedStmt.acquire(), notNullValue());
78 assertThat(stmt1, notNullValue());
79 assertThat(stmt2, notNullValue());
88 assertThat(stmt1, notNullValue());
104 assertThat(stmt1, notNullValue());
105 assertThat(stmt2, notNullValue());
123 assertThat(stmt1, notNullValue());
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java 315 * <pre>assertThat(cheese, is(notNullValue()))</pre>
319 public static org.hamcrest.Matcher<java.lang.Object> notNullValue() {
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) {
335 return org.hamcrest.core.IsNull.notNullValue(type);
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
ThreadUtilTest.java 21 import static org.hamcrest.CoreMatchers.notNullValue;
176 assertThat(Looper.myLooper(), notNullValue());
TileListTest.java 21 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(mTileList.addOrReplace(createTile(0, 3, 4, 5)), notNullValue());
  /frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/paging/
LivePagedListProviderTest.java 20 import static org.hamcrest.CoreMatchers.notNullValue;
90 assertThat(pagedList1, is(notNullValue()));
96 assertThat(getAndLoad(pagedList1, 20), notNullValue());
97 assertThat(getAndLoad(pagedList1, 16), notNullValue());
100 assertThat(getAndLoad(pagedList1, 31), notNullValue());
103 assertThat(getAndLoad(pagedList1, 50), notNullValue());
111 assertThat(getAndLoad(pagedList, 70), notNullValue());
  /frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
PojoWithRelationTest.java 20 import static org.hamcrest.CoreMatchers.notNullValue;
140 assertThat(relationContainer.getUserAndAllPets(), notNullValue());
EmbeddedTest.java 20 import static org.hamcrest.CoreMatchers.notNullValue;
192 assertThat(schools.get(0).getManager(), notNullValue());
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
Matchers.java 399 * <pre>assertThat(cheese, is(notNullValue()))</pre>
403 public static org.hamcrest.Matcher<java.lang.Object> notNullValue() {
404 return org.hamcrest.core.IsNull.notNullValue();
411 * <pre>assertThat(cheese, is(notNullValue(X.class)))</pre>
418 public static <T> org.hamcrest.Matcher<T> notNullValue(java.lang.Class<T> type) {
419 return org.hamcrest.core.IsNull.<T>notNullValue(type);
    [all...]

Completed in 4887 milliseconds

1 2