X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aaee6afdcde7c9e677f642303d4988a66cb9dc9..b5fe7ca67bf3121959a0b5a59afd00c1708f2f03:/tests/thread/queue.cpp diff --git a/tests/thread/queue.cpp b/tests/thread/queue.cpp index a439e8ccde..a70108db60 100644 --- a/tests/thread/queue.cpp +++ b/tests/thread/queue.cpp @@ -3,7 +3,7 @@ // Purpose: Unit test for wxMessageQueue // Author: Evgeniy Tarassov // Created: 31/10/2007 -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Copyright: (c) 2007 Evgeniy Tarassov // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -34,15 +34,15 @@ class QueueTestCase : public CppUnit::TestCase public: QueueTestCase() { } -private: - typedef wxMessageQueue Queue; - enum WaitTestType { WaitWithTimeout = 0, WaitInfinitlyLong }; +private: + typedef wxMessageQueue Queue; + // This class represents a thread that waits (following WaitTestType type) // for exactly maxMsgCount messages from its message queue and if another // MyThread is specified, then every message received is posted