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>
|
---|
7 | JUnitResultFormatter (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter interface">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="JUnitResultFormatter (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> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.NodeFilter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.html" title="interface 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>
|
---|
56 | <A HREF="JUnitResultFormatter.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | CONSTR | <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">
|
---|
84 | org.apache.tools.ant.taskdefs.optional.junit</FONT>
|
---|
85 | <BR>
|
---|
86 | Interface JUnitResultFormatter</H2>
|
---|
87 | <DL>
|
---|
88 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">BriefJUnitResultFormatter</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">PlainJUnitResultFormatter</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/SummaryJUnitResultFormatter.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">SummaryJUnitResultFormatter</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">XMLJUnitResultFormatter</A></DD>
|
---|
89 | </DL>
|
---|
90 | <HR>
|
---|
91 | <DL>
|
---|
92 | <DT>public interface <B>JUnitResultFormatter</B></DL>
|
---|
93 |
|
---|
94 | <P>
|
---|
95 | This Interface describes classes that format the results of a JUnit
|
---|
96 | testrun.
|
---|
97 | <P>
|
---|
98 |
|
---|
99 | <P>
|
---|
100 | <HR>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
104 |
|
---|
105 |
|
---|
106 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
107 |
|
---|
108 |
|
---|
109 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
113 |
|
---|
114 | <A NAME="method_summary"><!-- --></A>
|
---|
115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
117 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
118 | <B>Method Summary</B></FONT></TD>
|
---|
119 | </TR>
|
---|
120 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
121 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
122 | <CODE> void</CODE></FONT></TD>
|
---|
123 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.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> suite)</CODE>
|
---|
124 |
|
---|
125 | <BR>
|
---|
126 | The whole testsuite ended.</TD>
|
---|
127 | </TR>
|
---|
128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
130 | <CODE> void</CODE></FONT></TD>
|
---|
131 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setOutput(java.io.OutputStream)">setOutput</A></B>(java.io.OutputStream out)</CODE>
|
---|
132 |
|
---|
133 | <BR>
|
---|
134 | Sets the stream the formatter is supposed to write its results to.</TD>
|
---|
135 | </TR>
|
---|
136 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
137 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
138 | <CODE> void</CODE></FONT></TD>
|
---|
139 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemError(java.lang.String)">setSystemError</A></B>(java.lang.String err)</CODE>
|
---|
140 |
|
---|
141 | <BR>
|
---|
142 | This is what the test has written to System.err</TD>
|
---|
143 | </TR>
|
---|
144 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
146 | <CODE> void</CODE></FONT></TD>
|
---|
147 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.html#setSystemOutput(java.lang.String)">setSystemOutput</A></B>(java.lang.String out)</CODE>
|
---|
148 |
|
---|
149 | <BR>
|
---|
150 | This is what the test has written to System.out</TD>
|
---|
151 | </TR>
|
---|
152 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
153 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
154 | <CODE> void</CODE></FONT></TD>
|
---|
155 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.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> suite)</CODE>
|
---|
156 |
|
---|
157 | <BR>
|
---|
158 | The whole testsuite started.</TD>
|
---|
159 | </TR>
|
---|
160 | </TABLE>
|
---|
161 |
|
---|
162 | <P>
|
---|
163 |
|
---|
164 | <!-- ============ FIELD DETAIL =========== -->
|
---|
165 |
|
---|
166 |
|
---|
167 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
168 |
|
---|
169 |
|
---|
170 | <!-- ============ METHOD DETAIL ========== -->
|
---|
171 |
|
---|
172 | <A NAME="method_detail"><!-- --></A>
|
---|
173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
174 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
175 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
176 | <B>Method Detail</B></FONT></TD>
|
---|
177 | </TR>
|
---|
178 | </TABLE>
|
---|
179 |
|
---|
180 | <A NAME="startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)"><!-- --></A><H3>
|
---|
181 | startTestSuite</H3>
|
---|
182 | <PRE>
|
---|
183 | public 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> suite)
|
---|
184 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
185 | <DL>
|
---|
186 | <DD>The whole testsuite started.
|
---|
187 | <P>
|
---|
188 | <DD><DL>
|
---|
189 |
|
---|
190 | <DT><B>Throws:</B>
|
---|
191 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
192 | </DD>
|
---|
193 | </DL>
|
---|
194 | <HR>
|
---|
195 |
|
---|
196 | <A NAME="endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)"><!-- --></A><H3>
|
---|
197 | endTestSuite</H3>
|
---|
198 | <PRE>
|
---|
199 | public 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> suite)
|
---|
200 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
201 | <DL>
|
---|
202 | <DD>The whole testsuite ended.
|
---|
203 | <P>
|
---|
204 | <DD><DL>
|
---|
205 |
|
---|
206 | <DT><B>Throws:</B>
|
---|
207 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
208 | </DD>
|
---|
209 | </DL>
|
---|
210 | <HR>
|
---|
211 |
|
---|
212 | <A NAME="setOutput(java.io.OutputStream)"><!-- --></A><H3>
|
---|
213 | setOutput</H3>
|
---|
214 | <PRE>
|
---|
215 | public void <B>setOutput</B>(java.io.OutputStream out)</PRE>
|
---|
216 | <DL>
|
---|
217 | <DD>Sets the stream the formatter is supposed to write its results to.
|
---|
218 | <P>
|
---|
219 | <DD><DL>
|
---|
220 | </DL>
|
---|
221 | </DD>
|
---|
222 | </DL>
|
---|
223 | <HR>
|
---|
224 |
|
---|
225 | <A NAME="setSystemOutput(java.lang.String)"><!-- --></A><H3>
|
---|
226 | setSystemOutput</H3>
|
---|
227 | <PRE>
|
---|
228 | public void <B>setSystemOutput</B>(java.lang.String out)</PRE>
|
---|
229 | <DL>
|
---|
230 | <DD>This is what the test has written to System.out
|
---|
231 | <P>
|
---|
232 | <DD><DL>
|
---|
233 | </DL>
|
---|
234 | </DD>
|
---|
235 | </DL>
|
---|
236 | <HR>
|
---|
237 |
|
---|
238 | <A NAME="setSystemError(java.lang.String)"><!-- --></A><H3>
|
---|
239 | setSystemError</H3>
|
---|
240 | <PRE>
|
---|
241 | public void <B>setSystemError</B>(java.lang.String err)</PRE>
|
---|
242 | <DL>
|
---|
243 | <DD>This is what the test has written to System.err
|
---|
244 | <P>
|
---|
245 | <DD><DL>
|
---|
246 | </DL>
|
---|
247 | </DD>
|
---|
248 | </DL>
|
---|
249 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
250 | <HR>
|
---|
251 |
|
---|
252 |
|
---|
253 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
254 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
255 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
256 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
257 | <TR>
|
---|
258 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
259 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
260 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
261 | <TR ALIGN="center" VALIGN="top">
|
---|
262 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
263 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
264 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
265 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
266 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
267 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
268 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
269 | </TR>
|
---|
270 | </TABLE>
|
---|
271 | </TD>
|
---|
272 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
273 | </EM>
|
---|
274 | </TD>
|
---|
275 | </TR>
|
---|
276 |
|
---|
277 | <TR>
|
---|
278 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
279 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.NodeFilter.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>
|
---|
280 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.html" title="interface in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
281 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
282 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
283 | <A HREF="JUnitResultFormatter.html" target="_top"><B>NO FRAMES</B></A>
|
---|
284 | <SCRIPT type="text/javascript">
|
---|
285 | <!--
|
---|
286 | if(window==top) {
|
---|
287 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
288 | }
|
---|
289 | //-->
|
---|
290 | </SCRIPT>
|
---|
291 | <NOSCRIPT>
|
---|
292 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
293 | </NOSCRIPT>
|
---|
294 |
|
---|
295 | </FONT></TD>
|
---|
296 | </TR>
|
---|
297 | <TR>
|
---|
298 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
299 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
300 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
301 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
302 | </TR>
|
---|
303 | </TABLE>
|
---|
304 | <A NAME="skip-navbar_bottom"></A>
|
---|
305 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
306 |
|
---|
307 | <HR>
|
---|
308 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
309 | </BODY>
|
---|
310 | </HTML>
|
---|