|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.io.PrintStream utfx.printers.ResultPrinter utfx.printers.XMLResultPrinter
public class XMLResultPrinter
XML Result Printer.
Copyright © 2004 - University of Southern Queensland.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
$Source: /cvs/utf-x/framework/src/java/utfx/printers/XMLResultPrinter.java,v $
Field Summary |
---|
Fields inherited from class utfx.printers.ResultPrinter |
---|
indentString, log, suiteDepth, testCaseCount |
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
XMLResultPrinter(java.io.OutputStream os)
Create a new XML result printer. |
Method Summary | |
---|---|
void |
addError(junit.framework.Test test,
java.lang.Throwable t)
Nothing to do here. |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
Nothing to do here. |
void |
close()
This method is called after all result printing has been completed. |
void |
endTestCase(junit.framework.TestCase testCase)
End of a test case. |
void |
endTestSuite(junit.framework.TestSuite suite)
End of a test suite. |
void |
printErrors(junit.framework.TestResult result)
Print the errors. |
void |
printFailures(junit.framework.TestResult result)
Print a list of tests that failed. |
void |
printFooter(junit.framework.TestResult result)
End of the regression test. |
void |
printHeader(junit.framework.TestResult result)
Print summary header. |
void |
printSummary(junit.framework.TestResult result)
Print the result summary. |
void |
start()
Start of the regression test. |
void |
startTestCase(junit.framework.TestCase testCase)
Start of a test case. |
void |
startTestSuite(junit.framework.TestSuite suite)
Start of a test suite. |
Methods inherited from class utfx.printers.ResultPrinter |
---|
endTest, getIndent, printElapsedTimeMillis, printIndent, setIndentString, startTest |
Methods inherited from class java.io.PrintStream |
---|
append, append, append, checkError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write |
Methods inherited from class java.io.FilterOutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLResultPrinter(java.io.OutputStream os)
Method Detail |
---|
public void start()
start
in class ResultPrinter
public void close()
close
in interface java.io.Closeable
close
in class java.io.PrintStream
public void printSummary(junit.framework.TestResult result)
printSummary
in class ResultPrinter
result
- test resultpublic void printHeader(junit.framework.TestResult result)
printHeader
in class ResultPrinter
public void printFooter(junit.framework.TestResult result)
printFooter
in class ResultPrinter
public void printFailures(junit.framework.TestResult result)
printFailures
in class ResultPrinter
result
- result of the testpublic void printErrors(junit.framework.TestResult result)
printErrors
in class ResultPrinter
result
- result of the testpublic void addError(junit.framework.Test test, java.lang.Throwable t)
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
public void startTestCase(junit.framework.TestCase testCase)
ResultPrinter
startTestCase
in class ResultPrinter
testCase
- the TestSuite we are entering.TestListener.startTest(Test)
public void endTestCase(junit.framework.TestCase testCase)
ResultPrinter
endTestCase
in class ResultPrinter
TestListener.endTest(Test)
public void startTestSuite(junit.framework.TestSuite suite)
startTestSuite
in class ResultPrinter
suite
- the TestSuite we are entering.public void endTestSuite(junit.framework.TestSuite suite)
endTestSuite
in class ResultPrinter
suite
- the test suite we are leaving
|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |