Searched refs:nullValue (Results 1 - 25 of 79) sorted by relevance

1234

/external/hamcrest/src/org/hamcrest/core/
H A DIsNull.java27 public static <T> Matcher<T> nullValue() { method in class:IsNull
36 return not(IsNull.<T>nullValue());
43 public static <T> Matcher<T> nullValue(@SuppressWarnings("unused") Class<T> type) { method in class:IsNull
44 return nullValue();
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DListPreferenceTest.java15 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());
H A DCameraTest.java21 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...]
H A DAndroidHttpClientTest.java25 assertThat(client, not(nullValue()));
31 assertThat(client, not(nullValue()));
H A DPreferenceActivityTest.java5 import static org.hamcrest.CoreMatchers.nullValue;
46 assertThat(activity.getPreferenceScreen(), nullValue());
H A DPreferenceScreenTest.java13 import static org.hamcrest.CoreMatchers.nullValue;
38 assertThat(screen.getDialog(), nullValue());
H A DPreferenceTest.java5 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() );
H A DSeekBarTest.java3 import static org.hamcrest.CoreMatchers.nullValue;
39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue());
H A DAlarmManagerTest.java42 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());
H A DRatingBarTest.java4 import static org.hamcrest.CoreMatchers.nullValue;
41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue());
H A DContextTest.java68 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()));
H A DAbsSpinnerTest.java68 assertThat(spinner.getSelectedItem(), nullValue());
90 assertThat(spinner.getSelectedView(), nullValue());
98 assertThat(spinner.getSelectedView(), nullValue());
H A DUriMatcherTest.java13 import static org.hamcrest.CoreMatchers.nullValue;
35 assertThat(root.number, is(nullValue()));
36 assertThat(root.text, is(nullValue()));
H A DMapViewTest.java17 import static org.hamcrest.CoreMatchers.nullValue;
49 assertThat(overlay2.lastMotionEvent, nullValue());
50 assertThat(mapTouchListener.lastMotionEvent, nullValue());
62 assertThat(mapTouchListener.lastMotionEvent, nullValue());
H A DSyncResultTest.java21 assertThat(result.stats, not(nullValue()));
H A DWebViewTest.java70 assertThat(shadowWebView.getWebViewClient(), nullValue());
78 assertThat(shadowWebView.getWebChromeClient(), nullValue());
92 assertThat(shadowWebView.getPictureListener(), nullValue());
102 assertThat(shadowWebView.getJavascriptInterface(name), nullValue());
H A DMediaRecorderTest.java69 assertThat(shadowMediaRecorder.getCamera(), nullValue());
92 assertThat(shadowMediaRecorder.getErrorListener(), nullValue());
101 assertThat(shadowMediaRecorder.getInfoListener(), nullValue());
111 assertThat(shadowMediaRecorder.getOutputPath(), nullValue());
129 assertThat(shadowMediaRecorder.getPreviewDisplay(), nullValue());
/external/junit/src/org/junit/
H A DAssume.java6 import static org.hamcrest.CoreMatchers.nullValue;
92 assumeThat(t, nullValue());
/external/jsoncpp/src/lib_json/
H A Djson_value.cpp232 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/
H A DResourceExtractorTest.java24 assertThat(resourceExtractor.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
H A DTestHttpResponseTest.java10 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());
/external/jsoncpp/src/test_lib_json/
H A Dmain.cpp173 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));
1506 Json::Value nullValue; local
[all...]
/external/hamcrest/src/org/hamcrest/
H A DCoreMatchers.java133 public static <T> org.hamcrest.Matcher<T> nullValue() { method in class:CoreMatchers
134 return org.hamcrest.core.IsNull.nullValue();
140 public static <T> org.hamcrest.Matcher<T> nullValue(java.lang.Class<T> type) { method in class:CoreMatchers
141 return org.hamcrest.core.IsNull.nullValue(type);
/external/robolectric/v3/
H A Drobolectric-annotations-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/robolectric/ org/robolectric/annotation/ org/robolectric/annotation/internal/ ...
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
H A DGZipIntegrationTest.java37 import static org.hamcrest.CoreMatchers.nullValue;
151 assertThat(contentEncoding, is(nullValue()));

Completed in 1309 milliseconds

1234