Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 10 of 10) sorted by relevance

/libcore/json/src/test/java/libcore/org/json/
DJSONArrayTest.java54 assertTrue(array.isNull(0)); in testEmptyArray()
94 assertFalse(array.isNull(0)); in testBooleans()
95 assertFalse(array.isNull(1)); in testBooleans()
96 assertFalse(array.isNull(2)); in testBooleans()
97 assertFalse(array.isNull(3)); in testBooleans()
171 assertTrue(array.isNull(0)); in testNulls()
172 assertTrue(array.isNull(1)); in testNulls()
173 assertTrue(array.isNull(2)); in testNulls()
174 assertTrue(array.isNull(3)); in testNulls()
273 assertFalse(array.isNull(0)); in testStrings()
[all …]
DJSONObjectTest.java97 assertTrue(object.isNull("foo")); // isNull also means "is not present" in testEmptyObject()
229 assertFalse(object.isNull("foo")); in testBooleans()
230 assertFalse(object.isNull("quux")); in testBooleans()
426 assertFalse(object.isNull("foo")); in testStrings()
445 assertFalse(object.isNull("quux")); in testStrings()
830 assertTrue(object.isNull("foo")); in testNullValue()
831 assertTrue(object.isNull("bar")); in testNullValue()
DSelfUseTest.java182 array.isNull(5); in testIsNull()
/libcore/ojluni/src/main/java/java/util/function/
DPredicate.java116 ? Objects::isNull in isEqual()
/libcore/luni/src/test/java/libcore/java/util/
DObjectsTest.java283 assertTrue(Objects.isNull(null)); in test_isNull()
284 assertFalse(Objects.isNull(new Hello())); in test_isNull()
/libcore/ojluni/src/main/java/java/util/
DObjects.java263 public static boolean isNull(Object obj) { in isNull() method in Objects
/libcore/ojluni/annotations/sdk/nullability/java/util/
DObjects.annotated.java54 public static boolean isNull(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeExcept… in isNull() method in Objects
/libcore/json/src/main/java/org/json/
DJSONArray.java275 public boolean isNull(int index) { in isNull() method in JSONArray
DJSONObject.java379 public boolean isNull(@Nullable String name) { in isNull() method in JSONObject
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java82 InputStream isNull = null; in test_X500Principal_02() local
94 X500Principal xpr = new X500Principal(isNull); in test_X500Principal_02()