source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 23.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:28 NZST 2007 -->
6<TITLE>
7BriefJUnitResultFormatter (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="BriefJUnitResultFormatter (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BatchTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="BriefJUnitResultFormatter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.taskdefs.optional.junit</FONT>
85<BR>
86Class BriefJUnitResultFormatter</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></DD>
93</DL>
94<HR>
95<DL>
96<DT>public class <B>BriefJUnitResultFormatter</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></DL>
97
98<P>
99Prints plain text output of the test to a specified Writer.
100 Inspired by the PlainJUnitResultFormatter.
101<P>
102
103<P>
104<DL>
105<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><CODE>FormatterElement</CODE></A>,
106<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><CODE>PlainJUnitResultFormatter</CODE></A></DL>
107<HR>
108
109<P>
110<!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113<!-- =========== FIELD SUMMARY =========== -->
114
115
116<!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
118<A NAME="constructor_summary"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121<TD COLSPAN=2><FONT SIZE="+2">
122<B>Constructor Summary</B></FONT></TD>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#BriefJUnitResultFormatter()">BriefJUnitResultFormatter</A></B>()</CODE>
126
127<BR>
128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for BriefJUnitResultFormatter.</TD>
129</TR>
130</TABLE>
131&nbsp;
132<!-- ========== METHOD SUMMARY =========== -->
133
134<A NAME="method_summary"><!-- --></A>
135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137<TD COLSPAN=2><FONT SIZE="+2">
138<B>Method Summary</B></FONT></TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>&nbsp;void</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#addError(Test, java.lang.Throwable)">addError</A></B>(Test&nbsp;test,
144 java.lang.Throwable&nbsp;error)</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A test caused an error.</TD>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>&nbsp;void</CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#addFailure(Test, java.lang.Throwable)">addFailure</A></B>(Test&nbsp;test,
153 java.lang.Throwable&nbsp;t)</CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interface TestListener for JUnit &lt;= 3.4.</TD>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160<CODE>&nbsp;void</CODE></FONT></TD>
161<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#endTest(Test)">endTest</A></B>(Test&nbsp;test)</CODE>
162
163<BR>
164&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A test ended.</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>&nbsp;void</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)">endTestSuite</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">JUnitTest</A>&nbsp;suite)</CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The whole testsuite ended.</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>protected &nbsp;void</CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#formatError(java.lang.String, Test, java.lang.Throwable)">formatError</A></B>(java.lang.String&nbsp;type,
178 Test&nbsp;test,
179 java.lang.Throwable&nbsp;error)</CODE>
180
181<BR>
182&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format an error and print it.</TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#formatTest(Test)">formatTest</A></B>(Test&nbsp;test)</CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format the test for printing..</TD>
191</TR>
192<TR BGCOLOR="white" CLASS="TableRowColor">
193<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194<CODE>&nbsp;void</CODE></FONT></TD>
195<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#setOutput(java.io.OutputStream)">setOutput</A></B>(java.io.OutputStream&nbsp;out)</CODE>
196
197<BR>
198&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the stream the formatter is supposed to write its results to.</TD>
199</TR>
200<TR BGCOLOR="white" CLASS="TableRowColor">
201<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202<CODE>&nbsp;void</CODE></FONT></TD>
203<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#setSystemError(java.lang.String)">setSystemError</A></B>(java.lang.String&nbsp;err)</CODE>
204
205<BR>
206&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is what the test has written to System.err</TD>
207</TR>
208<TR BGCOLOR="white" CLASS="TableRowColor">
209<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210<CODE>&nbsp;void</CODE></FONT></TD>
211<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#setSystemOutput(java.lang.String)">setSystemOutput</A></B>(java.lang.String&nbsp;out)</CODE>
212
213<BR>
214&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is what the test has written to System.out</TD>
215</TR>
216<TR BGCOLOR="white" CLASS="TableRowColor">
217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218<CODE>&nbsp;void</CODE></FONT></TD>
219<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#startTest(Test)">startTest</A></B>(Test&nbsp;test)</CODE>
220
221<BR>
222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A test started.</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>&nbsp;void</CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html#startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)">startTestSuite</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">JUnitTest</A>&nbsp;suite)</CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The whole testsuite started.</TD>
231</TR>
232</TABLE>
233&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
234<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
235<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
236<TD><B>Methods inherited from class java.lang.Object</B></TD>
237</TR>
238<TR BGCOLOR="white" CLASS="TableRowColor">
239<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
240</TR>
241</TABLE>
242&nbsp;
243<P>
244
245<!-- ============ FIELD DETAIL =========== -->
246
247
248<!-- ========= CONSTRUCTOR DETAIL ======== -->
249
250<A NAME="constructor_detail"><!-- --></A>
251<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
253<TD COLSPAN=1><FONT SIZE="+2">
254<B>Constructor Detail</B></FONT></TD>
255</TR>
256</TABLE>
257
258<A NAME="BriefJUnitResultFormatter()"><!-- --></A><H3>
259BriefJUnitResultFormatter</H3>
260<PRE>
261public <B>BriefJUnitResultFormatter</B>()</PRE>
262<DL>
263<DD>Constructor for BriefJUnitResultFormatter.
264<P>
265</DL>
266
267<!-- ============ METHOD DETAIL ========== -->
268
269<A NAME="method_detail"><!-- --></A>
270<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
271<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
272<TD COLSPAN=1><FONT SIZE="+2">
273<B>Method Detail</B></FONT></TD>
274</TR>
275</TABLE>
276
277<A NAME="setOutput(java.io.OutputStream)"><!-- --></A><H3>
278setOutput</H3>
279<PRE>
280public void <B>setOutput</B>(java.io.OutputStream&nbsp;out)</PRE>
281<DL>
282<DD>Sets the stream the formatter is supposed to write its results to.
283<P>
284<DD><DL>
285<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setOutput(java.io.OutputStream)">setOutput</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></DL>
286</DD>
287<DD><DL>
288<DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream to write to</DL>
289</DD>
290</DL>
291<HR>
292
293<A NAME="setSystemOutput(java.lang.String)"><!-- --></A><H3>
294setSystemOutput</H3>
295<PRE>
296public void <B>setSystemOutput</B>(java.lang.String&nbsp;out)</PRE>
297<DL>
298<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></B></DD>
299<DD>This is what the test has written to System.out
300<P>
301<DD><DL>
302<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemOutput(java.lang.String)">setSystemOutput</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></DL>
303</DD>
304<DD><DL>
305<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemOutput(java.lang.String)"><CODE>JUnitResultFormatter.setSystemOutput(String)</CODE></A></DL>
306</DD>
307</DL>
308<HR>
309
310<A NAME="setSystemError(java.lang.String)"><!-- --></A><H3>
311setSystemError</H3>
312<PRE>
313public void <B>setSystemError</B>(java.lang.String&nbsp;err)</PRE>
314<DL>
315<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></B></DD>
316<DD>This is what the test has written to System.err
317<P>
318<DD><DL>
319<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemError(java.lang.String)">setSystemError</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></DL>
320</DD>
321<DD><DL>
322<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemError(java.lang.String)"><CODE>JUnitResultFormatter.setSystemError(String)</CODE></A></DL>
323</DD>
324</DL>
325<HR>
326
327<A NAME="startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)"><!-- --></A><H3>
328startTestSuite</H3>
329<PRE>
330public void <B>startTestSuite</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">JUnitTest</A>&nbsp;suite)
331 throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
332<DL>
333<DD>The whole testsuite started.
334<P>
335<DD><DL>
336<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)">startTestSuite</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></DL>
337</DD>
338<DD><DL>
339
340<DT><B>Throws:</B>
341<DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
342</DD>
343</DL>
344<HR>
345
346<A NAME="endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)"><!-- --></A><H3>
347endTestSuite</H3>
348<PRE>
349public void <B>endTestSuite</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">JUnitTest</A>&nbsp;suite)
350 throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
351<DL>
352<DD>The whole testsuite ended.
353<P>
354<DD><DL>
355<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)">endTestSuite</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit">JUnitResultFormatter</A></CODE></DL>
356</DD>
357<DD><DL>
358
359<DT><B>Throws:</B>
360<DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
361</DD>
362</DL>
363<HR>
364
365<A NAME="startTest(Test)"><!-- --></A><H3>
366startTest</H3>
367<PRE>
368public void <B>startTest</B>(Test&nbsp;test)</PRE>
369<DL>
370<DD>A test started.
371<P>
372<DD><DL>
373</DL>
374</DD>
375<DD><DL>
376<DT><B>Parameters:</B><DD><CODE>test</CODE> - a test</DL>
377</DD>
378</DL>
379<HR>
380
381<A NAME="endTest(Test)"><!-- --></A><H3>
382endTest</H3>
383<PRE>
384public void <B>endTest</B>(Test&nbsp;test)</PRE>
385<DL>
386<DD>A test ended.
387<P>
388<DD><DL>
389</DL>
390</DD>
391<DD><DL>
392<DT><B>Parameters:</B><DD><CODE>test</CODE> - a test</DL>
393</DD>
394</DL>
395<HR>
396
397<A NAME="addFailure(Test, java.lang.Throwable)"><!-- --></A><H3>
398addFailure</H3>
399<PRE>
400public void <B>addFailure</B>(Test&nbsp;test,
401 java.lang.Throwable&nbsp;t)</PRE>
402<DL>
403<DD>Interface TestListener for JUnit &lt;= 3.4.
404
405 <p>A Test failed.
406<P>
407<DD><DL>
408</DL>
409</DD>
410<DD><DL>
411<DT><B>Parameters:</B><DD><CODE>test</CODE> - a test<DD><CODE>t</CODE> - the exception thrown by the test</DL>
412</DD>
413</DL>
414<HR>
415
416<A NAME="addError(Test, java.lang.Throwable)"><!-- --></A><H3>
417addError</H3>
418<PRE>
419public void <B>addError</B>(Test&nbsp;test,
420 java.lang.Throwable&nbsp;error)</PRE>
421<DL>
422<DD>A test caused an error.
423<P>
424<DD><DL>
425</DL>
426</DD>
427<DD><DL>
428<DT><B>Parameters:</B><DD><CODE>test</CODE> - a test<DD><CODE>error</CODE> - the error thrown by the test</DL>
429</DD>
430</DL>
431<HR>
432
433<A NAME="formatTest(Test)"><!-- --></A><H3>
434formatTest</H3>
435<PRE>
436protected java.lang.String <B>formatTest</B>(Test&nbsp;test)</PRE>
437<DL>
438<DD>Format the test for printing..
439<P>
440<DD><DL>
441</DL>
442</DD>
443<DD><DL>
444<DT><B>Parameters:</B><DD><CODE>test</CODE> - a test
445<DT><B>Returns:</B><DD>the formatted testname</DL>
446</DD>
447</DL>
448<HR>
449
450<A NAME="formatError(java.lang.String, Test, java.lang.Throwable)"><!-- --></A><H3>
451formatError</H3>
452<PRE>
453protected void <B>formatError</B>(java.lang.String&nbsp;type,
454 Test&nbsp;test,
455 java.lang.Throwable&nbsp;error)</PRE>
456<DL>
457<DD>Format an error and print it.
458<P>
459<DD><DL>
460</DL>
461</DD>
462<DD><DL>
463<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of error<DD><CODE>test</CODE> - the test that failed<DD><CODE>error</CODE> - the exception that the test threw</DL>
464</DD>
465</DL>
466<!-- ========= END OF CLASS DATA ========= -->
467<HR>
468
469
470<!-- ======= START OF BOTTOM NAVBAR ====== -->
471<A NAME="navbar_bottom"><!-- --></A>
472<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
473<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
474<TR>
475<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
476<A NAME="navbar_bottom_firstrow"><!-- --></A>
477<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
478 <TR ALIGN="center" VALIGN="top">
479 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
480 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
481 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
482 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
483 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
484 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
485 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
486 </TR>
487</TABLE>
488</TD>
489<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
490</EM>
491</TD>
492</TR>
493
494<TR>
495<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
496&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BatchTest.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>&nbsp;
497&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
498<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
499 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
500&nbsp;<A HREF="BriefJUnitResultFormatter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
501&nbsp;<SCRIPT type="text/javascript">
502 <!--
503 if(window==top) {
504 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
505 }
506 //-->
507</SCRIPT>
508<NOSCRIPT>
509 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
510</NOSCRIPT>
511
512</FONT></TD>
513</TR>
514<TR>
515<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
516 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
517<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
518DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
519</TR>
520</TABLE>
521<A NAME="skip-navbar_bottom"></A>
522<!-- ======== END OF BOTTOM NAVBAR ======= -->
523
524<HR>
525Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
526</BODY>
527</HTML>
Note: See TracBrowser for help on using the repository browser.