org.gusdb.wdk.model.test
Interface SanityElementI

All Known Implementing Classes:
SanityQuery, SanityQuestion, SanityRecord, SanityXmlQuestion

public interface SanityElementI

SanityElementI.java Elements to be tested as part of a sanity test. More of a convenience interface than anything else. Created: Mon August 23 12:00:00 2004 EDT


Method Summary
 java.lang.String getCommand(java.lang.String globalArgs)
          Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously.
 java.lang.String getName()
          Return the name of this element.
 java.lang.String getType()
          Return the general type of this element (for instance, "query" or "record".
 

Method Detail

getCommand

java.lang.String getCommand(java.lang.String globalArgs)
                            throws WdkModelException
Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously. This command is usually printed when a sanity test has failed.

Parameters:
globalArgs - Arguments not specific to the Element itself; basically anything in the Sanity test that was required to run all elements.
Throws:
WdkModelException

getName

java.lang.String getName()
Return the name of this element.


getType

java.lang.String getType()
Return the general type of this element (for instance, "query" or "record".