X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d35d3ed3c51cde78ee7369cd0a24f2ce4020172..e84d9899300decdc1cfa79229c8c0b839ed2011f:/tests/test.cpp diff --git a/tests/test.cpp b/tests/test.cpp index e7eeffcfa5..c3bbc31191 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -231,7 +231,7 @@ public: virtual void startTest(CppUnit::Test *test) { - wxPrintf(" %-60s ", test->getName()); + printf(" %-60s ", test->getName().c_str()); m_result = RESULT_OK; m_watch.Start(); } @@ -244,10 +244,10 @@ public: virtual void endTest(CppUnit::Test * WXUNUSED(test)) { m_watch.Pause(); - wxPrintf(GetResultStr(m_result)); + printf("%s", GetResultStr(m_result)); if (m_timing) - wxPrintf(" %6ld ms", m_watch.Time()); - wxPrintf("\n"); + printf(" %6ld ms", m_watch.Time()); + printf("\n"); } protected : @@ -259,7 +259,7 @@ protected : RESULT_MAX }; - wxString GetResultStr(ResultType type) const + const char* GetResultStr(ResultType type) const { static const char *resultTypeNames[] = {