Home
last modified time | relevance | path

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

1234

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraTest.java21 import static org.hamcrest.CoreMatchers.nullValue;
111 assertThat(callback.camera, nullValue()); in testSetPreviewCallbacks()
112 assertThat(callback.data, nullValue()); in testSetPreviewCallbacks()
124 assertThat(callback.camera, nullValue()); in testSetOneShotPreviewCallbacks()
125 assertThat(callback.data, nullValue()); in testSetOneShotPreviewCallbacks()
137 assertThat(callback.camera, nullValue()); in testPreviewCallbacksWithBuffers()
138 assertThat(callback.data, nullValue()); in testPreviewCallbacksWithBuffers()
150 assertThat(callback.camera, nullValue()); in testClearPreviewCallback()
151 assertThat(callback.data, nullValue()); in testClearPreviewCallback()
157 assertThat(callback.camera, nullValue()); in testClearPreviewCallback()
[all …]
DListPreferenceTest.java15 import static org.hamcrest.CoreMatchers.nullValue;
40 assertThat(listPreference.getEntries(), nullValue()); in shouldHaveEntries()
47 assertThat(listPreference.getEntries(), nullValue()); in shouldSetEntriesByResourceId()
56 assertThat(listPreference.getEntryValues(), nullValue()); in shouldHaveEntryValues()
63 assertThat(listPreference.getEntryValues(), nullValue()); in shouldSetEntryValuesByResourceId()
70 assertThat(listPreference.getValue(), nullValue()); in shouldSetValue()
DPreferenceTest.java5 import static org.hamcrest.CoreMatchers.nullValue;
66 assertThat(shadow.getAttrs(), nullValue()); in shouldConstruct()
85 assertThat(preference.getKey(), nullValue()); in shouldHaveAKey()
94 assertThat(preference.getTitle(), nullValue()); in shouldHaveATitle()
112 assertThat(preference.getSummary(), nullValue()); in shouldHaveASummary()
130 assertThat(shadow.getDefaultValue(), nullValue()); in shouldRememberDefaultValue()
224 assertThat( preference.getIntent(), nullValue() ); in shouldReturnIntent()
231 assertThat( preference.getDependency(), nullValue() ); in shouldRememberDependency()
DAlarmManagerTest.java42 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportSet()
51 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportSetRepeating()
73 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportGetNextScheduledAlarm()
80 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportGetNextScheduledAlarm()
86 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportGetNextScheduledAlarmForRepeatingAlarms()
93 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportGetNextScheduledAlarmForRepeatingAlarms()
99 assertThat(shadowAlarmManager.getNextScheduledAlarm(), nullValue()); in shouldSupportPeekScheduledAlarm()
DContextTest.java68 assertThat(dataDir, not(nullValue())); in shouldGetApplicationDataDirectory()
79 assertThat(dataDir, not(nullValue())); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
85 assertThat(context.obtainStyledAttributes(null), not(nullValue())); in shouldStubThemeStuff()
86 assertThat(context.obtainStyledAttributes(0, null), not(nullValue())); in shouldStubThemeStuff()
87 assertThat(context.obtainStyledAttributes(null, null), not(nullValue())); in shouldStubThemeStuff()
88 assertThat(context.obtainStyledAttributes(null, null, 0, 0), not(nullValue())); in shouldStubThemeStuff()
DWebViewTest.java70 assertThat(shadowWebView.getWebViewClient(), nullValue()); in shouldRecordWebViewClient()
78 assertThat(shadowWebView.getWebChromeClient(), nullValue()); in shouldRecordWebChromeClient()
92 assertThat(shadowWebView.getPictureListener(), nullValue()); in shouldRecordPictureListener()
102 assertThat(shadowWebView.getJavascriptInterface(name), nullValue()); in shouldRecordJavascriptInteraces()
DMapViewTest.java17 import static org.hamcrest.CoreMatchers.nullValue;
49 assertThat(overlay2.lastMotionEvent, nullValue()); in shouldDispatchTouchEventsToOverlays()
50 assertThat(mapTouchListener.lastMotionEvent, nullValue()); in shouldDispatchTouchEventsToOverlays()
62 assertThat(mapTouchListener.lastMotionEvent, nullValue()); in shouldDispatchTouchEventsToOverlaysUntilEventIsConsumed()
DUriMatcherTest.java13 import static org.hamcrest.CoreMatchers.nullValue;
35 assertThat(root.number, is(nullValue())); in canInstantiate()
36 assertThat(root.text, is(nullValue())); in canInstantiate()
DAbsSpinnerTest.java68 assertThat(spinner.getSelectedItem(), nullValue()); in getSelectedItemShouldReturnNull_NoAdapterSet()
90 assertThat(spinner.getSelectedView(), nullValue()); in testGetSelectedView_noAdapter()
98 assertThat(spinner.getSelectedView(), nullValue()); in testGetSelectedView_noSelection()
DAlertDialogTest.java51 assertThat(ShadowAlertDialog.getLatestAlertDialog(), nullValue()); in getLatestAlertDialog_shouldReturnARealAlertDialog()
63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); in shouldOnlyCreateRequestedButtons()
64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); in shouldOnlyCreateRequestedButtons()
89 assertThat(shadowAlertDialog.getMessage(), nullValue()); in testSetMessageAfterCreation()
353 assertThat(dialog.findViewById(99), nullValue()); in shouldFindViewsByIdIfAViewIsSet()
360 assertThat(dialog.findViewById(66), nullValue()); in shouldFindViewsByIdIfAViewIsSet()
368 assertThat(dialog.findViewById(99), nullValue()); in shouldDelegateToDialogFindViewByIdIfViewIsNull()
DPreferenceScreenTest.java13 import static org.hamcrest.CoreMatchers.nullValue;
38 assertThat(screen.getDialog(), nullValue()); in shouldSetDialog()
DMediaRecorderTest.java69 assertThat(shadowMediaRecorder.getCamera(), nullValue()); in testCamera()
92 assertThat(shadowMediaRecorder.getErrorListener(), nullValue()); in testOnErrorListener()
101 assertThat(shadowMediaRecorder.getInfoListener(), nullValue()); in testOnInfoListener()
111 assertThat(shadowMediaRecorder.getOutputPath(), nullValue()); in testOutputFile()
129 assertThat(shadowMediaRecorder.getPreviewDisplay(), nullValue()); in testPreviewDisplay()
DAndroidHttpClientTest.java25 assertThat(client, not(nullValue())); in testNewInstance()
31 assertThat(client, not(nullValue())); in testNewInstanceWithContext()
DSeekBarTest.java3 import static org.hamcrest.CoreMatchers.nullValue;
39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue()); in testOnSeekBarChangedListener()
DPreferenceActivityTest.java5 import static org.hamcrest.CoreMatchers.nullValue;
46 assertThat(activity.getPreferenceScreen(), nullValue()); in shouldNotInitializePreferenceScreen()
DVideoViewTest.java5 import static org.hamcrest.CoreMatchers.nullValue;
58 assertThat(shadowVideoView.getVideoPath(), nullValue()); in shouldSetVideoPath()
67 assertThat(shadowVideoView.getVideoURIString(), nullValue()); in shouldSetVideoURI()
DRatingBarTest.java4 import static org.hamcrest.CoreMatchers.nullValue;
41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue()); in testOnSeekBarChangedListener()
DParcelTest.java5 import static org.hamcrest.CoreMatchers.nullValue;
57 assertThat(parcel.readString(), nullValue()); in testReadStringWhenEmpty()
72 assertThat( parcel.readString(), nullValue() ); in testWriteNullString()
87 assertThat(parcel.readString(), nullValue()); in testReadWriteMultipleStrings()
203 assertThat(parcel.readString(), nullValue()); in testReadWriteStringInt()
240 assertThat(parcel.readString(), nullValue()); in testReadWriteStringLong()
/external/jsoncpp/src/lib_json/
Djson_value.cpp232 case nullValue: in Value()
333 case nullValue: in Value()
377 case nullValue: in ~Value()
440 case nullValue: in operator <()
489 case nullValue: in operator ==()
530 case nullValue: in asString()
565 case nullValue: in asInt()
587 case nullValue: in asUInt()
610 case nullValue: in asInt64()
631 case nullValue: in asUInt64()
[all …]
/external/hamcrest/src/org/hamcrest/core/
DIsNull.java27 public static <T> Matcher<T> nullValue() { in nullValue() method in IsNull
36 return not(IsNull.<T>nullValue()); in notNullValue()
43 public static <T> Matcher<T> nullValue(@SuppressWarnings("unused") Class<T> type) { in nullValue() method in IsNull
44 return nullValue(); in nullValue()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp173 JSONTEST_ASSERT(emptyObject_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
176 JSONTEST_ASSERT(!object1_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
215 JSONTEST_ASSERT(emptyArray_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
218 JSONTEST_ASSERT(!array1_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
246 JSONTEST_ASSERT_EQUAL(Json::nullValue, null_.type()); in JSONTEST_FIXTURE()
252 JSONTEST_ASSERT(null_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
280 JSONTEST_ASSERT(emptyString_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
283 JSONTEST_ASSERT(!string1_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
308 JSONTEST_ASSERT(false_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
311 JSONTEST_ASSERT(!true_.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponseTest.java10 import static org.hamcrest.CoreMatchers.nullValue;
23 assertThat(resp.getFirstHeader("None"), nullValue()); in shouldSupportGetFirstHeader()
24 assertThat(new TestHttpResponse(200, "OK").getFirstHeader("Foo"), nullValue()); in shouldSupportGetFirstHeader()
38 assertThat(resp.getLastHeader("None"), nullValue()); in shouldSupportGetLastHeader()
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java133 public static <T> org.hamcrest.Matcher<T> nullValue() { in nullValue() method in CoreMatchers
134 return org.hamcrest.core.IsNull.nullValue(); in nullValue()
140 public static <T> org.hamcrest.Matcher<T> nullValue(java.lang.Class<T> type) { in nullValue() method in CoreMatchers
141 return org.hamcrest.core.IsNull.nullValue(type); in nullValue()
/external/junit/src/org/junit/
DAssume.java6 import static org.hamcrest.CoreMatchers.nullValue;
92 assumeThat(t, nullValue()); in assumeNoException()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp487 const int nullValue = DE_LENGTH_OF_ARRAY(s_shaderStageOrder); in getFirstStage() local
488 int firstStage = nullValue; in getFirstStage()
497 if (firstStage == nullValue) in getFirstStage()
505 const int nullValue = -1; in getLastStage() local
506 int lastStage = nullValue; in getLastStage()
515 if (lastStage == nullValue) in getLastStage()

1234