| /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/util/ |
| D | PropertiesTest.java | 40 props.setProperty("key", "value 1&-\n\t sadfbo"); in storeToXml_withCharset_andBack() 41 props.setProperty("ключ", "значение 123-&\n\t ттффваи"); in storeToXml_withCharset_andBack() 42 props.setProperty("key1", "value1"); in storeToXml_withCharset_andBack() 43 props.setProperty("key2", "value2"); in storeToXml_withCharset_andBack() 44 props.setProperty("key3", "value3"); in storeToXml_withCharset_andBack() 45 props.setProperty("<a>key4</a>", "\"value4"); in storeToXml_withCharset_andBack() 46 props.setProperty("key5 ", "<h>value5</h>"); in storeToXml_withCharset_andBack() 47 props.setProperty("<a>key6</a>", " <h>value6</h> "); in storeToXml_withCharset_andBack() 48 props.setProperty("<comment>key7</comment>", "value7"); in storeToXml_withCharset_andBack() 49 props.setProperty(" key8 ", "<comment>value8</comment>"); in storeToXml_withCharset_andBack() [all …]
|
| /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/ojluni/src/test/java/util/Properties/ |
| D | PropertiesEntrySetTest.java | 57 a.setProperty("p1", "1"); in testEquals() 61 b.setProperty("p1", "1"); in testEquals() 66 c.setProperty("p1", "2"); in testEquals() 73 a.setProperty("p2", "2"); in testEquals() 75 d.setProperty("p2", "2"); in testEquals() 76 d.setProperty("p1", "1"); in testEquals() 106 a.setProperty("p1", "1"); in testToString() 109 a.setProperty("p2", "2"); in testToString() 117 b.setProperty("p2", "2"); in testToString() 118 b.setProperty("p1", "1"); in testToString() [all …]
|
| D | LoadAndStoreXMLWithDefaults.java | 57 p1.setProperty("p1.prop", "prop1-p1"); in main() 58 p1.setProperty("p1.and.p2.prop", "prop2-p1"); in main() 59 p1.setProperty("p1.and.p2.and.p3.prop", "prop3-p1"); in main() 61 p2.setProperty("p2.prop", "prop4-p2"); in main() 62 p2.setProperty("p1.and.p2.prop", "prop5-p2"); in main() 63 p2.setProperty("p1.and.p2.and.p3.prop", "prop6-p2"); in main() 64 p2.setProperty("p2.and.p3.prop", "prop7-p2"); in main() 66 p3.setProperty("p3.prop", "prop8-p3"); in main() 67 p3.setProperty("p1.and.p2.and.p3.prop", "prop9-p3"); in main() 68 p3.setProperty("p2.and.p3.prop", "prop10-p3"); in main()
|
| D | PropertiesSerialization.java | 48 TEST_PROPS.setProperty("one", "two"); 49 TEST_PROPS.setProperty("buckle", "shoe"); 50 TEST_PROPS.setProperty("three", "four"); 51 TEST_PROPS.setProperty("shut", "door");
|
| /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() 220 System.setProperty("user.home", "/user/home"); in testSystemProperties_mutable() 223 System.setProperty("user.home", oldUserHome); in testSystemProperties_mutable() 233 System.setProperty("p1", "v1"); in testSystemProperties_setProperties_null() 249 newProperties.setProperty("user.dir", "v1"); in testSystemProperties_setProperties_nonNull() 251 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/luni/src/test/java/libcore/javax/xml/validation/ |
| D | ValidatorTest.java | 84 public void setProperty() { in setProperty() method in ValidatorTest 86 () -> validator.setProperty(null, false)); in setProperty() 88 () -> validator.setProperty(null, true)); in setProperty() 95 () -> validator.setProperty(property, value)); in setProperty()
|
| D | ValidatorHandlerTest.java | 84 public void setProperty() { in setProperty() method in ValidatorHandlerTest 86 () -> handler.setProperty(null, false)); in setProperty() 88 () -> handler.setProperty(null, true)); in setProperty() 95 () -> handler.setProperty(property, value)); in setProperty()
|
| D | SchemaFactoryTest.java | 119 BASE_SCHEMA_FACTORY.setProperty(null, new Object()); in setProperty_nullString() 125 BASE_SCHEMA_FACTORY.setProperty("myProperty", new Object()); in setProperty_validString()
|
| /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/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/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/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/test/java/libcore/xml/ |
| D | XmlToSax2DriverTest.java | 99 assertThrows(SAXNotSupportedException.class , () -> driver.setProperty( in testSetProperty() 103 assertThrows(SAXNotSupportedException.class ,() -> driver.setProperty( in testSetProperty() 109 driver.setProperty(key, "123"); in testSetProperty() 112 assertThrows(SAXNotSupportedException.class ,() -> driver.setProperty("abc", "")); in testSetProperty()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
| D | DocumentBuilderFactoryTest.java | 277 System.setProperty("javax.xml.parsers.DocumentBuilderFactory", in test_newInstance() 296 System.setProperty("javax.xml.parsers.DocumentBuilderFactory", ""); in test_newInstance() 311 System.setProperty("javax.xml.parsers.DocumentBuilderFactory", in test_newInstance() 711 System.setProperty(propName, className); in test_setSchemaLjavax_xml_validation_Schema() 754 f2.setProperty("woot", null); in test_setSchemaLjavax_xml_validation_Schema()
|
| /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 | NoSubclassXMLReader.java | 76 public void setProperty(String name, Object value) { in setProperty() method in NoSubclassXMLReader
|