Home | Trees | Index | Help |
---|
Module test_loop :: Class TestEngine |
|
object
--+ |TestCase
--+ | TestEngine
Method Summary | |
---|---|
Create an instance of the class that will use the named test method when executed. (inherited from TestCase )
| |
__call__(self,
result)
(inherited from TestCase )
| |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from TestCase )
| |
__str__(self)
(inherited from TestCase )
| |
Fail the test unless the expression is true. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by the '==' operator. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by the '==' operator. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by the '==' operator. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by the '==' operator. (inherited from TestCase )
| |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. (inherited from TestCase )
| |
countTestCases(self)
(inherited from TestCase )
| |
Run the test without collecting errors in a TestResult (inherited from TestCase )
| |
defaultTestResult(self)
(inherited from TestCase )
| |
Fail immediately, with the given message. (inherited from TestCase )
| |
Fail the test if the expression is true. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are equal as determined by the '==' operator. (inherited from TestCase )
| |
Fail the test unless the expression is true. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. (inherited from TestCase )
| |
Fail if the two objects are unequal as determined by the '==' operator. (inherited from TestCase )
| |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. (inherited from TestCase )
| |
id(self)
(inherited from TestCase )
| |
Register a task | |
run(self,
result)
(inherited from TestCase )
| |
Hook method for setting up the test fixture before exercising it. | |
Returns a one-line description of the test, or None if no description has been provided. (inherited from TestCase )
| |
Hook method for deconstructing the test fixture after testing it. (inherited from TestCase )
| |
Deadlines are in the future | |
Two simultaneous tasks do not share deadlines | |
Base attributes | |
Engine is running and stopping | |
Exceptions are being handled by the 'handleException' method | |
Exception is raised when id does not exist | |
Task registration | |
Exception raises on invalid task registration | |
Update is working | |
Task unregistration | |
Helper method: register how many times it was called | |
Helper method | |
Helper method: fail imediately | |
Helper method: just mark that was called | |
Helper method: always raise a weird exception | |
Return a version of sys.exc_info() with the traceback frame minimised; usually the top level of the traceback frame is not needed. (inherited from TestCase )
|
Method Details |
---|
__new__(S, ...)
|
registerTask(self, delay=0)Register a task |
setUp(self)Hook method for setting up the test fixture before exercising it.
|
testDeadlines(self)Deadlines are in the future |
testDeadlinesDoNotRepeat(self)Two simultaneous tasks do not share deadlines |
testEngineAttributes(self)Base attributes |
testEngineRunningAndStopping(self)Engine is running and stopping |
testExceptionHandling(self)Exceptions are being handled by the 'handleException' method |
testInvalidUnregister(self)Exception is raised when id does not exist |
testRegister(self)Task registration |
testRegisterInvalidCall(self)Exception raises on invalid task registration |
testTaskUpdating(self)Update is working |
testUnregister(self)Task unregistration |
_countCallback(self, *args, **kwds)Helper method: register how many times it was called |
_engineCallback(self, *args, **kwds)Helper method |
_failCallback(self)Helper method: fail imediately |
_nullCallback(self)Helper method: just mark that was called |
_raiseCallback(self)Helper method: always raise a weird exception |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Dec 7 16:06:03 2003 | http://epydoc.sf.net |