// 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
///////////////////////////////////////////////////////////////////////////////
public:
QueueTestCase() { }
-private:
- typedef wxMessageQueue<int> Queue;
-
enum WaitTestType
{
WaitWithTimeout = 0,
WaitInfinitlyLong
};
+private:
+ typedef wxMessageQueue<int> 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