Classes | Functions
motor_serial_test.cc File Reference
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <ubiquity_motor/motor_message.h>
#include <ubiquity_motor/motor_serial.h>
#include <string>
#include <util.h>
Include dependency graph for motor_serial_test.cc:

Go to the source code of this file.

Classes

class  MotorSerialTests
 

Functions

int main (int argc, char **argv)
 
 TEST (MotorSerialNoFixtureTests, badPortnameException)
 
 TEST_F (MotorSerialTests, serialClosedOnInterupt)
 
 TEST_F (MotorSerialTests, goodReadWorks)
 
 TEST_F (MotorSerialTests, misalignedOneGoodReadWorks)
 
 TEST_F (MotorSerialTests, misalignedManyGoodReadWorks)
 
 TEST_F (MotorSerialTests, errorReadWorks)
 
 TEST_F (MotorSerialTests, badReadFails)
 
 TEST_F (MotorSerialTests, misalignedOneBadReadFails)
 
 TEST_F (MotorSerialTests, incompleteReadFails)
 
 TEST_F (MotorSerialTests, incompleteMisalignedReadFails)
 
 TEST_F (MotorSerialTests, badProtocolReadFails)
 
 TEST_F (MotorSerialTests, badTypeReadFails)
 
 TEST_F (MotorSerialTests, writeOutputs)
 
 TEST_F (MotorSerialTests, writeMultipleOutputs)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 356 of file motor_serial_test.cc.

TEST ( MotorSerialNoFixtureTests  ,
badPortnameException   
)

Definition at line 69 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
serialClosedOnInterupt   
)

Definition at line 74 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
goodReadWorks   
)

Definition at line 81 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
misalignedOneGoodReadWorks   
)

Definition at line 96 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
misalignedManyGoodReadWorks   
)

Definition at line 111 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
errorReadWorks   
)

Definition at line 127 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
badReadFails   
)

Definition at line 140 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
misalignedOneBadReadFails   
)

Definition at line 162 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
incompleteReadFails   
)

Definition at line 184 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
incompleteMisalignedReadFails   
)

Definition at line 206 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
badProtocolReadFails   
)

Definition at line 228 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
badTypeReadFails   
)

Definition at line 250 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
writeOutputs   
)

Definition at line 272 of file motor_serial_test.cc.

TEST_F ( MotorSerialTests  ,
writeMultipleOutputs   
)

Definition at line 291 of file motor_serial_test.cc.



ubiquity_motor
Author(s):
autogenerated on Mon Jun 10 2019 15:37:24