A E F I J M N P S T U

A

addError(Test, Throwable) - Method in class junitour.MyResultPrinter
added switch: checks type of given throwable: if it's an IncompleteError then adds test to the notimplemented tests, else calls super-method for normal handling.
addError(Test, Throwable) - Method in class junitour.TourTestResult
Adds an error to the list of errors.
addError(Test, Throwable) - Method in class junitour.UnitourResultFormatter
implementing interface TestListener Will be called, when an error occured while running any test
addError(Test, Throwable) - Method in class junitour.UnitourSummaryResultFormatter
 
addFailure(Test, AssertionFailedError) - Method in class junitour.MyResultPrinter
added switch: checks type of given throwable: if it's an IncompleteError then adds test to the notimplemented tests, else calls super-method for normal handling.
addFailure(Test, AssertionFailedError) - Method in class junitour.TourTestResult
 
addFailure(Test, Throwable) - Method in class junitour.UnitourResultFormatter
implementing interface TestListener Will be called, when the test failed
addFailure(Test, AssertionFailedError) - Method in class junitour.UnitourResultFormatter
implementing interface TestListener for JUnit > 3.4.
addFailure(Test, Throwable) - Method in class junitour.UnitourSummaryResultFormatter
 
addFailure(Test, AssertionFailedError) - Method in class junitour.UnitourSummaryResultFormatter
 
addIncompleteTest(Test, Throwable) - Method in class junitour.TourTestRunner
calls BaseTestRunner.testFailed(int, junit.framework.Test, Throwable) with state STATUS_INCOMPLETE.
addNotImplemented(Test, Throwable) - Method in class junitour.MyResultPrinter
logs an incomplete test by printing 'I'.
addUnitTestIncompleteListener(Test, Throwable) - Method in interface junitour.UnitTestIncompleteListener
 
allCompletlyImplemented() - Method in class junitour.TourTestResult
flag: true, if no incomplete test case occured

E

endTest(Test) - Method in class junitour.UnitourResultFormatter
Interface TestListener.
endTest(Test) - Method in class junitour.UnitourSummaryResultFormatter
 
endTestSuite(JUnitTest) - Method in class junitour.UnitourResultFormatter
The whole testsuite ended.
endTestSuite(JUnitTest) - Method in class junitour.UnitourSummaryResultFormatter
 

F

filterStack(String) - Method in class junitour.UnitourResultFormatter
Filters stack traces: removes internal JUnit and Maven classes
Just a copy of JUnitTestRunner.filterStack(String), but modified, to use UnitourResultFormatter.filterLineByJunitour(java.lang.String)
fNotImplemented - Variable in class junitour.TourTestResult
 

I

incompletesEnum() - Method in class junitour.TourTestResult
Returns an Enumeration for the incompletes
isTestIncompleteError(Throwable) - Static method in error junitour.UnitTestIncompleteError
 

J

junitour - package junitour
 

M

MyResultPrinter - Class in junitour
extension to ResultPrinter, just to
created: by hostlows, at 08.10.2003/ 18:46:11 $Log$ Revision 1.7 2005/08/21 21:26:55 hostlows added Java5 Annotations, more java-doc Revision 1.6 2005/07/31 03:01:13 hostlows just small typos an introducing a local variable Revision 1.5 2004/12/04 21:59:17 hostlows removed unused imports Revision 1.4 2004/07/08 01:47:50 hostlows cleanup, new build, license changed to mozilla license...
MyResultPrinter(PrintStream) - Constructor for class junitour.MyResultPrinter
 

N

notImplementedCount() - Method in class junitour.TourTestResult
Gets the number of detected failures.

P

printFooter(TourTestResult) - Method in class junitour.MyResultPrinter
 
printFooter(TestResult) - Method in class junitour.MyResultPrinter
 

S

set_output(OutputStream) - Method in class junitour.UnitourSummaryResultFormatter
 
setOutput(OutputStream) - Method in class junitour.UnitourResultFormatter
 
setOutput(OutputStream) - Method in class junitour.UnitourSummaryResultFormatter
 
setSystemError(String) - Method in class junitour.UnitourResultFormatter
 
setSystemError(String) - Method in class junitour.UnitourSummaryResultFormatter
 
setSystemOutput(String) - Method in class junitour.UnitourResultFormatter
 
setSystemOutput(String) - Method in class junitour.UnitourSummaryResultFormatter
 
setWith_outAndErr(boolean) - Method in class junitour.UnitourSummaryResultFormatter
 
startTest(Test) - Method in class junitour.UnitourResultFormatter
Interface TestListener.
startTest(Test) - Method in class junitour.UnitourSummaryResultFormatter
 
startTestSuite(JUnitTest) - Method in class junitour.UnitourResultFormatter
The whole testsuite started.
startTestSuite(JUnitTest) - Method in class junitour.UnitourSummaryResultFormatter
 
STATUS_INCOMPLETE - Static variable in class junitour.TourTestResult
 

T

TourTestResult - Class in junitour
Extension to TestResult:
It collects all incomplete Test cases:
On any failure or error of any test case it decides wether the failing assertion is a UnitTestIncompleteError.
TourTestResult() - Constructor for class junitour.TourTestResult
 
TourTestRunner - Class in junitour
Specialized TestRunner which handles the case of incomplete testcases: Implementing UnitTestIncompleteListener it 'marks' incomplete test cases as INCOMPLETE when calling the Resultlistener.
TourTestRunner() - Constructor for class junitour.TourTestRunner
 

U

UnitourResultFormatter - Class in junitour
Description: Ant - JunitResult Formatter, based on XMLJUnitResultFormatter from ant-optional tasks 1.5.3 $Log$ Revision 1.5 2005/07/31 03:16:04 hostlows using Java 5 generics for making code simpler: less casts, simpler for-loops Revision 1.4 2004/12/04 22:09:43 hostlows direct referencing instead of inheritance of interface XMLConstants, just for it's constants Revision 1.3 2004/12/04 22:00:22 hostlows javadoc enhancements: more comments, more details
UnitourResultFormatter() - Constructor for class junitour.UnitourResultFormatter
 
UnitourSummaryResultFormatter - Class in junitour
wrapper for SummaryJUnitResultFormatter which also handles the JUnitour - unittests in endTestSuite to show the incomplete test count.
UnitourSummaryResultFormatter() - Constructor for class junitour.UnitourSummaryResultFormatter
 
UnitTestIncomplete - Interface in junitour
A marker interface for marking any exception/error as result of an unit test as incomplete implementation or currently not implemnented.
UnitTestIncompleteError - Error in junitour
This Error is based on JUnits AssertionException which is thrown when any assert-check fails.
UnitTestIncompleteError() - Constructor for error junitour.UnitTestIncompleteError
default constructor
UnitTestIncompleteError(String) - Constructor for error junitour.UnitTestIncompleteError
 
UnitTestIncompleteError(String, Throwable) - Constructor for error junitour.UnitTestIncompleteError
 
UnitTestIncompleteError(Throwable) - Constructor for error junitour.UnitTestIncompleteError
 
UnitTestIncompleteListener - Interface in junitour
A listener for a "UnitTestIncomplete" event
.

A E F I J M N P S T U

Copyright © 2005-2007. All Rights Reserved.