Package apama :: Module runner :: Class ApamaRunner
[hide private]
[frames] | no frames]

Class ApamaRunner

source code

pysys.process.user.ProcessUser --+    
                                 |    
       pysys.baserunner.BaseRunner --+
                                     |
                                    ApamaRunner

Instance Methods [hide private]
 
__init__(self, record, purge, cycle, mode, threads, outsubdir, descriptors, xargs)
Override the constructor of the base class to create required output directory.
source code
 
setup(self)
Override the setup method of the base class to start a correlator.
source code
 
purgeDirectory(self, dir, delTop=False)
Recursively purge a directory removing all files and sub-directories.
source code

Inherited from pysys.baserunner.BaseRunner: cleanup, containerCallback, containerExceptionCallback, cycleComplete, handleKbrdInt, printSummary, setKeywordArgs, start, testComplete

Inherited from pysys.process.user.ProcessUser: __del__, __getattr__, getInstanceCount, signalProcess, startProcess, stopProcess, waitForFile, waitForSignal, waitForSocket, waitProcess, writeProcess

Instance Variables [hide private]

Inherited from pysys.baserunner.BaseRunner: log, mode, outsubdir, project

Inherited from pysys.process.user.ProcessUser: input, output

Method Details [hide private]

__init__(self, record, purge, cycle, mode, threads, outsubdir, descriptors, xargs)
(Constructor)

source code 

Override the constructor of the base class to create required output directory.

Parameters:
  • record - Indicates if the test results should be recorded
  • purge - Indicates if the output subdirectory should be purged on PASSED result
  • cycle - The number of times to execute the set of requested testcases
  • mode - The user defined mode to run the testcases in
  • threads - The number of worker threads to execute the requested testcases
  • outsubdir - The name of the output subdirectory
  • descriptors - List of XML descriptor containers detailing the set of testcases to be run
  • xargs - The dictionary of additional arguments to be set as data attributes to the class
Overrides: pysys.process.user.ProcessUser.__init__

setup(self)

source code 

Override the setup method of the base class to start a correlator.

Overrides: pysys.baserunner.BaseRunner.setup

purgeDirectory(self, dir, delTop=False)

source code 

Recursively purge a directory removing all files and sub-directories.

Parameters:
  • dir - The top level directory to be purged
  • delTop - Indicates if the top level directory should also be deleted