/libcore/support/src/test/java/tests/support/ |
D | Support_Configuration.java | 112 static Hashtable<String, String> props = null; field in Support_Configuration 121 Hashtable<String, String> props = new Hashtable<String, String>(); in loadProperties() local 143 load(in, props); in loadProperties() 147 if (props.size() == 0) { in loadProperties() 152 value = props.get("DomainAddress"); in loadProperties() 157 value = props.get("WebName"); in loadProperties() 162 value = props.get("TestResourcesDir"); in loadProperties() 166 value = props.get("HomeAddressResponse"); in loadProperties() 171 value = props.get("HomeAddressSoftware"); in loadProperties() 176 value = props.get("SocksServerTestHost"); in loadProperties() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 123 MyProperties props = new MyProperties(); in test_getPropertyLjava_lang_String2() local 124 assertNull(props.getProperty("key")); in test_getPropertyLjava_lang_String2() 133 MyProperties props = new MyProperties(); in test_getPropertyLjava_lang_StringLjava_lang_String2() local 134 assertEquals("defaultValue", props.getProperty("key", "defaultValue")); in test_getPropertyLjava_lang_StringLjava_lang_String2() 283 Properties props = new Properties(); in test_loadLjava_io_InputStream_subtest0() local 284 props.load(is); in test_loadLjava_io_InputStream_subtest0() 286 assertEquals("1", "\n \t \f", props.getProperty(" \r")); in test_loadLjava_io_InputStream_subtest0() 287 assertEquals("2", "a", props.getProperty("a")); in test_loadLjava_io_InputStream_subtest0() 288 assertEquals("3", "bb as,dn ", props.getProperty("b")); in test_loadLjava_io_InputStream_subtest0() 289 assertEquals("4", ":: cu", props.getProperty("c\r \t\nu")); in test_loadLjava_io_InputStream_subtest0() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldMemoryHandlerTest.java | 36 final static Properties props = new Properties(); field in OldMemoryHandlerTest 44 manager.readConfiguration(propertiesToInputStream(props)); in setUp() 51 props.clear(); in tearDown() 61 props.put("java.util.logging.MemoryHandler.level", "FINE"); in initProps() 62 props.put("java.util.logging.MemoryHandler.filter", baseClassName + "$MockFilter"); in initProps() 63 props.put("java.util.logging.MemoryHandler.size", "2"); in initProps() 64 props.put("java.util.logging.MemoryHandler.push", "WARNING"); in initProps() 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); in initProps() 66 props.put("java.util.logging.MemoryHandler.formatter", baseClassName + "$MockFormatter"); in initProps()
|
D | OldLogManagerTest.java | 39 Properties props; field in OldLogManagerTest 49 props = new Properties(); in setUp() 50 props.put("handlers", className + "$MockHandler " + className + "$MockHandler"); in setUp() 51 props.put("java.util.logging.FileHandler.pattern", "%h/java%u.log"); in setUp() 52 props.put("java.util.logging.FileHandler.limit", "50000"); in setUp() 53 props.put("java.util.logging.FileHandler.count", "5"); in setUp() 54 props.put("java.util.logging.FileHandler.formatter", "java.util.logging.XMLFormatter"); in setUp() 55 props.put(".level", "FINE"); in setUp() 56 props.put("java.util.logging.ConsoleHandler.level", "OFF"); in setUp() 57 props.put("java.util.logging.ConsoleHandler.formatter","java.util.logging.SimpleFormatter"); in setUp() [all …]
|
D | OldFileHandlerTest.java | 41 final static Properties props = new Properties(); field in OldFileHandlerTest 54 props.clear(); in setUp() 55 props.put("java.util.logging.FileHandler.level", "FINE"); in setUp() 56 props.put("java.util.logging.FileHandler.filter", className in setUp() 58 props.put("java.util.logging.FileHandler.formatter", className in setUp() 60 props.put("java.util.logging.FileHandler.encoding", "iso-8859-1"); in setUp() 62 props.put("java.util.logging.FileHandler.limit", "1000"); in setUp() 64 props.put("java.util.logging.FileHandler.count", "2"); in setUp() 66 props.put("java.util.logging.FileHandler.append", "true"); in setUp() 67 props.put("java.util.logging.FileHandler.pattern", in setUp() [all …]
|
/libcore/luni/src/main/java/java/util/logging/ |
D | LogManager.java | 144 private Properties props; field in LogManager 183 props = new Properties(); in LogManager() 304 return props.getProperty(name); in getProperty() 369 props.load(ins); in readConfigurationImpl() 379 String configs = props.getProperty("config"); in readConfigurationImpl() 391 String property = props.getProperty(logger.getName() + ".level"); in readConfigurationImpl() 425 props = new Properties(); in reset()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldSystemTest.java | 173 String [] props = {"java.vendor.url", in test_getProperties() local 188 for (String prop : props) { in test_getProperties() 274 String[] props = { "PATH" }; in test_getenv() local 279 props.length < envMap.keySet().size()); in test_getenv() 280 for (String prop : props) { in test_getenv()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldDriverPropertyInfoTest.java | 51 Properties props = new Properties(); in testPublicFields() local 54 props); in testPublicFields()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | SystemTest.java | 131 String[] props = { "java.version", "java.vendor", "java.vendor.url", in test_getProperties() local 140 for (int i = 0; i < props.length; i++) { in test_getProperties() 141 assertNotNull(props[i], System.getProperty(props[i])); in test_getProperties()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldServerSocketTest.java | 201 Properties props = (Properties) System.getProperties().clone(); in test_ConstructorI_SocksSet() local 207 System.setProperties(props); in test_ConstructorI_SocksSet()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 261 List<String> props = uc.getRequestProperties().get("prop"); 262 assertEquals(1, props.size()); 273 props.add("hi");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 105 Properties props = (Properties) System.getProperties().clone(); in test_ConstructorI_SocksSet() local 111 System.setProperties(props); in test_ConstructorI_SocksSet()
|