/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
IsNull.java | 26 * <pre>assertThat(cheese, is(nullValue())</pre> 29 public static Matcher<Object> nullValue() { 34 * A shortcut to the frequently used <code>not(nullValue())</code>. 38 * <pre>assertThat(cheese, is(not(nullValue())))</pre> 42 return not(nullValue()); 49 * <pre>assertThat(cheese, is(nullValue(Cheese.class))</pre> 54 public static <T> Matcher<T> nullValue(Class<T> type) { 59 * A shortcut to the frequently used <code>not(nullValue(X.class)). Accepts a 64 * <pre>assertThat(cheese, is(not(nullValue(X.class))))</pre> 71 return not(nullValue(type)) [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
TileListTest.java | 22 import static org.hamcrest.CoreMatchers.nullValue; 46 assertThat(mTileList.getItemAt(3), nullValue()); 47 assertThat(mTileList.getItemAt(100), nullValue()); 52 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 56 assertThat(mTileList.getItemAt(3), nullValue()); 62 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 66 assertThat(mTileList.addOrReplace(createTile(3, 1, 2, 3)), nullValue()); 75 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 76 assertThat(mTileList.addOrReplace(createTile(3, 1, 2, 3)), nullValue()); 77 assertThat(mTileList.addOrReplace(createTile(6, 1, 2, 3)), nullValue()); [all...] |
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
IsNullTest.java | 8 import static org.hamcrest.core.IsNull.nullValue; 13 private final Matcher<Object> nullMatcher = nullValue(); 36 requiresStringMatcher(nullValue(String.class));
|
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/ |
ViewModelStoreTest.java | 20 import static org.hamcrest.CoreMatchers.nullValue; 42 assertThat(store.get("a"), nullValue()); 43 assertThat(store.get("b"), nullValue());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ListPreferenceTest.java | 15 import static org.hamcrest.CoreMatchers.nullValue; 40 assertThat(listPreference.getEntries(), nullValue()); 47 assertThat(listPreference.getEntries(), nullValue()); 56 assertThat(listPreference.getEntryValues(), nullValue()); 63 assertThat(listPreference.getEntryValues(), nullValue()); 70 assertThat(listPreference.getValue(), nullValue());
|
CameraTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 111 assertThat(callback.camera, nullValue()); 112 assertThat(callback.data, nullValue()); 124 assertThat(callback.camera, nullValue()); 125 assertThat(callback.data, nullValue()); 137 assertThat(callback.camera, nullValue()); 138 assertThat(callback.data, nullValue()); 150 assertThat(callback.camera, nullValue()); 151 assertThat(callback.data, nullValue()); 157 assertThat(callback.camera, nullValue()); [all...] |
AndroidHttpClientTest.java | 25 assertThat(client, not(nullValue())); 31 assertThat(client, not(nullValue()));
|
PreferenceActivityTest.java | 5 import static org.hamcrest.CoreMatchers.nullValue; 46 assertThat(activity.getPreferenceScreen(), nullValue());
|
PreferenceScreenTest.java | 13 import static org.hamcrest.CoreMatchers.nullValue; 38 assertThat(screen.getDialog(), nullValue());
|
PreferenceTest.java | 5 import static org.hamcrest.CoreMatchers.nullValue; 66 assertThat(shadow.getAttrs(), nullValue()); 85 assertThat(preference.getKey(), nullValue()); 94 assertThat(preference.getTitle(), nullValue()); 112 assertThat(preference.getSummary(), nullValue()); 130 assertThat(shadow.getDefaultValue(), nullValue()); 224 assertThat( preference.getIntent(), nullValue() ); 231 assertThat( preference.getDependency(), nullValue() );
|
SeekBarTest.java | 3 import static org.hamcrest.CoreMatchers.nullValue; 39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue());
|
AlarmManagerTest.java | 42 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 51 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 73 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 80 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 86 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 93 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); 99 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue());
|
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/ |
ObservedTableTrackerTest.java | 26 import static org.hamcrest.CoreMatchers.nullValue; 63 assertThat(mTracker.getTablesToSync(), is(nullValue())); 72 assertThat(mTracker.getTablesToSync(), is(nullValue())); 81 assertThat(mTracker.getTablesToSync(), is(nullValue())); 83 assertThat(mTracker.getTablesToSync(), is(nullValue())); 85 assertThat(mTracker.getTablesToSync(), is(nullValue())); 87 assertThat(mTracker.getTablesToSync(), is(nullValue()));
|
/frameworks/support/app-toolkit/common/src/test/java/android/arch/core/internal/ |
FastSafeIterableMapTest.java | 20 import static org.hamcrest.CoreMatchers.nullValue; 32 assertThat(map.ceil(1), nullValue()); 34 assertThat(map.ceil(1), nullValue()); 38 assertThat(map.ceil(2), nullValue()); 72 assertThat(map.putIfAbsent(10, 30), nullValue());
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
IsBlankString.java | 11 import static org.hamcrest.core.IsNull.nullValue; 19 private static final Matcher<String> NULL_OR_BLANK_INSTANCE = anyOf(nullValue(), BLANK_INSTANCE);
|
IsEmptyString.java | 9 import static org.hamcrest.core.IsNull.nullValue; 17 private static final Matcher<String> NULL_OR_EMPTY_INSTANCE = anyOf(nullValue(), INSTANCE);
|
/external/junit/src/main/java/org/junit/ |
Assume.java | 7 import static org.hamcrest.CoreMatchers.nullValue; 142 assumeThat(e, nullValue()); 156 assumeThat(message, e, nullValue());
|
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/util/ |
StringUtilTest.java | 20 import static org.hamcrest.CoreMatchers.nullValue; 42 assertThat(StringUtil.splitToIntList(null), nullValue()); 43 assertThat(StringUtil.joinIntoString(null), nullValue());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
KeyboardInterceptorTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 85 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 94 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 104 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 111 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 121 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 128 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 143 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 145 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), 152 when(mMockPolicy.interceptKeyBeforeDispatching((WindowState) argThat(nullValue()), [all...] |
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/ |
NullSafety.java | 14 matchers.add((Matcher<? super E>) (itemMatcher == null ? IsNull.nullValue() : itemMatcher));
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/ |
MainThreadCheckTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 64 assertThat(error, nullValue()); 76 assertThat(error, nullValue()); 88 assertThat(error, nullValue());
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
WebActivityTest.java | 18 import static org.hamcrest.CoreMatchers.nullValue; 46 assertThat(intent, nullValue());
|
/external/jsoncpp/src/lib_json/ |
json_value.cpp | 232 case nullValue: 333 case nullValue: 377 case nullValue: 440 case nullValue: 489 case nullValue: 530 case nullValue: 565 case nullValue: 587 case nullValue: 610 case nullValue: 631 case nullValue [all...] |
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/paging/ |
LivePagedListProviderTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 83 assertThat(observer.get(), nullValue()); 93 assertThat(getAndLoad(pagedList1, 20), is(nullValue())); 95 assertThat(getAndLoad(pagedList1, 31), nullValue()); 101 assertThat(getAndLoad(pagedList1, 50), nullValue()); 107 assertThat(getAndLoad(pagedList1, 70), nullValue()); 109 assertThat(getAndLoad(pagedList1, 70), nullValue());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
ResourceExtractorTest.java | 24 assertThat(resourceExtractor.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
|