1//
2// TaskManagerTest.h
3//
4// Definition of the TaskManagerTest class.
5//
6// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef TaskManagerTest_INCLUDED
14#define TaskManagerTest_INCLUDED
15
16
17#include "Poco/Foundation.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class TaskManagerTest: public CppUnit::TestCase
22{
23public:
24 struct S
25 {
26 int i;
27 std::string str;
28 };
29
30 TaskManagerTest(const std::string& name);
31 ~TaskManagerTest();
32
33 void testFinish();
34 void testCancel();
35 void testError();
36 void testCustom();
37 void testMultiTasks();
38 void testTaskInclusion();
39 void testTaskQueue();
40 void testCustomThreadPool();
41
42 void setUp();
43 void tearDown();
44
45 static CppUnit::Test* suite();
46
47private:
48};
49
50
51#endif // TaskManagerTest_INCLUDED
52