Package sparked :: Package test :: Module test_events :: Class TestEventDispatcher
[hide private]
[frames] | no frames]

Class TestEventDispatcher

source code

                    object --+            
                             |            
             unittest.TestCase --+        
                                 |        
                        object --+        
                                 |        
twisted.trial.unittest._Assertions --+    
                                     |    
       twisted.trial.unittest.TestCase --+
                                         |
                                        TestEventDispatcher

Test the sparked.events.EventDispatcher

Instance Methods [hide private]
 
testSimple(self)
Simple dispatching test
source code
 
testArguments(self)
Test that positional arguments are passed in the event handler and that pre-defined positional arguments (after the priority) are prepended to the event callback args.
source code
 
testKeywordArguments(self)
Test that the keyword arguments are passed through and that predefined keywords arguments are overriden by the keyword arguments of the event.
source code

Inherited from twisted.trial.unittest.TestCase: __call__, __eq__, __init__, __ne__, addCleanup, callDeprecated, deferRunCleanups, deferSetUp, deferTearDown, deferTestMethod, flushLoggedErrors, flushWarnings, getSkip, getSuppress, getTimeout, getTodo, mktemp, patch, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferRunCleanups, _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferTearDown, _ebDeferTestMethod, _getReason, _installObserver, _makeReactorMethod, _removeObserver, _run, _runCleanups, _undeprecateReactor, _wait

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertIsInstance, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns

Inherited from unittest.TestCase: __hash__, __providedBy__, __repr__, __str__, countTestCases, debug, defaultTestResult, id, setUp, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: failureException, skip, suppress, timeout, todo

Properties [hide private]

Inherited from object: __class__