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)
Create a DTester using the specified session handler. |
| |
addInitializeStep(self,
stepmethod,
*args,
**kwargs)
|
| |
addRunStep(self,
stepmethod,
*args,
**kwargs)
|
| |
barrier(self,
barrierId,
timeout)
wait until every stakeholder have reached the specified barrier. |
| |
expectFromCommand(self,
pattern,
timeout)
|
| |
getFile(self,
srcPath,
dstPath)
|
| |
initialize(self)
|
| |
ok(self,
*args,
**kwargs)
ok TAP method. |
| |
putFile(self,
srcPath,
dstPath)
|
| |
registerForBarrier(self,
barrierId)
register for DTest barrier barrierId in the DTestMaster. |
| |
run(self)
|
| |
runCommand(self,
command,
environ)
|
| |
sendToCommand(self,
string)
|
| |
terminateCommand(self)
|
| |
waitCommandTermination(self,
timeout)
|
| |
waitDuring(self,
duration)
|
| Inherited from Thread |
| |
__repr__(self)
|
| |
getName(self)
|
| |
isAlive(self)
|
| |
isDaemon(self)
|
| |
join(self,
timeout)
|
| |
setDaemon(self,
daemonic)
|
| |
setName(self,
name)
|
| |
start(self)
|
| 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) |