Patch #1222244: Fixes for bug #1212853 with unit test.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-06-17 11:29:55 +00:00
parent 17e22c50bf
commit fd725bce37
3 changed files with 152 additions and 148 deletions

View File

@@ -377,8 +377,12 @@ void URITestCase::URLProxy()
{
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