/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ArrayTest.java | 45 assertEquals(booleans[0], Array.getBoolean(booleans, 0)); 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} 47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} 48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} 49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} 52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {}
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Boolean.java | 172 public static boolean getBoolean(String string) { method in class:Boolean
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldAbstractPreferencesTest.java | 169 assertTrue(pref.getBoolean("BoolValue", false)); 173 assertFalse(pref.getBoolean("BoolValue", false)); 330 assertTrue(pref.getBoolean("BoolValue", false)); 369 assertFalse(pref.getBoolean("Value", false)); 370 assertTrue(pref.getBoolean("BoolValue", false)); 371 assertFalse(pref.getBoolean("DoubleValue", false)); 374 pref.getBoolean(null, true); 383 pref.getBoolean("DoubleValue", true); 972 assertTrue(pref.getBoolean("BoolValue", false)); 993 pref.getBoolean("BoolValu [all...] |
H A D | OldPreferencesTest.java | 70 p.getBoolean(null, false); 185 pref.getBoolean(null, false); 192 assertFalse(pref.getBoolean("testGetBooleanKey", true)); 193 assertTrue(pref.getBoolean("testGetBooleanKey2", true)); 465 assertFalse(pref.getBoolean("testPutBooleanKey", true)); 984 public boolean getBoolean(String key, boolean deflt) { method in class:OldPreferencesTest.MockPreferences
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | ArrayTest.java | 94 * java.lang.reflect.Array#getBoolean(java.lang.Object, int) 98 // java.lang.reflect.Array.getBoolean(java.lang.Object, int) 103 ret = Array.getBoolean(x, 0); 109 ret = Array.getBoolean(new Object(), 0); 119 ret = Array.getBoolean(x, 4); 129 ret = Array.getBoolean(null, 0); 633 assertTrue("Failed to set correct value", Array.getBoolean(x, 0));
|
H A D | FieldTest.java | 267 res = new Boolean(f.getBoolean(o)); 355 * java.lang.reflect.Field#getBoolean(java.lang.Object) 548 // test getBoolean 572 * java.lang.reflect.Field#getBoolean(java.lang.Object) 580 val = f.getBoolean(x); 582 fail("Exception during getBoolean test: " + e.toString()); 589 f.getBoolean(x); 601 f.getBoolean(x); 615 f.getBoolean(null); 628 boolean staticValue = f.getBoolean(nul [all...] |
/libcore/json/src/test/java/org/json/ |
H A D | JSONObjectTest.java | 53 object.getBoolean("foo"); 216 assertEquals(true, object.getBoolean("foo")); 217 assertEquals(false, object.getBoolean("bar")); 218 assertEquals(true, object.getBoolean("baz")); 219 assertEquals(false, object.getBoolean("quux")); 238 assertEquals(true, object.getBoolean("foo")); 239 assertEquals(false, object.getBoolean("bar")); 251 object.getBoolean("foo"); 419 assertEquals(true, object.getBoolean("foo")); 446 assertEquals(true, object.getBoolean("fo [all...] |
H A D | SelfUseTest.java | 136 object.getBoolean("foo"); 183 array.getBoolean(0);
|
H A D | JSONArrayTest.java | 39 array.getBoolean(0); 118 assertEquals(true, other.getBoolean(0)); 121 assertEquals(false, other.getBoolean(3)); 129 array.getBoolean(0); 270 assertEquals(true, array.getBoolean(0));
|
/libcore/luni/src/main/java/java/util/prefs/ |
H A D | Preferences.java | 272 public abstract boolean getBoolean(String key, boolean deflt); method in class:Preferences
|
H A D | AbstractPreferences.java | 420 public boolean getBoolean(String key, boolean deflt) { method in class:AbstractPreferences
|
/libcore/luni/src/main/java/java/sql/ |
H A D | CallableStatement.java | 175 public boolean getBoolean(int parameterIndex) throws SQLException; method in interface:CallableStatement 188 public boolean getBoolean(String parameterName) throws SQLException; method in interface:CallableStatement
|
H A D | ResultSet.java | 415 public boolean getBoolean(int columnIndex) throws SQLException; method in interface:ResultSet 428 public boolean getBoolean(String columnName) throws SQLException; method in interface:ResultSet
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONArray.java | 285 public boolean getBoolean(int index) throws JSONException { method in class:JSONArray
|
H A D | JSONObject.java | 374 public boolean getBoolean(String name) throws JSONException { method in class:JSONObject
|
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 114 public static boolean getBoolean(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { method in class:Array
|
H A D | Field.java | 295 public boolean getBoolean(Object object) throws IllegalAccessException, method in class:Field
|
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 972 output.writeBoolean(field.getBoolean(obj));
|
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | DatabaseMetaDataNotSupportedTest.java | 277 .getBoolean("NON_UNIQUE"));
|