]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/uris/uris.cpp
Add *wxTopLevelWindowGTK*RequestUserAttention*int*;
[wxWidgets.git] / tests / uris / uris.cpp
index c4aa89dc5cbc70366ec09bdefa1cc0fa5a620b52..cbf4aef571a00cd210aa074cf96cc58373bfe6df 100644 (file)
@@ -377,8 +377,12 @@ void URITestCase::URLProxy()
 {
     wxURL url(wxT("http://www.asite.com/index.html"));
     url.SetProxy(wxT("pserv:3122"));
 {
     wxURL url(wxT("http://www.asite.com/index.html"));
     url.SetProxy(wxT("pserv:3122"));
+
+    wxURL::SetDefaultProxy(wxT("fol.singnet.com.sg:8080"));
+    wxURL url2(wxT("http://server-name/path/to/file?query_data=value"));
+    wxInputStream *data = url2.GetInputStream();
+    CPPUNIT_ASSERT(data != NULL);
 }
 #endif // wxUSE_PROTOCOL_HTTP
 
 #endif // TEST_URL
 }
 #endif // wxUSE_PROTOCOL_HTTP
 
 #endif // TEST_URL
-