2021-01-30 08:51:39 +02:00
|
|
|
//
|
|
|
|
// ActiveDispatcherTest.h
|
|
|
|
//
|
|
|
|
// Definition of the ActiveDispatcherTest class.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef ActiveDispatcherTest_INCLUDED
|
|
|
|
#define ActiveDispatcherTest_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
|
|
|
|
|
|
class ActiveDispatcherTest: public CppUnit::TestCase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ActiveDispatcherTest(const std::string& name);
|
|
|
|
~ActiveDispatcherTest();
|
|
|
|
|
|
|
|
void testWait();
|
|
|
|
void testWaitInterval();
|
|
|
|
void testTryWait();
|
|
|
|
void testFailure();
|
|
|
|
void testVoid();
|
|
|
|
void testVoidIn();
|
|
|
|
void testVoidInOut();
|
2023-03-23 20:19:11 +02:00
|
|
|
void testActiveDispatcher();
|
2021-01-30 08:51:39 +02:00
|
|
|
|
|
|
|
void setUp();
|
|
|
|
void tearDown();
|
|
|
|
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ActiveDispatcherTest_INCLUDED
|