X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/113e181a8a9e3ed226615c1b14954e8684ddc9a6..ff38d8c1ebb74788dd8c61c88183a31832927347:/tests/uris/uris.cpp diff --git a/tests/uris/uris.cpp b/tests/uris/uris.cpp index b12a8f680a..193beca20a 100644 --- a/tests/uris/uris.cpp +++ b/tests/uris/uris.cpp @@ -11,7 +11,7 @@ // headers // ---------------------------------------------------------------------------- -#include "wx/wxprec.h" +#include "testprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -24,8 +24,6 @@ #include "wx/uri.h" #include "wx/url.h" -#include "wx/cppunit.h" - // Test wxURL & wxURI compat? #define TEST_URL ( 0 && wxUSE_URL ) @@ -279,7 +277,6 @@ void URITestCase::Comparison() #if TEST_URL #include "wx/url.h" -#include "wx/mimetype.h" void URITestCase::URLCompat() { @@ -317,8 +314,6 @@ void URITestCase::URLCompat() CPPUNIT_ASSERT( test.BuildURI() == wxT("file:%22myf%22ile.txt") ); CPPUNIT_ASSERT( test.GetScheme() == wxT("file") ); CPPUNIT_ASSERT( test.GetPath() == wxT("%22myf%22ile.txt") ); -// CPPUNIT_ASSERT( wxURI::Unescape(wxT("%22myf%22ile.txt")) ); - wxPrintf(wxURI::Unescape(wxT("%22myf%22ile.txt")) ); } #endif