Classes | Functions
test_comms.cpp File Reference
#include "um7/comms.h"
#include "um7/registers.h"
#include "serial/serial.h"
#include <gtest/gtest.h>
#include <fcntl.h>
Include dependency graph for test_comms.cpp:

Go to the source code of this file.

Classes

class  FakeSerial

Functions

int main (int argc, char **argv)
 TEST_F (FakeSerial, basic_message_rx)
 TEST_F (FakeSerial, batch_message_rx)
 TEST_F (FakeSerial, bad_checksum_message_rx)
 TEST_F (FakeSerial, garbage_bytes_preceeding_message_rx)
 TEST_F (FakeSerial, timeout_message_rx)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 102 of file test_comms.cpp.

TEST_F ( FakeSerial  ,
basic_message_rx   
)

Definition at line 45 of file test_comms.cpp.

TEST_F ( FakeSerial  ,
batch_message_rx   
)

Definition at line 57 of file test_comms.cpp.

TEST_F ( FakeSerial  ,
bad_checksum_message_rx   
)

Definition at line 71 of file test_comms.cpp.

TEST_F ( FakeSerial  ,
garbage_bytes_preceeding_message_rx   
)

Definition at line 83 of file test_comms.cpp.

TEST_F ( FakeSerial  ,
timeout_message_rx   
)

Definition at line 94 of file test_comms.cpp.



um7
Author(s): Mike Purvis , Alex Brown
autogenerated on Thu Jun 6 2019 19:34:53