OSDN Git Service

reformat
[kita/kita.git] / kita / src / libkita / tests / threadtest.h
1 /***************************************************************************
2 *   Copyright (C) 2003 by Hideki Ikemoto                                  *
3 *   ikemo@wakaba.jp                                                       *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 ***************************************************************************/
10 #ifndef THREADTEST_H
11 #define THREADTEST_H
12
13 #include <cppunit/extensions/HelperMacros.h>
14 #include <../thread.h>
15
16 /**
17 @author Hideki Ikemoto
18 */
19 class ThreadTest : public CppUnit::TestFixture
20 {
21     CPPUNIT_TEST_SUITE( ThreadTest );
22     CPPUNIT_TEST( testDatURL );
23     CPPUNIT_TEST( testURL );
24     CPPUNIT_TEST( testDatID );
25     CPPUNIT_TEST( testResNum );
26     CPPUNIT_TEST( testName );
27     CPPUNIT_TEST( testBoardName );
28     CPPUNIT_TEST( testBoardURL );
29     CPPUNIT_TEST( testBoardID );
30     CPPUNIT_TEST( testReplace );
31     CPPUNIT_TEST_SUITE_END();
32
33     Kita::Thread *m_normal;
34
35 public:
36     void setUp();
37     void tearDown();
38
39     void testDatURL();
40     void testURL();
41     void testDatID();
42     void testResNum();
43     void testName();
44     void testBoardName();
45     void testBoardURL();
46     void testBoardID();
47     void testReplace();
48 };
49
50 #endif