Home
last modified time | relevance | path

Searched refs:myProps (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/util/Properties/
DLoadParsing.java40 Properties myProps = new Properties(); in main() local
43 myProps.load(myIn); in main()
48 if (!myProps.getProperty("key1").equals("value1")) in main()
50 if (!myProps.getProperty("key2").equals("abc\\defg\\")) in main()
52 if (!myProps.getProperty("key3").equals("value3")) in main()
54 if (!myProps.getProperty("key4").equals(":value4")) in main()
56 if (myProps.getProperty("#") != null) in main()
59 if ((size=myProps.size()) != 4) in main()
DSaveSeparator.java44 Properties myProps = new Properties(); in main() local
46 myProps.store(myOut, "A test"); in main()
DPropertiesTest.java223 Properties myProps = new Properties(); in LoadParsing() local
226 myProps.load(myIn); in LoadParsing()
231 if (!myProps.getProperty("key1").equals("value1") || // comment in LoadParsing()
232 !myProps.getProperty("key2").equals("abc\\defg\\") || // slash in LoadParsing()
233 !myProps.getProperty("key3").equals("value3") || // spaces in key in LoadParsing()
234 !myProps.getProperty("key4").equals(":value4") || // separator in LoadParsing()
236 (myProps.getProperty("#") != null) || in LoadParsing()
238 ((size=myProps.size()) != 4)) in LoadParsing()
DLoadParsing2.java67 Properties myProps = getLoadedProperties(myIn, doStream); in test() local
69 if (!myProps.getProperty(keys[i]).equals(values[i])) { in test()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java153 Properties myProps = new Properties(); in test_listLjava_io_PrintStream() local
154 myProps.setProperty("Abba", "Cadabra"); in test_listLjava_io_PrintStream()
155 myProps.setProperty("Open", "Sesame"); in test_listLjava_io_PrintStream()
156 myProps.setProperty("LongProperty", in test_listLjava_io_PrintStream()
158 myProps.list(ps); in test_listLjava_io_PrintStream()
170 myProps.list(ps); in test_listLjava_io_PrintStream()
183 Properties myProps = new Properties(); in test_listLjava_io_PrintWriter() local
184 myProps.setProperty("Abba", "Cadabra"); in test_listLjava_io_PrintWriter()
185 myProps.setProperty("Open", "Sesame"); in test_listLjava_io_PrintWriter()
186 myProps.setProperty("LongProperty", in test_listLjava_io_PrintWriter()
[all …]