Public Member Functions | Public Attributes | List of all members
xbee.tests.test_fake.TestFakeReadDevice Class Reference
Inheritance diagram for xbee.tests.test_fake.TestFakeReadDevice:
Inheritance graph
[legend]

Public Member Functions

def setUp (self)
 
def test_read_multiple_bytes (self)
 
def test_read_single_byte (self)
 
def test_read_too_many (self)
 

Public Attributes

 device
 

Detailed Description

FakeReadDevice class should work as intended to emluate a serial 
port

Definition at line 13 of file test_fake.py.

Member Function Documentation

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.

Member Data Documentation

xbee.tests.test_fake.TestFakeReadDevice.device

Definition at line 22 of file test_fake.py.


The documentation for this class was generated from the following file:


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Jun 7 2019 22:03:11