#include <gtest/gtest.h>
#include <ubiquity_motor/shared_queue.h>
#include <boost/thread.hpp>
#include <vector>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | pop_thread (shared_queue< int > *sq) |
TEST (SharedQueueTest, emptyOnConstuct) | |
TEST (SharedQueueTest, notEmptyAfterPush) | |
TEST (SharedQueueTest, notEmptyAfterPushMultiple) | |
TEST (SharedQueueTest, emptyAfterPushAndPop) | |
TEST (SharedQueueTest, pushFrontPop) | |
TEST (SharedQueueTest, copy) | |
TEST (SharedQueueTest, copyConstruct) | |
TEST (SharedQueueTest, pushConstCopyFront) | |
TEST (SharedQueueTest, pushPopSize) | |
TEST (SharedQueueTest, pushMultipleSize) | |
TEST (SharedQueueTest, pushFrontPopThreaded) | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 196 of file shared_queue_test.cc.
void pop_thread | ( | shared_queue< int > * | sq | ) |
Definition at line 172 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
emptyOnConstuct | |||
) |
Definition at line 7 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
notEmptyAfterPush | |||
) |
Definition at line 14 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
notEmptyAfterPushMultiple | |||
) |
Definition at line 22 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
emptyAfterPushAndPop | |||
) |
Definition at line 36 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
pushFrontPop | |||
) |
Definition at line 49 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
copy | |||
) |
Definition at line 74 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
copyConstruct | |||
) |
Definition at line 101 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
pushConstCopyFront | |||
) |
Definition at line 127 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
pushPopSize | |||
) |
Definition at line 144 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
pushMultipleSize | |||
) |
Definition at line 160 of file shared_queue_test.cc.
TEST | ( | SharedQueueTest | , |
pushFrontPopThreaded | |||
) |
Definition at line 181 of file shared_queue_test.cc.