Searched refs:setProperty (Results 1 - 25 of 62) sorted by path

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DBooleanTest.java76 System.setProperty(getClass().getName(), "true");
79 System.setProperty(getClass().getName(), "TRUE");
82 System.setProperty(getClass().getName(), "false");
H A DSystemTest.java213 * java.lang.System#setProperty(java.lang.String, java.lang.String)
217 // java.lang.System.setProperty(java.lang.String, java.lang.String)
219 assertNull("Failed to return null", System.setProperty("testing",
221 assertTrue("Failed to return old value", System.setProperty("testing",
228 System.setProperty("", "default");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DInetAddressThreadTest.java130 System.setProperty("networkaddress.cache.ttl", "0");
169 System.setProperty("networkaddress.cache.ttl", "-1");
171 System.setProperty("networkaddress.cache.ttl",
H A DProxySelectorTest.java117 System.setProperty("http.proxyHost", HTTP_PROXY_HOST);
118 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT));
120 System.setProperty("https.proxyHost", HTTPS_PROXY_HOST);
121 System.setProperty("https.proxyPort", String.valueOf(HTTPS_PROXY_PORT));
123 System.setProperty("ftp.proxyHost", FTP_PROXY_HOST);
124 System.setProperty("ftp.proxyPort", String.valueOf(FTP_PROXY_PORT));
126 System.setProperty("socksProxyHost", SOCKS_PROXY_HOST);
127 System.setProperty("socksProxyPort", String.valueOf(SOCKS_PROXY_PORT));
158 System.setProperty("http.proxyHost", HTTP_PROXY_HOST);
159 System.setProperty("htt
[all...]
H A DServerSocketTest.java107 System.setProperty("socksProxyHost", "127.0.0.1");
108 System.setProperty("socksProxyPort", "12345");
H A DURLTest.java1142 System.setProperty(HANDLER_PKGS,
1151 System.setProperty(HANDLER_PKGS, pkgs);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DFormatterTest.java915 System.setProperty("line.separator", "!\n");
929 System.setProperty("line.separator", oldSeparator);
1008 System.setProperty("line.separator", oldSeparator);
H A DPropertiesTest.java151 myProps.setProperty("Abba", "Cadabra");
152 myProps.setProperty("Open", "Sesame");
153 myProps.setProperty("LongProperty",
181 myProps.setProperty("Abba", "Cadabra");
182 myProps.setProperty("Open", "Sesame");
183 myProps.setProperty("LongProperty",
510 properties.setProperty(keys[index], values[index]);
559 defaults.setProperty(defaultKeys[index], defaultValues[index]);
567 properties.setProperty(keys[index], values[index]);
587 defaults.setProperty(defaultKey
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DKeyManagerFactory1Test.java134 Security.setProperty("ssl.KeyManagerFactory.algorithm", defA);
140 Security.setProperty("ssl.KeyManagerFactory.algorithm", def);
H A DTrustManagerFactory1Test.java156 Security.setProperty("ssl.TrustManagerFactory.algorithm", defA);
162 Security.setProperty("ssl.TrustManagerFactory.algorithm", def);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderFactoryTest.java267 System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
286 System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "");
301 System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
H A DSAXParserFactoryTest.java124 System.setProperty("javax.xml.parsers.SAXParserFactory",
138 System.setProperty("javax.xml.parsers.SAXParserFactory", "");
H A DSAXParserTest.java101 * @see javax.xml.parsers.SAXParser#setProperty(java.lang.String,
105 public void setProperty(String name, Object value) throws method in class:SAXParserTest.MockSAXParser
812 parser.setProperty(LEXICAL_HANDLER_PROPERTY, new MockHandler(new MethodLogger()));
847 parser.setProperty(validName, validValue);
850 parser.setProperty(validName, null);
859 parser.setProperty("foo", "bar");
880 parser.setProperty(null, "bar");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DParserAdapterTest.java87 System.setProperty("org.xml.sax.parser",
139 adapter.setProperty("http://argle.bargle", ":)");
H A DParserFactoryTest.java44 System.setProperty("org.xml.sax.parser", "foo.bar.SAXParser");
54 System.setProperty("org.xml.sax.parser",
65 System.setProperty("org.xml.sax.parser",
76 System.setProperty("org.xml.sax.parser",
87 System.setProperty("org.xml.sax.parser",
H A DXMLFilterImplTest.java126 child.setProperty("foo", "bar");
129 child.setProperty("foo", null);
139 orphan.setProperty("foo", "bar");
H A DXMLReaderAdapterTest.java77 System.setProperty("org.xml.sax.driver",
H A DXMLReaderFactoryTest.java43 System.setProperty("org.xml.sax.driver", "foo.bar.XMLReader");
52 System.setProperty("org.xml.sax.driver",
62 System.setProperty("org.xml.sax.driver",
72 System.setProperty("org.xml.sax.driver",
84 System.setProperty("org.xml.sax.driver",
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DDoNothingXMLReader.java76 public void setProperty(String name, Object value) { method in class:DoNothingXMLReader
H A DMockFilter.java70 public void setProperty(String name, Object value) throws SAXNotRecognizedException, method in class:MockFilter
H A DMockReader.java119 public void setProperty(String name, Object value) throws SAXNotRecognizedException, method in class:MockReader
H A DNoAccessXMLReader.java76 public void setProperty(String name, Object value) { method in class:NoAccessXMLReader
H A DNoInstanceXMLReader.java79 public void setProperty(String name, Object value) { method in class:NoInstanceXMLReader
H A DNoSubclassXMLReader.java76 public void setProperty(String name, Object value) { method in class:NoSubclassXMLReader
/libcore/luni/src/main/java/java/lang/
H A DSystem.java988 public static String setProperty(String name, String value) { method in class:System
990 return (String) systemProperties.setProperty(name, value);

Completed in 617 milliseconds

123