Package qm :: Package test :: Package classes :: Module serial_target :: Class SerialTarget
[hide private]
[frames] | no frames]

Class SerialTarget

source code

         object --+        
                  |        
extension.Extension --+    
                      |    
          target.Target --+
                          |
                         SerialTarget

A target that runs tests in serial on the local machine.

Nested Classes [hide private]

Inherited from extension.Extension: Type, __metaclass__

Instance Methods [hide private]
 
__init__(self, database, properties)
Construct a 'Target'.
source code
 
IsIdle(self)
Return true if the target is idle.
source code
 
_GetTemporaryDirectory(self)
Return the path to a temporary directory.
source code

Inherited from target.Target: GetDatabase, GetGroup, GetName, IsInGroup, RunTest, Start, Stop

Inherited from target.Target (private): _BeginResourceSetUp, _CleanUpResource, _FinishResourceSetUp, _RecordResult, _SetUpResource

Inherited from extension.Extension: GetClassName, GetExplicitArguments, MakeDomDocument, MakeDomElement, Write, __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from target.Target: arguments, kind

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, database, properties)
(Constructor)

source code 

Construct a 'Target'.

'database' -- The 'Database' containing the tests that will be run.

'arguments' -- As for 'Extension.__init__'.

'args' -- As for 'Extension.__init__'.

Overrides: object.__init__
(inherited documentation)

IsIdle(self)

source code 

Return true if the target is idle.

returns -- True if the target is idle. If the target is idle, additional tasks may be assigned to it.

Overrides: target.Target.IsIdle

_GetTemporaryDirectory(self)

source code 

Return the path to a temporary directory.

returns -- The path to a temporary directory to pass along to tests and resources via the 'TMPDIR_CONTEXT_PROPERTY'.

Overrides: target.Target._GetTemporaryDirectory
(inherited documentation)