Imported Upstream version 3.2.2
[debian/gnuradio] / gcell / lib / runtime / qa_job_manager.h
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2007 Free Software Foundation, Inc.
4  * 
5  * This file is part of GNU Radio
6  * 
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  * 
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 #ifndef INCLUDED_QA_JOB_MANAGER_H
22 #define INCLUDED_QA_JOB_MANAGER_H
23
24 #include <cppunit/extensions/HelperMacros.h>
25 #include <cppunit/TestCase.h>
26
27 class qa_job_manager;
28 typedef void (qa_job_manager::*test_t)();
29
30
31 class qa_job_manager : public CppUnit::TestCase {
32
33   CPPUNIT_TEST_SUITE(qa_job_manager);
34   CPPUNIT_TEST(t0);
35   CPPUNIT_TEST(t1);
36   CPPUNIT_TEST(t2);
37   CPPUNIT_TEST(t3);
38   CPPUNIT_TEST(t4);
39   CPPUNIT_TEST(t5);
40   CPPUNIT_TEST(t6);
41   CPPUNIT_TEST(t7);
42   CPPUNIT_TEST(t8);
43   CPPUNIT_TEST(t9);
44   CPPUNIT_TEST(t10);
45   CPPUNIT_TEST(t11);
46   CPPUNIT_TEST(t12);
47   CPPUNIT_TEST(t13);
48   CPPUNIT_TEST(t14);
49   CPPUNIT_TEST(t15);
50   CPPUNIT_TEST_SUITE_END();
51
52  private:
53   void leak_check(test_t t, const std::string &name);
54
55   void t0();
56   void t1();
57   void t1_body();
58   void t2();
59   void t2_body();
60   void t3();
61   void t3_body();
62   void t4();
63   void t4_body();
64   void t5();
65   void t5_body();
66   void t6();
67   void t6_body();
68   void t7();
69   void t7_body();
70   void t8();
71   void t8_body();
72   void t9();
73   void t9_body();
74   void t10();
75   void t10_body();
76   void t11();
77   void t11_body();
78   void t12();
79   void t12_body();
80   void t13();
81   void t13_body();
82   void t14();
83   void t14_body();
84   void t15();
85   void t15_body();
86
87 };
88
89 #endif /* INCLUDED_QA_JOB_MANAGER_H */