Searched refs:props1 (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/util/Properties/ |
D | EscapeSpace.java | 111 Properties props1 = new Properties(); in main() local 116 props1.put( "key1", " Value1, has leading and trailing spaces " ); in main() 117 props1.put( "key2", in main() 119 props1.put( "key3", "Value3,has,no,spaces" ); in main() 120 props1.put( "key4", "Value4, does not have leading spaces " ); in main() 121 props1.put( "key5", in main() 123 props1.put( "key6", " Value6,doesnothaveembeddedspaces " ); in main() 124 props1.put( " key1 test ", "key1, has leading and trailing spaces " ); in main() 125 props1.put( "key2 test", in main() 127 props1.put( "key3test", "key3,has,no,spaces" ); in main() [all …]
|
D | StringPropertyNames.java | 49 Properties props1 = new Properties(); in main() local 50 Properties props2 = new Properties(props1); in main() 54 props1.put(KEY + "1." + i, VALUE + "1." + i); in main() 62 props1.put(KEY + i, VALUE + "1." + i); in main() 65 checkProperties(props1, in main() 77 props1.put(KEY + "9", new Integer(4)); in main() 78 checkProperties(props1, in main() 88 Object v = props1.remove(KEY + "9"); in main() 95 props1.put(new Integer(5), "good.value.5"); in main() 97 checkProperties(props1, in main()
|
D | PropertiesTest.java | 184 Properties props1 = new Properties(); in EscapeSpace() local 185 props1.load(getInputStream(propsCases)); in EscapeSpace() 186 check(props1, props); in EscapeSpace() 189 props1 = new Properties(); in EscapeSpace() 190 props1.load(getReader(propsCases, "UTF-8")); in EscapeSpace() 191 check(props1, props); in EscapeSpace() 197 props1 = new Properties(); in EscapeSpace() 198 props1.load(getInputStream(baos.toByteArray())); in EscapeSpace() 199 check(props1, props); in EscapeSpace() 202 props1 = new Properties(); in EscapeSpace() [all …]
|