Functions
shared_queue_test.cc File Reference
#include <gtest/gtest.h>
#include <ubiquity_motor/shared_queue.h>
#include <boost/thread.hpp>
#include <vector>
Include dependency graph for shared_queue_test.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void pop_thread (shared_queue< int > *sq)
 
 TEST (SharedQueueTest, copy)
 
 TEST (SharedQueueTest, copyConstruct)
 
 TEST (SharedQueueTest, emptyAfterPushAndPop)
 
 TEST (SharedQueueTest, emptyOnConstuct)
 
 TEST (SharedQueueTest, notEmptyAfterPush)
 
 TEST (SharedQueueTest, notEmptyAfterPushMultiple)
 
 TEST (SharedQueueTest, pushConstCopyFront)
 
 TEST (SharedQueueTest, pushFrontPop)
 
 TEST (SharedQueueTest, pushFrontPopThreaded)
 
 TEST (SharedQueueTest, pushMultipleSize)
 
 TEST (SharedQueueTest, pushPopSize)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 196 of file shared_queue_test.cc.

◆ pop_thread()

void pop_thread ( shared_queue< int > *  sq)

Definition at line 172 of file shared_queue_test.cc.

◆ TEST() [1/11]

TEST ( SharedQueueTest  ,
copy   
)

Definition at line 74 of file shared_queue_test.cc.

◆ TEST() [2/11]

TEST ( SharedQueueTest  ,
copyConstruct   
)

Definition at line 101 of file shared_queue_test.cc.

◆ TEST() [3/11]

TEST ( SharedQueueTest  ,
emptyAfterPushAndPop   
)

Definition at line 36 of file shared_queue_test.cc.

◆ TEST() [4/11]

TEST ( SharedQueueTest  ,
emptyOnConstuct   
)

Definition at line 7 of file shared_queue_test.cc.

◆ TEST() [5/11]

TEST ( SharedQueueTest  ,
notEmptyAfterPush   
)

Definition at line 14 of file shared_queue_test.cc.

◆ TEST() [6/11]

TEST ( SharedQueueTest  ,
notEmptyAfterPushMultiple   
)

Definition at line 22 of file shared_queue_test.cc.

◆ TEST() [7/11]

TEST ( SharedQueueTest  ,
pushConstCopyFront   
)

Definition at line 127 of file shared_queue_test.cc.

◆ TEST() [8/11]

TEST ( SharedQueueTest  ,
pushFrontPop   
)

Definition at line 49 of file shared_queue_test.cc.

◆ TEST() [9/11]

TEST ( SharedQueueTest  ,
pushFrontPopThreaded   
)

Definition at line 181 of file shared_queue_test.cc.

◆ TEST() [10/11]

TEST ( SharedQueueTest  ,
pushMultipleSize   
)

Definition at line 160 of file shared_queue_test.cc.

◆ TEST() [11/11]

TEST ( SharedQueueTest  ,
pushPopSize   
)

Definition at line 144 of file shared_queue_test.cc.



ubiquity_motor
Author(s):
autogenerated on Thu Nov 16 2023 03:30:56