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

def xbee::helpers::dispatch::tests::test_dispatch::TestDispatch::setUp (   self  ) 

Definition at line 25 of file test_dispatch.py.

def xbee::helpers::dispatch::tests::test_dispatch::TestDispatch::test_callback_is_called_when_registered (   self  ) 
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.

def xbee::helpers::dispatch::tests::test_dispatch::TestDispatch::test_callback_name_collisions_raise_valueerror (   self  ) 
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.

def xbee::helpers::dispatch::tests::test_dispatch::TestDispatch::test_callback_not_called_when_filter_not_satisfied (   self  ) 
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.

def xbee::helpers::dispatch::tests::test_dispatch::TestDispatch::test_multiple_callbacks (   self  ) 
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 28 of file test_dispatch.py.

Definition at line 27 of file test_dispatch.py.

Definition at line 26 of file test_dispatch.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