/external/hamcrest/src/org/hamcrest/core/ |
IsNull.java | 27 public static <T> Matcher<T> nullValue() { 36 return not(IsNull.<T>nullValue()); 43 public static <T> Matcher<T> nullValue(@SuppressWarnings("unused") Class<T> type) { 44 return nullValue();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
TileListTest.java | 43 assertThat(mTileList.getItemAt(3), nullValue()); 44 assertThat(mTileList.getItemAt(100), nullValue()); 49 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 53 assertThat(mTileList.getItemAt(3), nullValue()); 59 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 63 assertThat(mTileList.addOrReplace(createTile(3, 1, 2, 3)), nullValue()); 72 assertThat(mTileList.addOrReplace(createTile(0, 1, 2, 3)), nullValue()); 73 assertThat(mTileList.addOrReplace(createTile(3, 1, 2, 3)), nullValue()); 74 assertThat(mTileList.addOrReplace(createTile(6, 1, 2, 3)), nullValue()); 79 assertThat(mTileList.getAtIndex(3), nullValue()); [all...] |
MessageQueueTest.java | 27 import static org.hamcrest.CoreMatchers.nullValue; 76 assertThat(msg, nullValue()); 98 assertThat(msg, nullValue()); 125 assertThat(msg, 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());
|
RatingBarTest.java | 4 import static org.hamcrest.CoreMatchers.nullValue; 41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue());
|
ContextTest.java | 68 assertThat(dataDir, not(nullValue())); 79 assertThat(dataDir, not(nullValue())); 85 assertThat(context.obtainStyledAttributes(null), not(nullValue())); 86 assertThat(context.obtainStyledAttributes(0, null), not(nullValue())); 87 assertThat(context.obtainStyledAttributes(null, null), not(nullValue())); 88 assertThat(context.obtainStyledAttributes(null, null, 0, 0), not(nullValue()));
|
AbsSpinnerTest.java | 68 assertThat(spinner.getSelectedItem(), nullValue()); 90 assertThat(spinner.getSelectedView(), nullValue()); 98 assertThat(spinner.getSelectedView(), nullValue());
|
UriMatcherTest.java | 13 import static org.hamcrest.CoreMatchers.nullValue; 35 assertThat(root.number, is(nullValue())); 36 assertThat(root.text, is(nullValue()));
|
MapViewTest.java | 17 import static org.hamcrest.CoreMatchers.nullValue; 49 assertThat(overlay2.lastMotionEvent, nullValue()); 50 assertThat(mapTouchListener.lastMotionEvent, nullValue()); 62 assertThat(mapTouchListener.lastMotionEvent, nullValue());
|
/external/junit/src/org/junit/ |
Assume.java | 6 import static org.hamcrest.CoreMatchers.nullValue; 92 assumeThat(t, 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...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
ResourceExtractorTest.java | 24 assertThat(resourceExtractor.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponseTest.java | 10 import static org.hamcrest.CoreMatchers.nullValue; 23 assertThat(resp.getFirstHeader("None"), nullValue()); 24 assertThat(new TestHttpResponse(200, "OK").getFirstHeader("Foo"), nullValue()); 38 assertThat(resp.getLastHeader("None"), nullValue());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
EditorCursorTest.java | 34 import static org.hamcrest.Matchers.nullValue; 123 assertThat(mEditText.getHint(), nullValue()); 142 assertThat(mEditText.getHint(), nullValue()); 161 assertThat(mEditText.getHint(), nullValue()); 180 assertThat(mEditText.getHint(), nullValue());
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
BottomSheetBehaviorTouchTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 103 assertThat(e, is(nullValue()));
|
/frameworks/support/transition/tests/src/android/support/transition/ |
FadeTest.java | 21 import static org.hamcrest.CoreMatchers.nullValue; 95 assertThat(animator, is(nullValue()));
|
/external/jsoncpp/src/test_lib_json/ |
main.cpp | 173 JSONTEST_ASSERT(emptyObject_.isConvertibleTo(Json::nullValue)); 176 JSONTEST_ASSERT(!object1_.isConvertibleTo(Json::nullValue)); 215 JSONTEST_ASSERT(emptyArray_.isConvertibleTo(Json::nullValue)); 218 JSONTEST_ASSERT(!array1_.isConvertibleTo(Json::nullValue)); 246 JSONTEST_ASSERT_EQUAL(Json::nullValue, null_.type()); 252 JSONTEST_ASSERT(null_.isConvertibleTo(Json::nullValue)); 280 JSONTEST_ASSERT(emptyString_.isConvertibleTo(Json::nullValue)); 283 JSONTEST_ASSERT(!string1_.isConvertibleTo(Json::nullValue)); 308 JSONTEST_ASSERT(false_.isConvertibleTo(Json::nullValue)); 311 JSONTEST_ASSERT(!true_.isConvertibleTo(Json::nullValue)); [all...] |
/external/hamcrest/src/org/hamcrest/ |
CoreMatchers.java | 133 public static <T> org.hamcrest.Matcher<T> nullValue() { 134 return org.hamcrest.core.IsNull.nullValue(); 140 public static <T> org.hamcrest.Matcher<T> nullValue(java.lang.Class<T> type) { 141 return org.hamcrest.core.IsNull.nullValue(type);
|