#include "um7/comms.h"
#include "um7/registers.h"
#include "serial/serial.h"
#include <gtest/gtest.h>
#include <fcntl.h>
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) |
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.