git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42930
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define TEST_WCHAR
#define TEST_ZIP
#else // #if TEST_ALL
#define TEST_WCHAR
#define TEST_ZIP
#else // #if TEST_ALL
- #define TEST_INFO_FUNCTIONS
#endif
// some tests are interactive, define this to run them
#endif
// some tests are interactive, define this to run them
static void ShowCmdLine(const wxCmdLineParser& parser)
{
static void ShowCmdLine(const wxCmdLineParser& parser)
{
- wxString s = _T("Input files: ");
+ wxString s = _T("Command line parsed successfully:\nInput files: ");
size_t count = parser.GetParamCount();
for ( size_t param = 0; param < count; param++ )
size_t count = parser.GetParamCount();
for ( size_t param = 0; param < count; param++ )
- wxFileInputStream fsIn(filename);
- wxPrintf(_T("File stream size: %u\n"), fsIn.GetSize());
- while ( !fsIn.Eof() )
- wxPutchar(fsIn.GetC());
+ wxFileInputStream fsIn(filename);
+ wxPrintf(_T("File stream size: %u\n"), fsIn.GetSize());
+ while ( !fsIn.Eof() )
+ {
+ wxPutchar(fsIn.GetC());
+ }
}
if ( !wxRemoveFile(filename) )
}
if ( !wxRemoveFile(filename) )