qualification::test::SubTest Class Reference

Qualification Subtest. More...

List of all members.

Public Member Functions

def __init__
def get_key
 Returns subtest key to allow subtests to load in order.
def get_name
def get_timeout
def validate
 Check that key exists, launch files exist and are ".launch" files.

Private Attributes

 _key
 _name
 _post_script
 _pre_script
 _test_script
 _timeout

Detailed Description

Qualification Subtest.

Each subtest has a main launch file and may have pre- and post- startup scripts. All launch files are stored with their complete paths

Parameters:
subtest str: Launch file of subtest
key int : Allows the subtests to load in order, lowest key first
pre_test str (optional): Launch file for pre-subtest script
post_test str (optional): Launch file for post-subtest script
name str (optional): Human readable name of subtest

Definition at line 57 of file test.py.


Member Function Documentation

def qualification::test::SubTest::__init__ (   self,
  subtest,
  key,
  name,
  timeout = -1,
  pre_test = None,
  post_test = None 
)

Definition at line 58 of file test.py.

def qualification::test::SubTest::get_key (   self  ) 

Returns subtest key to allow subtests to load in order.

Definition at line 108 of file test.py.

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

Definition at line 114 of file test.py.

def qualification::test::SubTest::get_timeout (   self  ) 

Definition at line 111 of file test.py.

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

Check that key exists, launch files exist and are ".launch" files.

Definition at line 67 of file test.py.


Member Data Documentation

Definition at line 63 of file test.py.

Definition at line 62 of file test.py.

Definition at line 61 of file test.py.

Definition at line 60 of file test.py.

Definition at line 59 of file test.py.

Definition at line 64 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