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

Public Member Functions

def test_invalid_checksum (self)
 
def test_remaining_bytes (self)
 
def test_single_byte (self)
 

Detailed Description

XBee class must be able to read and validate the data contained
by a valid API frame.

Definition at line 29 of file test_frame.py.

Member Function Documentation

def xbee.tests.test_frame.TestAPIFrameParsing.test_invalid_checksum (   self)
when an invalid frame is read, an exception must be raised

Definition at line 68 of file test_frame.py.

def xbee.tests.test_frame.TestAPIFrameParsing.test_remaining_bytes (   self)
remaining_bytes() should provide accurate indication
of remaining bytes required before parsing a packet

Definition at line 35 of file test_frame.py.

def xbee.tests.test_frame.TestAPIFrameParsing.test_single_byte (   self)
read a frame containing a single byte

Definition at line 53 of file test_frame.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