Public Member Functions
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

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.

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.

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.

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.

Tests exceptoin on multiple unsubscribe for non-repeating subscribers.

Definition at line 188 of file event.py.

Tests exceptoin on multiple unsubscribe for repeating subscribers.

Definition at line 181 of file event.py.

Tests that a callback that gets added during a trigger is
not run.

Definition at line 222 of file event.py.

Tests that a callback that gets deleted during a trigger is
not run.

Definition at line 236 of file event.py.

Tests that a callback can unsubscribe itself.

Definition at line 169 of file event.py.

Tests that a nonblocking unsubscribe on myself does not raise.

Definition at line 214 of file event.py.

Tests basic unsubscribe_all functionality.

Definition at line 195 of file event.py.


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


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:18