Package ats3 :: Module dropgenerator :: Class Ats3TestDropGenerator
[hide private]
[frames] | no frames]

Class Ats3TestDropGenerator

source code

object --+
         |
        Ats3TestDropGenerator

Generate test drop zip file for ATS3.

Generates drom zip files file from a TestPlan instance. The main responsibility of this class is to serialize the plan into a valid XML file and build a zip file for the drop.

Creates one <set> for each component's tests.

Stif harness, normal operation

Stif harness, SIS package installation



Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
generate(self, test_plan, output_file, config_file=None)
Generate a test drop file.
source code
 
generate_drop(self, test_plan, xml, output_file)
Generate test drop zip file.
source code
 
generate_xml(self, test_plan)
Generate test drop XML.
source code
 
generate_plan(self, test_plan)
Generate the test <plan> with multiple <set>s.
source code
 
generate_steps_logdir(self, setd, case)
generates STIF log dir.
source code
 
generate_steps_engineini(self, setd, case)
Engine ini install ( if one exists )
source code
 
generate_steps_sisfiles(self, setd, case, test_plan)
generating steps for sis files
source code
 
generate_steps_tracestart(self, setd, case, pmds)
Tracing steps are added (Trace Start)
source code
 
generate_steps_createstep(self, setd, case, test_plan)
generates core steps for a single set
source code
 
generate_steps_tracestop(self, setd, case, pmds)
Tracing steps are added (Trace Stop)
source code
 
generate_steps_ctcdata(self, setd, case, test_plan)
generates steps for installing CTC data
source code
 
generate_steps_logfetching(self, setd, case)
generates steps for fetching log file
source code
 
generate_steps(self, setd, case, test_plan)
Generate the test plan <step>s.
source code
 
generate_runsteps_stif(self, setd, case, src_dst, time_out)
generates runsteps for stif
source code
 
generate_runsteps_eunit(self, setd, case, src_dst, time_out, eunit_flags)
generates runsteps for eunit
source code
 
generate_run_steps(self, case, setd, time_out, eunit_flags)
Generates run-steps
source code
 
generate_install_step(self, case, step_type, filename, src_dir, dst_dir, case_harness, src_dst=None)
Generate install <step>.
source code
 
drop_files(self, test_plan)
Yield a list of drop files.
source code
 
generate_files(self, test_plan)
Generate the <files> section.
source code

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

Class Variables [hide private]
  STIF_LOG_DIR = r"c:"+ os.sep+ "logs"+ os.sep+ "testframework"
  STIFUNIT_LOG_DIR = r"c:"+ os.sep+ "logs"+ os.sep+ "testframework"
  EUNIT_LOG_DIR = r"c:"+ os.sep+ "Shared"+ os.sep+ "EUnit"+ os.s...
  CTC_LOG_DIR = r"c:"+ os.sep+ "data"+ os.sep+ "ctc"
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

EUNIT_LOG_DIR

Value:
r"c:"+ os.sep+ "Shared"+ os.sep+ "EUnit"+ os.sep+ "logs"