qualification::test::Test Class Reference

Qualification test to run. More...

List of all members.

Public Member Functions

def __init__
def check_assembly
def get_name
def getInstructionsFile
 Full path to instructions file.
def getName
 Name or basename or startup script.
def getShutdownScript
 Full path to shutdown script.
def getStartupScript
 Full path to startup script.
def instructions_file
def load
 Loads qual test from and XML string.
def name
def part_number
def shutdown_script
def startup_script
def testid
def validate
 Check that all prestartups, subtests, instructions, etc are real files.

Public Attributes

 debug_ok
 pre_startup_scripts
 subtests

Private Attributes

 _check_assembly
 _id
 _instructions_file
 _name
 _part
 _shutdown_script
 _startup_script

Detailed Description

Qualification test to run.

Holds instructions, subtests, pre_startup scripts, etc.

Definition at line 163 of file test.py.


Member Function Documentation

def qualification::test::Test::__init__ (   self,
  name,
  part = '' 
)

Definition at line 164 of file test.py.

def qualification::test::Test::check_assembly (   self  ) 

Definition at line 369 of file test.py.

def qualification::test::Test::get_name (   self  ) 

Definition at line 341 of file test.py.

def qualification::test::Test::getInstructionsFile (   self  ) 

Full path to instructions file.

Definition at line 362 of file test.py.

def qualification::test::Test::getName (   self  ) 

Name or basename or startup script.

Todo:
Change functions names to Python style or properties

Definition at line 337 of file test.py.

def qualification::test::Test::getShutdownScript (   self  ) 

Full path to shutdown script.

Definition at line 355 of file test.py.

def qualification::test::Test::getStartupScript (   self  ) 

Full path to startup script.

Definition at line 348 of file test.py.

def qualification::test::Test::instructions_file (   self  ) 

Definition at line 366 of file test.py.

def qualification::test::Test::load (   self,
  test_str,
  test_dir 
)

Loads qual test from and XML string.

Parameters:
test_str,: XML file to load, as string
test_dir,: Base directory of test, appended to qual tests
Returns:
True if load succeeded

Definition at line 236 of file test.py.

def qualification::test::Test::name (   self  ) 

Definition at line 345 of file test.py.

def qualification::test::Test::part_number (   self  ) 

Definition at line 375 of file test.py.

def qualification::test::Test::shutdown_script (   self  ) 

Definition at line 359 of file test.py.

def qualification::test::Test::startup_script (   self  ) 

Definition at line 352 of file test.py.

def qualification::test::Test::testid (   self  ) 

Definition at line 372 of file test.py.

def qualification::test::Test::validate (   self  ) 

Check that all prestartups, subtests, instructions, etc are real files.

This does not do any kind of parsing of the files themselves. It only checks that they exist, and that all files are ".launch" files. Instructions files must be ".html" files. Checks that test is named.

Returns:
True if Test is valid.

Definition at line 184 of file test.py.


Member Data Documentation

Definition at line 173 of file test.py.

Definition at line 176 of file test.py.

Definition at line 169 of file test.py.

Definition at line 165 of file test.py.

Definition at line 166 of file test.py.

Definition at line 168 of file test.py.

Definition at line 167 of file test.py.

Definition at line 174 of file test.py.

Definition at line 170 of file test.py.

Definition at line 171 of file test.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


qualification
Author(s): Kevin Watts (watts@willowgarage.com), Josh Faust (jfaust@willowgarage.com)
autogenerated on Fri Jan 11 09:39:15 2013