HomeSort by relevance Sort by last modified time
    Searched defs:nullValue (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /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...]
  /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));
  /external/protobuf/objectivec/google/protobuf/
Struct.pbobjc.h 25 /// `NullValue` is a singleton enumeration to represent the null value for the
28 /// The JSON representation for `NullValue` is JSON `null`.
113 @property(nonatomic, readwrite) GPBNullValue nullValue;
132 /// Fetches the raw value of a @c GPBValue's @c nullValue property, even
135 /// Sets the raw value of an @c GPBValue's @c nullValue property, allowing
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
ResourceExtractorTest.java 24 assertThat(resourceExtractor.getLocalResourceId("styleable/TitleBar_textStyle"), CoreMatchers.<Object>nullValue());
RobolectricPackageManagerTest.java 127 assertThat(rpm.resolveActivity(i, 0), nullValue());
146 assertThat(rpm.resolveService(i, 0), nullValue());
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PreferenceScreenTest.java 13 import static org.hamcrest.CoreMatchers.nullValue;
38 assertThat(screen.getDialog(), nullValue());
SeekBarTest.java 3 import static org.hamcrest.CoreMatchers.nullValue;
39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue());
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());
PreferenceActivityTest.java 5 import static org.hamcrest.CoreMatchers.nullValue;
46 assertThat(activity.getPreferenceScreen(), nullValue());
RatingBarTest.java 4 import static org.hamcrest.CoreMatchers.nullValue;
41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue());
AbsSpinnerTest.java 68 assertThat(spinner.getSelectedItem(), nullValue());
90 assertThat(spinner.getSelectedView(), nullValue());
98 assertThat(spinner.getSelectedView(), 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());
AnimationTest.java 93 assertThat(animation.getInterpolator(), nullValue());
ContextWrapperTest.java 24 import static org.hamcrest.CoreMatchers.nullValue;
164 assertThat(contextWrapper.getBaseContext(), nullValue());
  /external/dagger2/core/src/test/java/dagger/internal/
MapProviderFactoryTest.java 43 public void nullValue() {
  /frameworks/base/tools/bit/
make.cpp 122 Json::Value nullValue;
124 const Json::Value& value = json.get(name, nullValue);
  /cts/tests/tests/util/src/android/util/cts/
JsonWriterTest.java 270 jsonWriter.nullValue();
438 jsonWriter.name("e").nullValue();
476 jsonWriter.nullValue();
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableClassToInstanceMapTest.java 107 Map<? extends Class<? extends Number>, Number> nullValue
110 ImmutableClassToInstanceMap.copyOf(nullValue);
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java 313 * A shortcut to the frequently used <code>not(nullValue())</code>.
317 * <pre>assertThat(cheese, is(not(nullValue())))</pre>
324 * A shortcut to the frequently used <code>not(nullValue(X.class)). Accepts a
329 * <pre>assertThat(cheese, is(not(nullValue(X.class))))</pre>
341 * <pre>assertThat(cheese, is(nullValue())</pre>
343 public static org.hamcrest.Matcher<java.lang.Object> nullValue() {
344 return org.hamcrest.core.IsNull.nullValue();
351 * <pre>assertThat(cheese, is(nullValue(Cheese.class))</pre>
356 public static <T> org.hamcrest.Matcher<T> nullValue(java.lang.Class<T> type) {
357 return org.hamcrest.core.IsNull.nullValue(type)
    [all...]
  /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/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...]
  /cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
SplitAppTest.java 144 assertThat(results.getString("feature_b"), nullValue());
145 assertThat(results.getString("feature_c"), nullValue());
195 assertThat(results.getString("feature_c"), nullValue());
  /cts/libs/json/src/com/android/json/stream/
JsonWriter.java 94 * writer.name("geo").nullValue();
276 return nullValue();
288 public JsonWriter nullValue() throws IOException {
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java 76 assertThat(Robolectric.shadowOf_(instance), not(nullValue()));

Completed in 518 milliseconds

1 2 3 4 5 6