|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.apache.commons.latka.Latka
This is the primary class for executing Latka functional tests. The main(String aargs[]) class provides a convenient command-line interface for executing single tests. See the Latka documentation for details on command-line usage. There is also a webapp-based Latka interface.
Suite,
LatkaProperties| Constructor Summary | |
Latka()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Execute a single test suite via the command line interface. |
void |
runTests(Suite suite,
LatkaEventInfo listener)
Execute a single Latka test suite. |
void |
setReportStylesheet(java.net.URL url)
|
void |
setValidating(boolean isValidating)
Set whether or not Latka will validate the XML in each test. |
java.lang.String |
transformXML(java.lang.String xml)
Transform the XML generated by the XMLReporter using the default stylesheet. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Latka()
| Method Detail |
public static void main(java.lang.String[] args)
args - arguments containing the test suite location
and any properties or property file references
public void runTests(Suite suite,
LatkaEventInfo listener)
throws LatkaException
suite - test suite to executelistener - target for test events
LatkaExceptionXML-based implementation of LatkaEventInfopublic void setReportStylesheet(java.net.URL url)
public void setValidating(boolean isValidating)
isValidating - whether or not to validate XML
public java.lang.String transformXML(java.lang.String xml)
throws LatkaException
xml - XML generated by XMLReporter
LatkaException - if the XML could not be transformed
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||