Package FuzzManager :: Package FTB :: Module ProgramConfiguration :: Class ProgramConfiguration
[hide private]
[frames] | no frames]

Class ProgramConfiguration

source code

Instance Methods [hide private]
 
__init__(self, product, platform, os, version=None, env=None, args=None, metadata=None) source code
 
addEnvironmentVariables(self, env)
Add (additional) environment variable definitions.
source code
 
addProgramArguments(self, args)
Add (additional) program arguments.
source code
 
addMetadata(self, metadata)
Add (additional) metadata definitions.
source code
Static Methods [hide private]
 
fromBinary(binaryPath) source code
Method Details [hide private]

__init__(self, product, platform, os, version=None, env=None, args=None, metadata=None)
(Constructor)

source code 
Parameters:
  • product (string) - The name of the product/program/branch tested
  • platform (string) - Platform on which is tested (e.g. x86, x86-64 or arm)
  • os (string) - Operating system on which is tested (e.g. linux, windows, macosx)

addEnvironmentVariables(self, env)

source code 

Add (additional) environment variable definitions. Existing definitions will be overwritten if they are redefined in the given environment.

Parameters:
  • env (dict) - Dictionary containing the environment variables

addProgramArguments(self, args)

source code 

Add (additional) program arguments.

Parameters:
  • args (list) - List containing the program arguments

addMetadata(self, metadata)

source code 

Add (additional) metadata definitions. Existing definitions will be overwritten if they are redefined in the given metadata.

Parameters:
  • metadata (dict) - Dictionary containing the metadata