test.collect.Item API [rev. 38799]

class Item(test.collect.Collector):

*no docstring available*

class attributes and properties:

Class: <property object (dynamically calculated value)>
Directory: <property object (dynamically calculated value)>
DoctestFile: <property object (dynamically calculated value)>
Function: <property object (dynamically calculated value)>
Generator: <property object (dynamically calculated value)>
Instance: <property object (dynamically calculated value)>
Module: <property object (dynamically calculated value)>
obj: <property object (dynamically calculated value)>

methods:

def __init__(self, name, parent=None):

*no docstring available*

def finishcapture(self):

*no docstring available*

def join(self, name):

return a child item for the given name. Usually the session feeds the join method with each name obtained from ``colitem.run()``. If the return value is None it means the ``colitem`` was not able to resolve with the given name.

def listchain(self):

return list of all parent collectors up to ourself.

def listnames(self):

*no docstring available*

def multijoin(self, namelist):

return a list of colitems for the given namelist.

def run(self):

returns a list of names available from this collector. You can return an empty list. Callers of this method must take care to catch exceptions properly. The session object guards its calls to ``colitem.run()`` in its ``session.runtraced(colitem)`` method, including catching of stdout.

def setup(self):

*no docstring available*

def startcapture(self):

*no docstring available*

def teardown(self):

*no docstring available*

def __cmp__(self, other):

*no docstring available*

def __eq__(self, other):

*no docstring available*

def __hash__(self):

*no docstring available*

def __ne__(self, other):

*no docstring available*

def __repr__(self):

*no docstring available*