Browse Subversion Repository
Contents of /runCtrl/TestTransmitCtrl.h
Parent Directory
| Revision Log
Revision 191 -
( show annotations)
( download)
( as text)
Fri Jan 4 02:49:36 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 848 byte(s)
using namespace beego
| 1 |
#ifndef TEST_TRANSMIT_CTRL_H |
| 2 |
#define TEST_TRANSMIT_CTRL_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief TransmitCtrl のテスト |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
#include <cppunit/extensions/HelperMacros.h> |
| 14 |
#include "tRunCtrlSimulator.h" |
| 15 |
#include "structTable.h" |
| 16 |
#include "TransmitPacket.h" |
| 17 |
#include "TcpipCtrl.h" |
| 18 |
|
| 19 |
class ThreadCreator; |
| 20 |
|
| 21 |
|
| 22 |
/*! |
| 23 |
\brief TransmitCtrl のテストクラス |
| 24 |
*/ |
| 25 |
class TestTransmitCtrl : public CppUnit::TestFixture { |
| 26 |
|
| 27 |
tRunCtrl_t host_run; |
| 28 |
packet_t packet; |
| 29 |
beego::TcpipCtrl port; |
| 30 |
beego::tRunCtrlSimulator* run_sim; |
| 31 |
|
| 32 |
CPPUNIT_TEST_SUITE(TestTransmitCtrl); |
| 33 |
CPPUNIT_TEST(accessTest); |
| 34 |
CPPUNIT_TEST(minusTest); |
| 35 |
CPPUNIT_TEST(frontChunkTest); |
| 36 |
CPPUNIT_TEST_SUITE_END(); |
| 37 |
|
| 38 |
public: |
| 39 |
void setUp(void); |
| 40 |
void tearDown(void); |
| 41 |
void accessTest(void); |
| 42 |
void minusTest(void); |
| 43 |
void frontChunkTest(void); |
| 44 |
}; |
| 45 |
|
| 46 |
#endif /* !TEST_TRANSMIT_CTRL_H */ |
|