// Author: Francesco Montorsi
// (based on console sample TestExecute() function)
// Created: 2009-01-10
-// RCS-ID: $Id$
// Copyright: (c) 2009 Francesco Montorsi
// (c) 2013 Rob Bresalier, Vadim Zeitlin
// Licence: wxWindows licence
#define SLEEP_END_STRING "Done sleeping"
+namespace
+{
+ enum AsyncExecLoopExitEnum
+ {
+ AsyncExec_DontExitLoop,
+ AsyncExec_ExitLoop
+ };
+} // anonymous namespace
+
// ----------------------------------------------------------------------------
// test class
// ----------------------------------------------------------------------------
CheckStream check,
const char* expectedContaining);
- enum AsyncExecLoopExitEnum
- {
- AsyncExec_DontExitLoop,
- AsyncExec_ExitLoop
- };
-
// This class is used as a helper in order to run wxExecute(ASYNC)
// inside of an event loop.
class AsyncInEventLoop : public wxTimer
//
// Too bad you can't just register one test case of a test suite as a
// "fixme".
-#ifndef __WXMSW__
+#ifndef __WINDOWS__
// Simple helper delaying the call to wxExecute(): instead of running it
// immediately, it runs it when we re-enter the event loop.
class DelayedExecuteTimer : public wxTimer
CPPUNIT_ASSERT( !longSleepOutput.empty() );
CPPUNIT_ASSERT_EQUAL( SLEEP_END_STRING, longSleepOutput.Last() );
-#endif // !__WXMSW__
+#endif // !__WINDOWS__
}