Classes | Functions
utest.cpp File Reference
#include "simple_message/simple_message.h"
#include "simple_message/byte_array.h"
#include "simple_message/shared_types.h"
#include "simple_message/smpl_msg_connection.h"
#include "simple_message/socket/udp_client.h"
#include "simple_message/socket/udp_server.h"
#include "simple_message/socket/tcp_client.h"
#include "simple_message/socket/tcp_server.h"
#include "simple_message/ping_message.h"
#include "simple_message/ping_handler.h"
#include "simple_message/messages/joint_message.h"
#include "simple_message/joint_data.h"
#include "simple_message/message_manager.h"
#include "simple_message/simple_comms_fault_handler.h"
#include "simple_message/joint_traj_pt.h"
#include "simple_message/messages/joint_traj_pt_message.h"
#include "simple_message/typed_message.h"
#include "simple_message/joint_traj.h"
#include <gtest/gtest.h>
#include <thread>
#include <chrono>
#include <limits>
#include <vector>
Include dependency graph for utest.cpp:

Go to the source code of this file.

Classes

class  TestClient
 
class  TestServer
 

Functions

void * connectServerFunc (void *arg)
 
int main (int argc, char **argv)
 
void * spinFunc (void *arg)
 
void spinSender (void *arg, bool &running)
 
 TEST (ByteArraySuite, init)
 
 TEST (ByteArraySuite, loading)
 
 TEST (ByteArraySuite, byteSwapping)
 
 TEST (ByteArraySuite, copy)
 
 TEST (SocketSuite, read)
 
 TEST (SocketSuite, readTimeout)
 
 TEST (SocketSuite, splitPackets)
 
 TEST (SimpleMessageSuite, init)
 
 TEST (PingMessageSuite, init)
 
 TEST (PingMessageSuite, toMessage)
 
 TEST (PingHandlerSuite, init)
 
 TEST (MessageManagerSuite, init)
 
 TEST (MessageManagerSuite, addHandler)
 

Function Documentation

◆ connectServerFunc()

void* connectServerFunc ( void *  arg)

Definition at line 299 of file utest.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 601 of file utest.cpp.

◆ spinFunc()

void* spinFunc ( void *  arg)

Definition at line 528 of file utest.cpp.

◆ spinSender()

void spinSender ( void *  arg,
bool &  running 
)

Definition at line 387 of file utest.cpp.

◆ TEST() [1/13]

TEST ( ByteArraySuite  ,
init   
)

Definition at line 82 of file utest.cpp.

◆ TEST() [2/13]

TEST ( ByteArraySuite  ,
loading   
)

Definition at line 107 of file utest.cpp.

◆ TEST() [3/13]

TEST ( ByteArraySuite  ,
byteSwapping   
)

Definition at line 163 of file utest.cpp.

◆ TEST() [4/13]

TEST ( ByteArraySuite  ,
copy   
)

Definition at line 218 of file utest.cpp.

◆ TEST() [5/13]

TEST ( SocketSuite  ,
read   
)

Definition at line 306 of file utest.cpp.

◆ TEST() [6/13]

TEST ( SocketSuite  ,
readTimeout   
)

Definition at line 348 of file utest.cpp.

◆ TEST() [7/13]

TEST ( SocketSuite  ,
splitPackets   
)

Definition at line 402 of file utest.cpp.

◆ TEST() [8/13]

TEST ( SimpleMessageSuite  ,
init   
)

Definition at line 432 of file utest.cpp.

◆ TEST() [9/13]

TEST ( PingMessageSuite  ,
init   
)

Definition at line 451 of file utest.cpp.

◆ TEST() [10/13]

TEST ( PingMessageSuite  ,
toMessage   
)

Definition at line 466 of file utest.cpp.

◆ TEST() [11/13]

TEST ( PingHandlerSuite  ,
init   
)

Definition at line 487 of file utest.cpp.

◆ TEST() [12/13]

TEST ( MessageManagerSuite  ,
init   
)

Definition at line 499 of file utest.cpp.

◆ TEST() [13/13]

TEST ( MessageManagerSuite  ,
addHandler   
)

Definition at line 509 of file utest.cpp.



simple_message
Author(s): Shaun Edwards
autogenerated on Mon Feb 28 2022 22:34:36