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

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

Definition at line 22 of file test_fake.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Jan 11 09:42:34 2013