Classes | Functions
to_topic_test.cpp File Reference
#include <socketcan_bridge/socketcan_to_topic.h>
#include <can_msgs/Frame.h>
#include <socketcan_interface/socketcan.h>
#include <socketcan_interface/dummy.h>
#include <socketcan_bridge/topic_to_socketcan.h>
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <list>
Include dependency graph for to_topic_test.cpp:

Go to the source code of this file.

Classes

class  msgCollector
 

Functions

std::string convertMessageToString (const can_msgs::Frame &msg, bool lc=true)
 
int main (int argc, char **argv)
 
 TEST (SocketCANToTopicTest, checkCorrectData)
 
 TEST (SocketCANToTopicTest, checkInvalidFrameHandling)
 
 TEST (SocketCANToTopicTest, checkCorrectCanIdFilter)
 
 TEST (SocketCANToTopicTest, checkInvalidCanIdFilter)
 
 TEST (SocketCANToTopicTest, checkMaskFilter)
 

Function Documentation

std::string convertMessageToString ( const can_msgs::Frame &  msg,
bool  lc = true 
)

Definition at line 51 of file to_topic_test.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 302 of file to_topic_test.cpp.

TEST ( SocketCANToTopicTest  ,
checkCorrectData   
)

Definition at line 57 of file to_topic_test.cpp.

TEST ( SocketCANToTopicTest  ,
checkInvalidFrameHandling   
)

Definition at line 111 of file to_topic_test.cpp.

TEST ( SocketCANToTopicTest  ,
checkCorrectCanIdFilter   
)

Definition at line 157 of file to_topic_test.cpp.

TEST ( SocketCANToTopicTest  ,
checkInvalidCanIdFilter   
)

Definition at line 215 of file to_topic_test.cpp.

TEST ( SocketCANToTopicTest  ,
checkMaskFilter   
)

Definition at line 261 of file to_topic_test.cpp.



socketcan_bridge
Author(s): Ivor Wanders
autogenerated on Sat May 4 2019 02:40:49