Public Member Functions | Public Attributes
xbee.tests.test_fake.TestFakeReadDevice Class Reference

List of all members.

Public Member Functions

def setUp
def test_read_multiple_bytes
def test_read_single_byte
def test_read_too_many

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

Create a fake read device for each test

Definition at line 18 of file test_fake.py.

reading multiple bytes at a time should work as expected

Definition at line 33 of file test_fake.py.

reading one byte at a time should work as expected

Definition at line 24 of file test_fake.py.

attempting to read too many bytes should raise an exception

Definition at line 40 of file test_fake.py.


Member Data Documentation

Definition at line 20 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 Aug 28 2015 12:44:47