RingBuffer test.
More...
RingBuffer test.
Definition at line 122 of file RingBufferTests.cpp.
RingBuffer::RingBufferTests::RingBufferTests |
( |
| ) |
|
|
inline |
RingBuffer::RingBufferTests::~RingBufferTests |
( |
| ) |
|
|
inline |
RingBuffer::RingBufferTests::CPPUNIT_TEST |
( |
test_length |
| ) |
|
|
private |
RingBuffer::RingBufferTests::CPPUNIT_TEST |
( |
test_isFull |
| ) |
|
|
private |
RingBuffer::RingBufferTests::CPPUNIT_TEST |
( |
test_init |
| ) |
|
|
private |
RingBuffer::RingBufferTests::CPPUNIT_TEST |
( |
test_isNew |
| ) |
|
|
private |
RingBuffer::RingBufferTests::CPPUNIT_TEST |
( |
test_reset |
| ) |
|
|
private |
RingBuffer::RingBufferTests::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
void RingBuffer::RingBufferTests::do_test |
( |
RTC::RingBuffer< int > & |
buff, |
|
|
int |
loop = NLOOP , |
|
|
bool |
read_first = false |
|
) |
| |
|
inlineprivate |
virtual void RingBuffer::RingBufferTests::setUp |
( |
| ) |
|
|
inlinevirtual |
virtual void RingBuffer::RingBufferTests::tearDown |
( |
| ) |
|
|
inlinevirtual |
void RingBuffer::RingBufferTests::test_advanceRptr |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_advanceWptr |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_block_block_rw |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_block_block_wr |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_block_dnothing |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_block_rback |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_dnothing_block |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_dnothing_dnothing |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_dnothing_rback |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_init |
( |
void |
| ) |
|
|
inline |
init()��åɤΥƥ���
- ���餫����ǡ����ǽ���������塢���ꤷ���ǡ������������ɤ߽Ф��뤫��
Definition at line 311 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_isEmpty |
( |
void |
| ) |
|
|
inline |
isEmpty()��åɤΥƥ���
- �Хåե������ľ�塢���ǤϤʤ���Ƚ�ꤵ��뤫��
- �Ǹ�˥ǡ������ɤ��줿�塢�������ǡ��������ߤ���Ƥ��ʤ���硢 ����Ƚ�ꤵ��뤫��
- �Ǹ�˥ǡ������ɤ��줿�塢�������ǡ��������ߤ��줿��硢 ���ǤϤʤ���Ƚ�ꤵ��뤫��
Definition at line 246 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_isFull |
( |
| ) |
|
|
inline |
isFull()��åɤΥƥ���
- �Хåե������ξ�硢�ե�Ƚ��ϵ��Ȥʤ뤫��
- ���Хåե��˥ǡ��������ޤ�Ƥ�����֤ǡ��ե�Ƚ��Ͽ��Ȥʤ뤫��
- �Хåե��˴�ʬ�ǡ��������ޤ�Ƥ�����֤ǡ��ե�Ƚ��ϵ��Ȥʤ뤫��
Definition at line 280 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_isNew |
( |
void |
| ) |
|
|
inline |
isNew()��åɤΥƥ���
- �Хåե������ξ��֤ǡ�isNewȽ�꤬���ˤʤ뤫��
- ���Хåե��˥ǡ��������ޤ�Ƥ�����֤ǡ� �ǡ���������isNewȽ�꤬���ˤʤ뤫��
- ���Хåե��˥ǡ��������ޤ�Ƥ�����֤ǡ��ǡ���������� ���Υǡ����ɽФ�Ԥä����isNewȽ�꤬���ˤʤ뤫��
- �Хåե��˴�ʬ�ǡ��������ޤ�Ƥ�����֤ǡ��ǡ���������isNew Ƚ�꤬���ˤʤ뤫��
- �Хåե��˴�ʬ�ǡ��������ޤ�Ƥ�����֤ǡ��ǡ���������� ���Υǡ����ɽФ�Ԥä����isNewȽ�꤬���ˤʤ뤫��
Definition at line 576 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_length |
( |
| ) |
|
|
inline |
length()��åɤΥƥ���
- ���ȥ饯���ǻ��ꤵ�줿�Хåե�Ĺ�������������Ǥ��뤫��
Definition at line 227 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_owrite_block |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_owrite_dnothing |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_owrite_rback |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_reset |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_rptr_get |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_wptr_put |
( |
| ) |
|
|
inline |
void RingBuffer::RingBufferTests::test_write_read |
( |
| ) |
|
|
inline |
write()��åɤ����read()��åɤΥƥ���
- �Хåե������֤ǣ��ǡ���������ɽФ�Ԥ���������ǡ����������� �ɤ߽Ф��뤫��
- ���Хåե��˥ǡ��������ޤ�Ƥ�����֤ǣ��ǡ���������ɽФ�Ԥ��� ������ǡ������������ɤ߽Ф��뤫��
- ���Хåե��˴�ʬ�ǡ��������ޤ�Ƥ�����֤ǣ��ǡ���������ɽФ� �Ԥ���������ǡ������������ɤ߽Ф��뤫��
Definition at line 342 of file RingBufferTests.cpp.
void RingBuffer::RingBufferTests::test_write_read_with_small_length |
( |
| ) |
|
|
inline |
write()��åɤ����read()��åɤΥƥ��ȡʥХåե�Ĺ���ξ���
- �Хåե������֤ǣ��ǡ���������ɽФ�Ԥ���������ǡ����������� �ɤ߽Ф��뤫��
- ���Хåե��˥ǡ��������ޤ�Ƥ�����֤ǣ��ǡ���������ɽФ�Ԥ��� ������ǡ������������ɤ߽Ф��뤫��
- �Хåե��˴�ʬ�ǡ��������ޤ�Ƥ�����֤ǣ��ǡ���������ɽФ�Ԥ��� ������ǡ������������ɤ߽Ф��뤫��
Definition at line 468 of file RingBufferTests.cpp.
The documentation for this class was generated from the following file: