Ft.Lib.TestSuite.Tester

Modules

Terminfo  os  time   
linecache  spawn  traceback   
number  sys  types   

Classes

class TestItem
__init__(self, title)
__repr__(self)
debug(self, msg)
error(self, msg)
finish(self)
message(self, msg)
warning(self, msg)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Lib.TestSuite.Tester'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Tester
__init__(self, stopOnError=1, useColor=1, verbose=4, stream=<open file '<stdout>', mode 'w' at 0x100fe970>)
_diff(self, expected, compared)
_displayList(self, title, color, list)
compare(self, expected, actual, msg=None, func=<built-in function cmp>, diff=0, stackLevel=1, funcArgs={})
compareIn(self, expected, actual, msg=None, stackLevel=1)
debug(self, msg)
error(self, msg, traceLimit=1, stackLevel=1)
exception(self, msg)
groupDone(self)
message(self, msg)
report(self)
startGroup(self, title)
startTest(self, title)
testDone(self)
testException(self, func, args, etype, value={}, stackLevel=1, kwargs={})
warning(self, msg)
writeline(self, level, msg)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Lib.TestSuite.Tester'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
double_sep = '========================================================================'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
single_sep = '------------------------------------------------------------------------'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

_frame_lineno(frame)
_getframe(...)
_getframe([depth]) -> frameobject

Return a frame object from the call stack. If optional integer depth is
given, return the frame object that many calls below the top of the stack.
If that is deeper than the call stack, ValueError is raised. The default
for depth is zero, returning the frame at the top of the call stack.

This function should be used for internal and specialized
purposes only.
extract_stack(frame=None, limit=None)
format_stack(frame=None, limit=None)

Data

SHOW_GROUPS = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SHOW_TESTS = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VERBOSE_DEBUG = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VERBOSE_ERROR = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VERBOSE_MSG = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VERBOSE_OFF = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VERBOSE_WARN = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Lib/TestSuite/Tester.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Lib.TestSuite.Tester'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__revision__ = '$Id: Tester.py,v 1.11 2004/04/12 14:34:35 mbrown Exp $'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_group_headers = ['#', '*', '=', ':', '%', '+', '-', '@', '$', '&']