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'.
  IsIdle(self)
Return true if the target is idle.
  _GetTemporaryDirectory(self)
Return the path to a temporary directory.

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

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

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


Class Variables [hide private]

Inherited from target.Target: arguments, group, kind, name

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: target.Target.__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)