Files
rtorrent/test/rpc/command_map_test.h
T
rakshasa 8b03988612 * Added 'rpc/fixed_key.h' header.
* Replaced Command with command_base.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1168 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-30 04:36:02 +00:00

24 lines
475 B
C++

#include <cppunit/extensions/HelperMacros.h>
#include "rpc/command_map.h"
class CommandMapTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(CommandMapTest);
CPPUNIT_TEST(test_basics);
CPPUNIT_TEST_SUITE_END();
public:
static const int cmd_size = 256;
void setUp() { m_commandItr = m_commands; }
void tearDown() {}
void test_basics();
private:
rpc::CommandMap m_map;
rpc::command_base m_commands[cmd_size];
rpc::command_base* m_commandItr;
};