Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java206 Properties prop = null; in test_loadLjava_io_InputStream() local
209 prop = new Properties(); in test_loadLjava_io_InputStream()
210 prop.load(is = new ByteArrayInputStream(writeProperties())); in test_loadLjava_io_InputStream()
215 assertEquals("Failed to load correct properties", "harmony.tests", prop in test_loadLjava_io_InputStream()
217 assertNull("Load failed to parse incorrectly", prop in test_loadLjava_io_InputStream()
220 prop = new Properties(); in test_loadLjava_io_InputStream()
222 prop.load(new ByteArrayInputStream("=".getBytes())); in test_loadLjava_io_InputStream()
226 assertTrue("Failed to add empty key", prop.get("").equals("")); in test_loadLjava_io_InputStream()
228 prop = new Properties(); in test_loadLjava_io_InputStream()
230 prop.load(new ByteArrayInputStream(" = ".getBytes())); in test_loadLjava_io_InputStream()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java50 Properties prop; in testSignedObject() local
59 prop = new Properties(); in testSignedObject()
60 prop.put("aaa", "bbb"); in testSignedObject()
62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject()
65 assertEquals(prop, so.getObject()); in testSignedObject()
/libcore/luni/src/test/java/libcore/java/lang/
DOldSystemTest.java188 for (String prop : props) { in test_getProperties()
190 + prop, p.getProperty(prop)); in test_getProperties()
191 assertNotNull("System property is null: " + prop, in test_getProperties()
192 System.getProperty(prop)); in test_getProperties()
280 for (String prop : props) { in test_getenv()
281 assertNotNull("There is no property: " + prop, in test_getenv()
282 envMap.get(prop)); in test_getenv()
/libcore/luni/src/main/java/java/lang/
DInteger.java234 String prop = System.getProperty(string); in getInteger() local
235 if (prop == null) { in getInteger()
239 return decode(prop); in getInteger()
263 String prop = System.getProperty(string); in getInteger() local
264 if (prop == null) { in getInteger()
268 return decode(prop); in getInteger()
292 String prop = System.getProperty(string); in getInteger() local
293 if (prop == null) { in getInteger()
297 return decode(prop); in getInteger()
DLong.java220 String prop = System.getProperty(string); in getLong() local
221 if (prop == null) { in getLong()
225 return decode(prop); in getLong()
249 String prop = System.getProperty(string); in getLong() local
250 if (prop == null) { in getLong()
254 return decode(prop); in getLong()
278 String prop = System.getProperty(string); in getLong() local
279 if (prop == null) { in getLong()
283 return decode(prop); in getLong()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java133 Properties prop = System.getProperties(); in test_newInstance() local
134 prop.load(bis); in test_newInstance()
DDocumentBuilderFactoryTest.java279 Properties prop = System.getProperties(); in test_newInstance() local
280 prop.load(bis); in test_newInstance()
/libcore/luni/src/main/java/java/security/
DSecurity.java96 String prop = "Alg." + propName + "." + algName; in getAlgorithmProperty() local
101 if (propertyName.equalsIgnoreCase(prop)) { in getAlgorithmProperty()
DProvider.java312 String prop = getPropertyIgnoreCase(servAlg); in implementsAlg() local
313 if (prop == null) { in implementsAlg()
317 prop = getPropertyIgnoreCase(servAlg); in implementsAlg()
320 if (prop != null) { in implementsAlg()