Functions | Variables
udp_com-test.cpp File Reference
#include <gtest/gtest.h>
#include <vector>
#include "nodelet/nodelet.h"
#include "ros/ros.h"
#include "udp_com/UdpPacket.h"
#include "udp_com/UdpSend.h"
#include "udp_com/UdpSocket.h"
Include dependency graph for udp_com-test.cpp:

Go to the source code of this file.

Functions

 TEST (UdpTestSuite, doesCreateSocketServiceExist)
 
 TEST (UdpTestSuite, doesSendServiceExist)
 
 TEST (UdpTestSuite, testCreateSocketService)
 
 TEST (UdpTestSuite, testSendService)
 

Variables

auto createPacket
 

Function Documentation

TEST ( UdpTestSuite  ,
doesCreateSocketServiceExist   
)

Declare Tests

Definition at line 32 of file udp_com-test.cpp.

TEST ( UdpTestSuite  ,
doesSendServiceExist   
)

Definition at line 44 of file udp_com-test.cpp.

TEST ( UdpTestSuite  ,
testCreateSocketService   
)

Definition at line 56 of file udp_com-test.cpp.

TEST ( UdpTestSuite  ,
testSendService   
)

Definition at line 79 of file udp_com-test.cpp.

Variable Documentation

auto createPacket
Initial value:
= [](double length, uint8_t initialValue)
{
std::vector<uint8_t> packet(length, initialValue);
return packet;
}

helper function to simulate a packet

Definition at line 20 of file udp_com-test.cpp.



udp_com
Author(s): Hunter Laux , Max Ginier , Evan Flynn , Gerardo Bravo , Moises Diaz
autogenerated on Sat Dec 5 2020 04:01:00