Public Member Functions | Public Attributes
xbee.helpers.dispatch.tests.test_dispatch.TestDispatch Class Reference

List of all members.

Public Member Functions

def setUp
def test_callback_is_called_when_registered
def test_callback_name_collisions_raise_valueerror
def test_callback_not_called_when_filter_not_satisfied
def test_multiple_callbacks

Public Attributes

 callback_check
 dispatch
 xbee

Detailed Description

Tests xbee.helpers.dispatch for expected behavior

Definition at line 20 of file test_dispatch.py.


Member Function Documentation

Definition at line 25 of file test_dispatch.py.

After registerring a callback function with a filter function,
the callback should be called when data arrives.

Definition at line 30 of file test_dispatch.py.

If a call to register() results in attempting to register a
callback with the same name as another callback should result
in a ValueError exception being raised.

Definition at line 67 of file test_dispatch.py.

After registerring a callback function with a filter function,
the callback should not be called if a packet which does not
satisfy the callback's filter arrives.

Definition at line 39 of file test_dispatch.py.

Many callbacks should be called on the same packet if each
callback's filter method is satisfied.

Definition at line 49 of file test_dispatch.py.


Member Data Documentation

Definition at line 25 of file test_dispatch.py.

Definition at line 25 of file test_dispatch.py.

Definition at line 25 of file test_dispatch.py.


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


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Dec 6 2013 20:35:49