Package dtest :: Module dtester :: Class DTester
[show private | hide private]
[frames | no frames]

Type DTester

object --+        
         |        
  _Verbose --+    
             |    
        Thread --+
                 |
                DTester


Represents an elementary DTest stakeholder.

DTest falls into (eventually) communicating and concurrent processes, the DTesters, which will be runned concurrently by a DTestMaster. A DTester contains sequential steps (either initialize or run steps) specified through addInitializeStep and/or addRunStep DTester method. FIXME: describe DTESTMASTER
Method Summary
  __init__(self, name, session, timeout)
  addInitializeStep(self, stepmethod, *args, **kwargs)
  addRunStep(self, stepmethod, *args, **kwargs)
  barrier(self, barrierId, timeout)
  createExpectTimer(self, timeout, msg)
  expectFromCommand(self, pattern, timeout)
  expectTimedOut(self, msg)
  initialize(self)
  isbound(cls, function)
(Class method)
  isfunction_or_unboundmethod(cls, function)
(Class method)
  ok(self, *args, **kwargs)
  registerForBarrier(self, barrierId)
  run(self)
  runCommand(self, command, environ)
  sendToCommand(self, string)
  terminateCommand(self)
  waitCommandTermination(self, timeout)
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  join(self, timeout)
  setDaemon(self, daemonic)
  setName(self, name)
  start(self)
  _set_daemon(self)
    Inherited from _Verbose
  _note(self, format, *args)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
Formatter fmt = <logging.Formatter instance at 0xb7c4e28c>
classobj InvalidStepFunction = dtest.dtester.InvalidStepFunction
Logger logger = <logging.Logger instance at 0xb7c4e32c>
classobj NoRunningCommand = dtest.dtester.NoRunningCommand
classobj SessionUnableToRunCommand = dtest.dtester.SessionUnableToRunCommand
StreamHandler sh = <logging.StreamHandler instance at 0xb7c4e2ec>
classobj StepFailed = dtest.dtester.StepFailed
classobj StepFirstArgNotDTesterNorSelf = dtest.dtester.StepFirstArgNotDTesterNorSelf
classobj StepNotCallable = dtest.dtester.StepNotCallable
    Inherited from Thread
bool _Thread__initialized = False

Class Variable Details

fmt

Type:
Formatter
Value:
<logging.Formatter instance at 0xb7c4e28c>                             

logger

Type:
Logger
Value:
<logging.Logger instance at 0xb7c4e32c>                                

sh

Type:
StreamHandler
Value:
<logging.StreamHandler instance at 0xb7c4e2ec>                         

Generated by Epydoc 2.1 on Mon Jun 11 13:18:47 2007 http://epydoc.sf.net