Public Member Functions | |
def | __init__ |
def | get_distribution_list |
Private Member Functions | |
def | _create_distribution |
def | _create_met_case |
def | _create_run_case |
def | _create_basic_test |
Private Attributes | |
_xml_files | |
_distribution_list | |
Container for an entire test suite, initialised from an XML config file. A TestSuite object contains Distribution classes, which in turn will each contain MetCase, RunCase and BasicTest objects. A TestSuite object should have all of the information necessary for testing routines to do their thang.
Definition at line 29 of file TestSuite.py.
def distrotest.TestSuite.TestSuite.__init__ | ( | self, | |
xml_files = None |
|||
) |
Creates a list of Distribution objects from a list of xml_files. If only a single file is entered as an argument (which may often be the case), it is inserted into a list of one element. An XML file is read, and a Distribution object is manufactured from this
Definition at line 39 of file TestSuite.py.
|
private |
Creates and returns a BasicTest object based on the parsed XML tree parameters
Definition at line 205 of file TestSuite.py.
|
private |
Creates and returns a distribution object (e.g. FLEXPART-ECMWF (nested/not nested input), FLEXPART-GFS or FLEXPART-WRF) based on the parsed XML distribution tree
Definition at line 82 of file TestSuite.py.
|
private |
Creates and returns a MetCase object based on the parsed XML tree. This will read in the parameters for a MetCase object, as well as RunCase objects, if available. Otherwise, inserts an empty RunCase list
Definition at line 133 of file TestSuite.py.
|
private |
Creates and returns a RunCase object based on the parsed XML tree. This will read in the parameters for runcase objects, as well as BasicTest objects, if available. Otherwise, inserts and empty BasicTest list
Definition at line 168 of file TestSuite.py.
def distrotest.TestSuite.TestSuite.get_distribution_list | ( | self | ) |
Definition at line 79 of file TestSuite.py.
|
private |
Definition at line 60 of file TestSuite.py.
|
private |
Definition at line 50 of file TestSuite.py.