Home | Trees | Index | Help |
---|
Module test_loop :: Class TestTaskQueue |
|
object
--+ |TestCase
--+ | TestTaskQueue
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 )
| |
'in' keyword works properly | |
Deadlines are in the future | |
Two simultaneous tasks do not share deadlines | |
Exception is raised when getting invalid task | |
Iterating over queue returns only expired tasks | |
Task is returned when requested | |
Exception is raised on unregistering when id does not exist | |
Base attributes are sane | |
Task registration | |
Exception raises on invalid task registration | |
Task is removed correctly | |
Task unregistration | |
Helper method | |
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.
|
testContains(self)'in' keyword works properly |
testDeadlines(self)Deadlines are in the future |
testDeadlinesDoNotRepeat(self)Two simultaneous tasks do not share deadlines |
testGetInvalidTask(self)Exception is raised when getting invalid task |
testGetIterUpToNow(self)Iterating over queue returns only expired tasks |
testGetTask(self)Task is returned when requested |
testInvalidUnregister(self)Exception is raised on unregistering when id does not exist |
testQueueAttributes(self)Base attributes are sane |
testRegister(self)Task registration |
testRegisterInvalid(self)Exception raises on invalid task registration |
testTaskRemoved(self)Task is removed correctly |
testUnregister(self)Task unregistration |
_queueCallback(self, *args, **kwds)Helper method |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Dec 7 16:06:04 2003 | http://epydoc.sf.net |