$search
Public Member Functions | |
def | setUp |
def | test_read_multiple_bytes |
def | test_read_single_byte |
def | test_read_too_many |
Public Attributes | |
device |
FakeReadDevice class should work as intended to emluate a serial port
Definition at line 13 of file test_fake.py.
def xbee::tests::test_fake::TestFakeReadDevice::setUp | ( | self | ) |
Create a fake read device for each test
Definition at line 18 of file test_fake.py.
def xbee::tests::test_fake::TestFakeReadDevice::test_read_multiple_bytes | ( | self | ) |
reading multiple bytes at a time should work as expected
Definition at line 33 of file test_fake.py.
def xbee::tests::test_fake::TestFakeReadDevice::test_read_single_byte | ( | self | ) |
reading one byte at a time should work as expected
Definition at line 24 of file test_fake.py.
def xbee::tests::test_fake::TestFakeReadDevice::test_read_too_many | ( | self | ) |
attempting to read too many bytes should raise an exception
Definition at line 40 of file test_fake.py.
Definition at line 22 of file test_fake.py.