Classes | Functions
test_transport_tcp.cpp File Reference
#include <gtest/gtest.h>
#include "ros/poll_set.h"
#include "ros/transport/transport_tcp.h"
#include <boost/bind.hpp>
#include <boost/thread.hpp>
Include dependency graph for test_transport_tcp.cpp:

Go to the source code of this file.

Classes

class  Polled
 
class  Synchronous
 

Functions

int main (int argc, char **argv)
 
void readThread (TransportTCPPtr transport, uint8_t *buf, uint32_t size, volatile int32_t *read_out, volatile bool *done_read)
 
 TEST_F (Synchronous, writeThenRead)
 
 TEST_F (Synchronous, writeThenReadPartial)
 
 TEST_F (Synchronous, readWhileWriting)
 
 TEST_F (Synchronous, readAfterClose)
 
 TEST_F (Synchronous, writeAfterClose)
 
 TEST_F (Polled, readAndWrite)
 
 TEST_F (Polled, enableDisableWrite)
 
 TEST_F (Polled, disconnectNoTraffic)
 
 TEST_F (Polled, disconnectWriter)
 
 TEST_F (Polled, disconnectReader)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 416 of file test_transport_tcp.cpp.

void readThread ( TransportTCPPtr  transport,
uint8_t *  buf,
uint32_t  size,
volatile int32_t *  read_out,
volatile bool *  done_read 
)

Definition at line 121 of file test_transport_tcp.cpp.

TEST_F ( Synchronous  ,
writeThenRead   
)

Definition at line 95 of file test_transport_tcp.cpp.

TEST_F ( Synchronous  ,
writeThenReadPartial   
)

Definition at line 108 of file test_transport_tcp.cpp.

TEST_F ( Synchronous  ,
readWhileWriting   
)

Definition at line 130 of file test_transport_tcp.cpp.

TEST_F ( Synchronous  ,
readAfterClose   
)

Definition at line 167 of file test_transport_tcp.cpp.

TEST_F ( Synchronous  ,
writeAfterClose   
)

Definition at line 176 of file test_transport_tcp.cpp.

TEST_F ( Polled  ,
readAndWrite   
)

Definition at line 314 of file test_transport_tcp.cpp.

TEST_F ( Polled  ,
enableDisableWrite   
)

Definition at line 347 of file test_transport_tcp.cpp.

TEST_F ( Polled  ,
disconnectNoTraffic   
)

Definition at line 369 of file test_transport_tcp.cpp.

TEST_F ( Polled  ,
disconnectWriter   
)

Definition at line 382 of file test_transport_tcp.cpp.

TEST_F ( Polled  ,
disconnectReader   
)

Definition at line 399 of file test_transport_tcp.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46