Home
last modified time | relevance | path

Searched refs:Properties (Results 1 – 25 of 98) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java40 import java.util.Properties;
47 Properties tProps;
56 Properties p = new Properties(); in test_Constructor()
63 Properties p = new Properties(); in test_loadLjava_io_InputStream_NPE()
73 Properties p = new Properties(); in test_loadsave()
86 Properties systemProperties = System.getProperties(); in test_ConstructorLjava_util_Properties()
87 Properties properties = new Properties(systemProperties); in test_ConstructorLjava_util_Properties()
141 static class MyProperties extends Properties {
153 Properties myProps = new Properties(); in test_listLjava_io_PrintStream()
183 Properties myProps = new Properties(); in test_listLjava_io_PrintWriter()
[all …]
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreXMLWithDefaults.java23 package test.java.util.Properties;
28 import java.util.Properties;
40 static String writeToXML(Properties props) throws IOException { in writeToXML()
46 static Properties loadFromXML(String xml, Properties defaults) throws IOException { in loadFromXML()
48 Properties props = new Properties(defaults); in loadFromXML()
56 Properties p1 = new Properties(); in main()
60 Properties p2 = new Properties(p1); in main()
65 Properties p3 = new Properties(p2); in main()
70 Properties P1 = loadFromXML(writeToXML(p1), null); in main()
71 Properties P2 = loadFromXML(writeToXML(p2), P1); in main()
[all …]
DPropertiesTest.java33 package test.java.util.Properties;
48 import java.util.Properties;
91 private static void check(Properties prop1, Properties prop2) { in check()
135 Properties prop1 = new Properties(); in BlankLines()
140 Properties prop2 = new Properties(); in BlankLines()
145 prop2 = new Properties(); in BlankLines()
169 Properties props = new Properties(); in EscapeSpace()
184 Properties props1 = new Properties(); in EscapeSpace()
189 props1 = new Properties(); in EscapeSpace()
197 props1 = new Properties(); in EscapeSpace()
[all …]
DPropertiesEntrySetTest.java32 package test.java.util.Properties;
36 import java.util.Properties;
47 Properties a = new Properties(); in testEquals()
52 Properties b = new Properties(); in testEquals()
65 Properties c = new Properties(); in testEquals()
74 Properties d = new Properties(); in testEquals()
102 Properties a = new Properties(); in testToString()
116 Properties b = new Properties(); in testToString()
152 Properties a = new Properties(); in testEntrySetWithoutException()
171 Properties b = new Properties(); in testEntrySetWithoutException()
[all …]
DLoadAndStoreXML.java31 package test.java.util.Properties;
50 import java.util.Properties;
137 Properties props = new Properties(); in testLoadAndStore()
150 Properties p = new Properties(); in testLoadAndStore()
179 Properties expected = new Properties(); in testLoadWithoutEncoding()
188 Properties props = new Properties(); in testLoadWithoutEncoding()
208 Properties props = new Properties(); in testLoadWithBadEncoding()
220 Properties props = new Properties(); in testStoreWithBadEncoding()
237 Properties props = new Properties(); in testLoadWithMalformedDoc()
DInitialCapacity.java24 package test.java.util.Properties;
26 import java.util.Properties;
38 public void negativeInitCap() { Properties p = new Properties(-1); } in negativeInitCap()
41 public void positiveInitCap() { Properties p = new Properties(10); } in positiveInitCap()
DEscapeSpace.java31 package test.java.util.Properties;
40 import java.util.Properties;
59 static void load(Properties p, File file) throws Exception in load()
80 static void store(Properties p, File file) throws Exception in store()
103 Properties props0 = new Properties(); in main()
111 Properties props1 = new Properties(); in main()
143 Properties props2 = new Properties(); in main()
DPropertiesSerialization.java24 package test.java.util.Properties;
32 import java.util.Properties;
45 private static final Properties TEST_PROPS;
47 TEST_PROPS = new Properties();
84 Properties deserializedObject; in main()
88 deserializedObject = (Properties) ois.readObject(); in main()
108 Properties deser = (Properties)ois.readObject(); in main()
119 Properties deser2 = (Properties)ois2.readObject(); in main()
DBlankLines.java30 package test.java.util.Properties;
37 import java.util.Properties;
58 Properties prop1 = new Properties(); in main()
65 Properties prop2 = new Properties(); in main()
DConcurrentLoadAndStoreXML.java31 package test.java.util.Properties;
34 import java.util.Properties;
52 final Properties props;
54 Basher(Properties props) { in Basher()
66 Properties p = new Properties(); in call()
84 Properties props = new Properties(); in main()
DSave.java30 package test.java.util.Properties;
36 import java.util.Properties;
50 Properties myProperties = new Properties(); in main()
67 Properties myNewProps = new Properties(); in main()
DLoadParsing2.java30 package test.java.util.Properties;
34 import java.util.Properties;
45 private static Properties getLoadedProperties(InputStream is, in getLoadedProperties()
49 Properties props = new Properties(); in getLoadedProperties()
67 Properties myProps = getLoadedProperties(myIn, doStream); in test()
DSaveEncoding.java30 package test.java.util.Properties;
38 import java.util.Properties;
51 Properties myProperties = new Properties(); in main()
90 Properties myNewProps = new Properties(); in main()
DEncodingTest.java24 package test.java.util.Properties;
31 import java.util.Properties;
60 Properties props = new Properties(); in testLoadAndStore()
69 Properties p; in testLoadAndStore()
75 } p = new Properties(); in testLoadAndStore()
DStoreDeadlock.java32 package test.java.util.Properties;
35 import java.util.Properties;
40 Properties sysproperty = System.getProperties(); in StoreDeadlock()
50 Properties sp;
51 public Thread1(Properties p) { in Thread1()
DSaveComments.java30 package test.java.util.Properties;
35 import java.util.Properties;
63 Properties props = new Properties(); in main()
83 Properties propsNew = new Properties(); in main()
DSaveSeparator.java30 package test.java.util.Properties;
34 import java.util.Properties;
44 Properties myProps = new Properties(); in main()
DXMLSaveLoadBasher.java31 package test.java.util.Properties;
38 import java.util.Properties;
62 Properties originalProps = new Properties(); in testSaveLoad()
63 Properties loadedProps = new Properties(); in testSaveLoad()
DSaveLoadBasher.java31 package test.java.util.Properties;
38 import java.util.Properties;
52 Properties originalProps = new Properties(); in main()
53 Properties loadedProps = new Properties(); in main()
DCloseXMLStream.java30 package test.java.util.Properties;
34 import java.util.Properties;
39 Properties props = new Properties(); in main()
DSaveClose.java31 package test.java.util.Properties;
33 import java.util.Properties;
58 Properties p = new Properties(); in main()
DLoadParsing.java30 package test.java.util.Properties;
33 import java.util.Properties;
40 Properties myProps = new Properties(); in main()
DLoadAndStoreNPE.java23 package test.java.util.Properties;
29 import java.util.Properties;
42 Properties props = new Properties(); in main()
DBug6609431.java30 package test.java.util.Properties;
38 import java.util.Properties;
59 Properties p = new Properties(); in main()
/libcore/luni/src/test/java/libcore/java/util/
DPropertiesTest.java23 import java.util.Properties;
38 Properties props = new Properties(); in storeToXml_withCharset_andBack()
64 private static void roundtripTest(Properties props, Charset charset) throws Exception { in roundtripTest()
70 Properties deserialised = new Properties(); in roundtripTest()

1234