|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object raccoon.core.uitest.report.RaccoonGenerator
public class RaccoonGenerator
Generates a very simple xml report. TODO This is a quick 'n dirty implementation, it should be cleaned up. With Castor?
Constructor Summary | |
---|---|
RaccoonGenerator()
Default constructor, required for dynamic instanciation. |
Method Summary | |
---|---|
void |
generateXmlReport(IUnitSuiteResult pSuiteResult,
java.lang.String pOutputFile)
Generates the XML Report from the result of the unit suite. |
int |
getIndentation()
Retrieves the number of spaces used for the XML indentation. |
void |
setIndentation(int pIndentation)
Defines the number of spaces to use for the XML indentation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RaccoonGenerator()
Method Detail |
---|
public int getIndentation()
4
if using default.public void setIndentation(int pIndentation) throws java.lang.IllegalArgumentException
pIndentation
- the number of spaces when indenting the XML string.
java.lang.IllegalArgumentException
- if the indentation isn't greater than 0public void generateXmlReport(IUnitSuiteResult pSuiteResult, java.lang.String pOutputFile) throws RaccoonException
pSuiteResult
- the suite result, post execution of the test.pOutputFile
- the file that is to receive the generated report.
RaccoonException
- if the generation fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |