/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ProxySelectorTest.java | 117 System.setProperty("http.proxyHost", HTTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact() 118 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact() 120 System.setProperty("https.proxyHost", HTTPS_PROXY_HOST); in test_selectLjava_net_URI_SelectExact() 121 System.setProperty("https.proxyPort", String.valueOf(HTTPS_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact() 123 System.setProperty("ftp.proxyHost", FTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact() 124 System.setProperty("ftp.proxyPort", String.valueOf(FTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact() 126 System.setProperty("socksProxyHost", SOCKS_PROXY_HOST); in test_selectLjava_net_URI_SelectExact() 127 System.setProperty("socksProxyPort", String.valueOf(SOCKS_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact() 158 System.setProperty("http.proxyHost", HTTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact_NullHost() 159 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact_NullHost() [all …]
|
D | InetAddressThreadTest.java | 130 System.setProperty("networkaddress.cache.ttl", "0"); in test_getHostName() 169 System.setProperty("networkaddress.cache.ttl", "-1"); in test_getHostName() 171 System.setProperty("networkaddress.cache.ttl", in test_getHostName()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ProxySelectorTest.java | 74 System.setProperty("ftp.proxyHost", "a"); in testProxyHostOnly() 75 System.setProperty("http.proxyHost", "b"); in testProxyHostOnly() 76 System.setProperty("https.proxyHost", "c"); in testProxyHostOnly() 77 System.setProperty("other.proxyHost", "d"); in testProxyHostOnly() 78 System.setProperty("socket.proxyHost", "d"); in testProxyHostOnly() 90 System.setProperty("ftp.proxyHost", "a"); in testProxyHostPort() 91 System.setProperty("ftp.proxyPort", "1001"); in testProxyHostPort() 92 System.setProperty("http.proxyHost", "b"); in testProxyHostPort() 93 System.setProperty("http.proxyPort", "1002"); in testProxyHostPort() 94 System.setProperty("https.proxyHost", "c"); in testProxyHostPort() [all …]
|
D | URLStreamHandlerFactoryTest.java | 92 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName()); in testInstallCustomProtocolHandler() 111 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName()); in testFirstUseIsCached()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | SystemTest.java | 50 System.setProperty("line.separator", "poop"); in testLineSeparator() 73 System.setProperty("line.separator", "\n"); in testLineSeparator() 168 System.setProperty("user.dir", "not poop"); in testSystemProperties_immutable() 171 System.getProperties().setProperty("user.dir", "hmmph"); in testSystemProperties_immutable() 178 p.setProperty("user.dir", "meh"); in testSystemProperties_immutable() 191 System.setProperty("user.home", "/user/home"); in testSystemProperties_mutable() 194 System.setProperty("user.home", oldUserHome); in testSystemProperties_mutable() 204 System.setProperty("p1", "v1"); in testSystemProperties_setProperties_null() 220 newProperties.setProperty("user.dir", "v1"); in testSystemProperties_setProperties_nonNull() 222 newProperties.setProperty("p1", "v2"); in testSystemProperties_setProperties_nonNull() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | ParserFactoryTest.java | 44 System.setProperty("org.xml.sax.parser", "foo.bar.SAXParser"); in testMakeParser() 54 System.setProperty("org.xml.sax.parser", in testMakeParser() 65 System.setProperty("org.xml.sax.parser", in testMakeParser() 76 System.setProperty("org.xml.sax.parser", in testMakeParser() 87 System.setProperty("org.xml.sax.parser", in testMakeParser()
|
D | XMLReaderFactoryTest.java | 43 System.setProperty("org.xml.sax.driver", "foo.bar.XMLReader"); in testCreateXMLReader() 52 System.setProperty("org.xml.sax.driver", in testCreateXMLReader() 62 System.setProperty("org.xml.sax.driver", in testCreateXMLReader() 72 System.setProperty("org.xml.sax.driver", in testCreateXMLReader() 84 System.setProperty("org.xml.sax.driver", in testCreateXMLReader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 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() 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() 513 properties.setProperty(keys[index], values[index]); in test_stringPropertyNames_scenario1() 562 defaults.setProperty(defaultKeys[index], defaultValues[index]); in test_stringPropertyNames_scenario2() 570 properties.setProperty(keys[index], values[index]); in test_stringPropertyNames_scenario2() 590 defaults.setProperty(defaultKeys[index], defaultValues[index]); in test_stringPropertyNames_scenario2() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | BooleanTest.java | 76 System.setProperty(getClass().getName(), "true"); in test_getBooleanLjava_lang_String() 79 System.setProperty(getClass().getName(), "TRUE"); in test_getBooleanLjava_lang_String() 82 System.setProperty(getClass().getName(), "false"); in test_getBooleanLjava_lang_String()
|
D | SystemTest.java | 219 assertNull("Failed to return null", System.setProperty("testing", in test_setPropertyLjava_lang_StringLjava_lang_String() 221 assertTrue("Failed to return old value", System.setProperty("testing", in test_setPropertyLjava_lang_StringLjava_lang_String() 228 System.setProperty("", "default"); in test_setPropertyLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | SAXParserImpl.java | 105 public void setProperty(String name, Object value) in setProperty() method in SAXParserImpl 107 reader.setProperty(name, value); in setProperty()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecurityTest.java | 391 Security.setProperty("myprop","test white space "); in test_getPropertyLjava_lang_String() 401 Security.setProperty(null, ""); in test_setPropertyLjava_lang_StringLjava_lang_String() 407 Security.setProperty("", null); in test_setPropertyLjava_lang_StringLjava_lang_String() 412 Security.setProperty("", ""); in test_setPropertyLjava_lang_StringLjava_lang_String() 415 Security.setProperty("My Test Property", "My property value"); in test_setPropertyLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLServerSocketFactoryTest.java | 68 Security.setProperty(SSL_PROPERTY, FakeSSLServerSocketFactory.class.getName()); in test_SSLServerSocketFactory_getDefault_cacheInvalidate() 79 Security.setProperty(SSL_PROPERTY, origProvider); in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
|
D | SSLSocketFactoryTest.java | 69 Security.setProperty(SSL_PROPERTY, FakeSSLSocketFactory.class.getName()); in test_SSLSocketFactory_getDefault_cacheInvalidate() 80 Security.setProperty(SSL_PROPERTY, origProvider); in test_SSLSocketFactory_getDefault_cacheInvalidate()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | XMLReader.java | 210 public void setProperty (String name, Object value) in setProperty() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | NoAccessXMLReader.java | 76 public void setProperty(String name, Object value) { in setProperty() method in NoAccessXMLReader
|
D | NoInstanceXMLReader.java | 79 public void setProperty(String name, Object value) { in setProperty() method in NoInstanceXMLReader
|
D | DoNothingXMLReader.java | 76 public void setProperty(String name, Object value) { in setProperty() method in DoNothingXMLReader
|
D | NoSubclassXMLReader.java | 76 public void setProperty(String name, Object value) { in setProperty() method in NoSubclassXMLReader
|
D | MockFilter.java | 70 public void setProperty(String name, Object value) throws SAXNotRecognizedException, in setProperty() method in MockFilter
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | ValidatorHandler.java | 415 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty() method in ValidatorHandler
|
D | Validator.java | 406 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty() method in Validator
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTest.java | 110 public void setProperty(String name, Object value) throws in setProperty() method in SAXParserTest.MockSAXParser 817 parser.setProperty(LEXICAL_HANDLER_PROPERTY, new MockHandler(new MethodLogger())); in testReset() 852 parser.setProperty(validName, validValue); in testSetGetProperty() 855 parser.setProperty(validName, null); in testSetGetProperty() 864 parser.setProperty("foo", "bar"); in testSetGetProperty() 885 parser.setProperty(null, "bar"); in testSetGetProperty()
|
D | SAXParserFactoryTest.java | 123 System.setProperty("javax.xml.parsers.SAXParserFactory", in test_newInstance() 137 System.setProperty("javax.xml.parsers.SAXParserFactory", ""); in test_newInstance()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 762 System.setProperty("javax.net.ssl.keyStoreType", type); in setUpStoreProperties() 763 System.setProperty("javax.net.ssl.keyStore", getKeyStoreFileName()); in setUpStoreProperties() 764 System.setProperty("javax.net.ssl.keyStorePassword", KS_PASSWORD); in setUpStoreProperties() 766 System.setProperty("javax.net.ssl.trustStoreType", type); in setUpStoreProperties() 767 System.setProperty("javax.net.ssl.trustStore", getKeyStoreFileName()); in setUpStoreProperties() 768 System.setProperty("javax.net.ssl.trustStorePassword", KS_PASSWORD); in setUpStoreProperties()
|