make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-03-23 16:23:44 +00:00
parent 20ede3925f
commit ca5016d4dd
25 changed files with 4797 additions and 4631 deletions

View File

@@ -175,6 +175,8 @@ private:
size_t max, const wxChar *format, ...);
void Miscellaneous();
virtual void setUp();
DECLARE_NO_COPY_CLASS(VsnprintfTestCase)
};
@@ -188,7 +190,7 @@ VsnprintfTestCase::VsnprintfTestCase()
{
// this call is required to avoid check failures when running on machines
// with a locale where the decimal point is not '.'
wxSetlocale(LC_NUMERIC, "C");
wxSetlocale(LC_ALL, "C");
}
void VsnprintfTestCase::C()