Searched refs:nullValue (Results 1 - 25 of 85) 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/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()));
/external/junit/src/org/junit/
H A DAssume.java6 import static org.hamcrest.CoreMatchers.nullValue;
92 assumeThat(t, nullValue());
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DTimingCalculations.h84 return nullValue();
88 return nullValue();
92 return nullValue();
95 return nullValue();
98 return nullValue();
108 return nullValue();
126 return nullValue();
145 return nullValue();
166 return nullValue();
188 return nullValue();
[all...]
H A DTimingCalculationsTest.cpp72 EXPECT_TRUE(isNull(calculateActiveTime(32, Timing::FillModeNone, nullValue(), AnimationNode::PhaseNone, AnimationNode::PhaseNone, timing)));
82 EXPECT_TRUE(isNull(calculateScaledActiveTime(4, nullValue(), 5, timing)));
108 EXPECT_TRUE(isNull(calculateIterationTime(1, 1, nullValue(), 1, timing)));
128 EXPECT_TRUE(isNull(calculateCurrentIteration(1, 1, nullValue(), timing)));
149 EXPECT_TRUE(isNull(calculateDirectedTime(1, 2, nullValue(), timing)));
180 EXPECT_TRUE(isNull(calculateTransformedTime(1, 2, nullValue(), timing)));
203 EXPECT_TRUE(isNull(calculateTransformedTime(1, 2, nullValue(), timing)));
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
H A Djson_value.cpp290 case nullValue:
469 case nullValue:
518 case nullValue:
595 case nullValue:
661 case nullValue:
712 case nullValue:
752 case nullValue:
777 case nullValue:
803 case nullValue:
827 case nullValue
[all...]
/external/jsoncpp/chromium-overrides/src/lib_json/
H A Djson_value.cpp284 case nullValue:
463 case nullValue:
512 case nullValue:
589 case nullValue:
655 case nullValue:
706 case nullValue:
746 case nullValue:
771 case nullValue:
797 case nullValue:
821 case nullValue
[all...]
/external/jsoncpp/src/lib_json/
H A Djson_value.cpp280 case nullValue:
459 case nullValue:
508 case nullValue:
585 case nullValue:
651 case nullValue:
702 case nullValue:
742 case nullValue:
767 case nullValue:
793 case nullValue:
817 case nullValue
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractMultimapTest.java83 protected Integer nullValue() { method in class:AbstractMultimapTest
139 multimap.put(nullKey(), nullValue());
140 multimap.put("foo", nullValue());
155 multimap.put(nullKey(), nullValue());
189 assertFalse(multimap.containsValue(nullValue()));
193 multimap.put("foo", nullValue());
194 assertTrue(multimap.containsValue(nullValue()));
233 multimap.put(nullKey(), nullValue());
237 assertTrue(values.contains(nullValue()));
278 Collection<Integer> collection = Lists.newArrayList(1, nullValue());
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
H A DResourceExtractorTest.java24 assertThat(resourceExtractor.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
/external/robolectric/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/chromium_org/tools/idl_parser/test_parser/
H A Dinterface_web.idl64 * Const(nullValue)
98 const DOMString? nullValue = null;
/external/jsoncpp/src/test_lib_json/
H A Dmain.cpp182 JSONTEST_ASSERT(emptyObject_.isConvertibleTo(Json::nullValue));
185 JSONTEST_ASSERT(!object1_.isConvertibleTo(Json::nullValue));
226 JSONTEST_ASSERT(emptyArray_.isConvertibleTo(Json::nullValue));
229 JSONTEST_ASSERT(!array1_.isConvertibleTo(Json::nullValue));
259 JSONTEST_ASSERT_EQUAL(Json::nullValue, null_.type());
265 JSONTEST_ASSERT(null_.isConvertibleTo(Json::nullValue));
295 JSONTEST_ASSERT(emptyString_.isConvertibleTo(Json::nullValue));
298 JSONTEST_ASSERT(!string1_.isConvertibleTo(Json::nullValue));
325 JSONTEST_ASSERT(false_.isConvertibleTo(Json::nullValue));
328 JSONTEST_ASSERT(!true_.isConvertibleTo(Json::nullValue));
[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);

Completed in 663 milliseconds

1234