|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jslint4java.ant.JUnitXmlResultFormatter
public class JUnitXmlResultFormatter
Output the result of a JSLint run as a JUnit XML file.
JUnitXmlFormatter| Constructor Summary | |
|---|---|
JUnitXmlResultFormatter()
|
|
| Method Summary | |
|---|---|
void |
begin()
Called at the start of JSLintTask execution. |
void |
end()
Called at the end of JSLintTask execution. |
void |
output(JSLintResult result)
Called for each file that is checked by JSLintTask. |
void |
setFile(File file)
Called during initialization. |
void |
setStdout(OutputStream defaultOutputStream)
If you want to write to stdout, you can't just use System.out, because we're in the middle of ant task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JUnitXmlResultFormatter()
| Method Detail |
|---|
public void begin()
ResultFormatterJSLintTask execution.
begin in interface ResultFormatterpublic void end()
ResultFormatterJSLintTask execution.
end in interface ResultFormatterpublic void output(JSLintResult result)
ResultFormatterJSLintTask.
output in interface ResultFormatterresult - The details if this JSLint run.public void setFile(File file)
ResultFormatter
setFile in interface ResultFormatterfile - The file to write to.public void setStdout(OutputStream defaultOutputStream)
ResultFormatter
setStdout in interface ResultFormatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||