RingBuffer test class. More...
#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/TextOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/TestAssert.h>
#include <string>
#include <sstream>
#include <unistd.h>
#include <rtm/RingBuffer.h>
Go to the source code of this file.
Classes | |
class | RingBuffer::RingBufferTests |
RingBuffer test. More... | |
struct | thread_arg |
Namespaces | |
RingBuffer | |
Macros | |
#define | RingBuffer_cpp |
Typedefs | |
typedef ::RTC::BufferStatus::Enum | ReturnCode |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (RingBuffer::RingBufferTests) | |
void * | reader (void *arg) |
void * | writer (void *arg) |
Variables | |
ReturnCode | g_ret = RTC::BufferStatus::BUFFER_OK |
int | isBlockTest = false |
static const int | NLOOP = 0x00000fff |
RingBuffer test class.
Copyright (C) 2006 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
$Id$
Definition in file RingBufferTests.cpp.
#define RingBuffer_cpp |
Definition at line 42 of file RingBufferTests.cpp.
typedef ::RTC::BufferStatus::Enum ReturnCode |
Definition at line 63 of file RingBufferTests.cpp.
CPPUNIT_TEST_SUITE_REGISTRATION | ( | RingBuffer::RingBufferTests | ) |
void* reader | ( | void * | arg | ) |
Definition at line 76 of file RingBufferTests.cpp.
void* writer | ( | void * | arg | ) |
Definition at line 105 of file RingBufferTests.cpp.
Definition at line 65 of file RingBufferTests.cpp.
int isBlockTest = false |
Definition at line 64 of file RingBufferTests.cpp.
|
static |
Definition at line 62 of file RingBufferTests.cpp.