multi_interface_roam::event::BasicTest Class Reference

List of all members.

Public Member Functions

def test_basic
def test_liveness_sensor_no_source
def test_liveness_sensor_with_dropping_source
def test_liveness_sensor_with_source
def test_multiple_unsubscribe_once
def test_multiple_unsubscribe_repeating
def test_norun_sub_during_trig
def test_norun_unsub_during_trig
def test_unsub_myself
def test_unsub_myself_nonblocking
def test_unsubscribe_all

Detailed Description

Definition at line 128 of file event.py.


Member Function Documentation

def multi_interface_roam::event::BasicTest::test_basic (   self  ) 
Tests basic functionality.

Adds a couple of callbacks. Makes sure they are called the
right number of times. Checks that parameters are correct,
including keyword arguments giving priority to subscribe over
trigger.

Definition at line 129 of file event.py.

def multi_interface_roam::event::BasicTest::test_liveness_sensor_no_source (   self  ) 
Tests when the liveness sensor gets set off when the event
disappears and there is no event source.

Definition at line 249 of file event.py.

def multi_interface_roam::event::BasicTest::test_liveness_sensor_with_dropping_source (   self  ) 
Tests when the liveness sensor gets set off when the event
disappears and there is an event source.

Definition at line 273 of file event.py.

def multi_interface_roam::event::BasicTest::test_liveness_sensor_with_source (   self  ) 
Tests when the liveness sensor gets set off when the event
disappears and there is an event source.

Definition at line 260 of file event.py.

def multi_interface_roam::event::BasicTest::test_multiple_unsubscribe_once (   self  ) 
Tests exceptoin on multiple unsubscribe for non-repeating subscribers.

Definition at line 188 of file event.py.

def multi_interface_roam::event::BasicTest::test_multiple_unsubscribe_repeating (   self  ) 
Tests exceptoin on multiple unsubscribe for repeating subscribers.

Definition at line 181 of file event.py.

def multi_interface_roam::event::BasicTest::test_norun_sub_during_trig (   self  ) 
Tests that a callback that gets added during a trigger is
not run.

Definition at line 222 of file event.py.

def multi_interface_roam::event::BasicTest::test_norun_unsub_during_trig (   self  ) 
Tests that a callback that gets deleted during a trigger is
not run.

Definition at line 236 of file event.py.

def multi_interface_roam::event::BasicTest::test_unsub_myself (   self  ) 
Tests that a callback can unsubscribe itself.

Definition at line 169 of file event.py.

def multi_interface_roam::event::BasicTest::test_unsub_myself_nonblocking (   self  ) 
Tests that a nonblocking unsubscribe on myself does not raise.

Definition at line 214 of file event.py.

def multi_interface_roam::event::BasicTest::test_unsubscribe_all (   self  ) 
Tests basic unsubscribe_all functionality.

Definition at line 195 of file event.py.


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


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Fri Jan 11 09:52:35 2013