Package TestON :: Package core :: Module teston
[hide private]
[frames] | no frames]

Module teston

source code

Created on 22-Oct-2012


Author: Anil Kumar (anilkumar.s@paxterrasolutions.com)

teston is the main module.

Classes [hide private]
  TestON
TestON will initiate the specified test.
Functions [hide private]
 
verifyOptions(options)
This will verify the command line options and set to default values, if any option not given in command line.
source code
 
verifyTest(options) source code
 
verifyExample(options) source code
 
verifyLogdir(options) source code
 
verifyMail(options) source code
 
verifyTestCases(options) source code
 
verifyTestScript(options)
Verifyies test script.
source code
 
verifyParams() source code
 
load_parser()
It facilitates the loading customised parser for topology and params file.
source code
 
load_defaultParser()
It will load the default parser which is xml parser to parse the params and topology file.
source code
 
load_logger()
It facilitates the loading customised parser for topology and params file.
source code
 
load_defaultlogger()
It will load the default parser which is xml parser to parse the params and topology file.
source code
 
_echo(self) source code
Variables [hide private]
  module = new.module("test")
  path = re.sub("(core|bin)$", "", os.getcwd())
  drivers_path = path+ "drivers/"
  core_path = path+ "core"
  tests_path = path+ "tests"
  logs_path = path+ "logs/"
  config_path = path+ "config/"
Function Details [hide private]

load_parser()

source code 

It facilitates the loading customised parser for topology and params file. It loads parser mentioned in tab named parser of ofa.cfg file. It also loads default xmlparser if no parser have specified in ofa.cfg file.

load_logger()

source code 

It facilitates the loading customised parser for topology and params file. It loads parser mentioned in tab named parser of ofa.cfg file. It also loads default xmlparser if no parser have specified in ofa.cfg file.