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.6.0_29) on Mon Jan 09 12:02:55 CET 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8ParameterisedTestClassRunner (JUnitParams 0.3.8-SNAPSHOT API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-01-09">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="ParameterisedTestClassRunner (JUnitParams 0.3.8-SNAPSHOT API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../junitparams/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ParameterisedTestClassRunner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../junitparams/JUnitParamsRunner.html" title="class in junitparams"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../index.html?junitparams/ParameterisedTestClassRunner.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="ParameterisedTestClassRunner.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91junitparams</FONT>
92<BR>
93Class ParameterisedTestClassRunner</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>junitparams.ParameterisedTestClassRunner</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>ParameterisedTestClassRunner</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101</PRE>
102
103<P>
104Testclass-level functionalities to handle parameters from a JUnit runner
105 class.
106<P>
107
108<P>
109<DL>
110<DT><B>Author:</B></DT>
111  <DD>Pawel Lipinski</DD>
112</DL>
113<HR>
114
115<P>
116<!-- =========== FIELD SUMMARY =========== -->
117
118<A NAME="field_summary"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122<B>Field Summary</B></FONT></TH>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>,<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams">ParameterisedTestMethodRunner</A>&gt;</CODE></FONT></TD>
127<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#parameterisedMethods">parameterisedMethods</A></B></CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;org.junit.runners.model.FrameworkMethod,<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&gt;</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#testMethods">testMethods</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&gt;</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#testMethodsList">testMethodsList</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147</TR>
148</TABLE>
149&nbsp;
150<!-- ======== CONSTRUCTOR SUMMARY ======== -->
151
152<A NAME="constructor_summary"><!-- --></A>
153<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
155<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
156<B>Constructor Summary</B></FONT></TH>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#ParameterisedTestClassRunner(org.junit.runners.model.TestClass)">ParameterisedTestClassRunner</A></B>(org.junit.runners.model.TestClass&nbsp;testClass)</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a runner for a given test class.</TD>
163</TR>
164</TABLE>
165&nbsp;
166<!-- ========== METHOD SUMMARY =========== -->
167
168<A NAME="method_summary"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172<B>Method Summary</B></FONT></TH>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.junit.runners.model.FrameworkMethod&gt;</CODE></FONT></TD>
177<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#computeFrameworkMethods(boolean)">computeFrameworkMethods</A></B>(boolean&nbsp;firstTimeJustToGetNames)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of <code>FrameworkMethod</code>s.</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>protected &nbsp;void</CODE></FONT></TD>
185<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#computeTestMethods(org.junit.runners.model.TestClass)">computeTestMethods</A></B>(org.junit.runners.model.TestClass&nbsp;testClass)</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192<CODE>&nbsp;org.junit.runner.Description</CODE></FONT></TD>
193<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#describeParameterisedMethod(org.junit.runners.model.FrameworkMethod)">describeParameterisedMethod</A></B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns description of a parameterised method.</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;org.junit.runners.model.Statement</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#parameterisedMethodInvoker(org.junit.runners.model.FrameworkMethod, java.lang.Object)">parameterisedMethodInvoker</A></B>(org.junit.runners.model.FrameworkMethod&nbsp;method,
202                           <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;testClass)</CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a InvokeParameterisedMethod for parameterised methods and null
206 for nonparameterised</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="../junitparams/ParameterisedTestClassRunner.html#runParameterisedTest(junitparams.TestMethod, org.junit.runners.model.Statement, org.junit.runner.notification.RunNotifier)">runParameterisedTest</A></B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;method,
212                     org.junit.runners.model.Statement&nbsp;methodInvoker,
213                     org.junit.runner.notification.RunNotifier&nbsp;notifier)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes parameterised method.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>&nbsp;boolean</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#shouldRun(junitparams.TestMethod)">shouldRun</A></B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;testMethod)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if method should be run by this runner.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>&nbsp;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A></CODE></FONT></TD>
229<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#testMethodFor(org.junit.runners.model.FrameworkMethod)">testMethodFor</A></B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cached TestMethod object related to the given FrameworkMethod.</TD>
233</TR>
234</TABLE>
235&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
236<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
238<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
242</TR>
243</TABLE>
244&nbsp;
245<P>
246
247<!-- ============ FIELD DETAIL =========== -->
248
249<A NAME="field_detail"><!-- --></A>
250<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
251<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
252<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
253<B>Field Detail</B></FONT></TH>
254</TR>
255</TABLE>
256
257<A NAME="parameterisedMethods"><!-- --></A><H3>
258parameterisedMethods</H3>
259<PRE>
260protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>,<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams">ParameterisedTestMethodRunner</A>&gt; <B>parameterisedMethods</B></PRE>
261<DL>
262<DL>
263</DL>
264</DL>
265<HR>
266
267<A NAME="testMethods"><!-- --></A><H3>
268testMethods</H3>
269<PRE>
270protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;org.junit.runners.model.FrameworkMethod,<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&gt; <B>testMethods</B></PRE>
271<DL>
272<DL>
273</DL>
274</DL>
275<HR>
276
277<A NAME="testMethodsList"><!-- --></A><H3>
278testMethodsList</H3>
279<PRE>
280protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&gt; <B>testMethodsList</B></PRE>
281<DL>
282<DL>
283</DL>
284</DL>
285
286<!-- ========= CONSTRUCTOR DETAIL ======== -->
287
288<A NAME="constructor_detail"><!-- --></A>
289<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
290<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
291<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
292<B>Constructor Detail</B></FONT></TH>
293</TR>
294</TABLE>
295
296<A NAME="ParameterisedTestClassRunner(org.junit.runners.model.TestClass)"><!-- --></A><H3>
297ParameterisedTestClassRunner</H3>
298<PRE>
299public <B>ParameterisedTestClassRunner</B>(org.junit.runners.model.TestClass&nbsp;testClass)</PRE>
300<DL>
301<DD>Creates a runner for a given test class. Computes all the test methods
302 that are annotated as tests. Retrieves and caches all parameter values.
303<P>
304<DL>
305<DT><B>Parameters:</B><DD><CODE>testClass</CODE> - </DL>
306</DL>
307
308<!-- ============ METHOD DETAIL ========== -->
309
310<A NAME="method_detail"><!-- --></A>
311<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
313<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
314<B>Method Detail</B></FONT></TH>
315</TR>
316</TABLE>
317
318<A NAME="computeTestMethods(org.junit.runners.model.TestClass)"><!-- --></A><H3>
319computeTestMethods</H3>
320<PRE>
321protected void <B>computeTestMethods</B>(org.junit.runners.model.TestClass&nbsp;testClass)</PRE>
322<DL>
323<DD><DL>
324</DL>
325</DD>
326</DL>
327<HR>
328
329<A NAME="computeFrameworkMethods(boolean)"><!-- --></A><H3>
330computeFrameworkMethods</H3>
331<PRE>
332public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.junit.runners.model.FrameworkMethod&gt; <B>computeFrameworkMethods</B>(boolean&nbsp;firstTimeJustToGetNames)</PRE>
333<DL>
334<DD>Returns a list of <code>FrameworkMethod</code>s. Handles both
335 parameterised methods (counts them as many times as many paramsets they
336 have) and nonparameterised methods (just counts them once).
337<P>
338<DD><DL>
339<DT><B>Parameters:</B><DD><CODE>firstTimeJustToGetNames</CODE> - If true, returns only parameterised methods once - used by
340            JUnit for building the tree of test names without the params.
341<DT><B>Returns:</B><DD>a list of FrameworkMethod objects</DL>
342</DD>
343</DL>
344<HR>
345
346<A NAME="parameterisedMethodInvoker(org.junit.runners.model.FrameworkMethod, java.lang.Object)"><!-- --></A><H3>
347parameterisedMethodInvoker</H3>
348<PRE>
349public org.junit.runners.model.Statement <B>parameterisedMethodInvoker</B>(org.junit.runners.model.FrameworkMethod&nbsp;method,
350                                                                    <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;testClass)</PRE>
351<DL>
352<DD>Returns a InvokeParameterisedMethod for parameterised methods and null
353 for nonparameterised
354<P>
355<DD><DL>
356<DT><B>Parameters:</B><DD><CODE>method</CODE> - Test method<DD><CODE>testClass</CODE> -
357<DT><B>Returns:</B><DD>a Statement with the invoker for the parameterised method</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="shouldRun(junitparams.TestMethod)"><!-- --></A><H3>
363shouldRun</H3>
364<PRE>
365public boolean <B>shouldRun</B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;testMethod)</PRE>
366<DL>
367<DD>Tells if method should be run by this runner.
368<P>
369<DD><DL>
370<DT><B>Parameters:</B><DD><CODE>testMethod</CODE> -
371<DT><B>Returns:</B><DD>true, iff testMethod should be run by this runner.</DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="runParameterisedTest(junitparams.TestMethod, org.junit.runners.model.Statement, org.junit.runner.notification.RunNotifier)"><!-- --></A><H3>
377runParameterisedTest</H3>
378<PRE>
379public void <B>runParameterisedTest</B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;method,
380                                 org.junit.runners.model.Statement&nbsp;methodInvoker,
381                                 org.junit.runner.notification.RunNotifier&nbsp;notifier)</PRE>
382<DL>
383<DD>Executes parameterised method.
384<P>
385<DD><DL>
386<DT><B>Parameters:</B><DD><CODE>method</CODE> - <DD><CODE>methodInvoker</CODE> - <DD><CODE>notifier</CODE> - </DL>
387</DD>
388</DL>
389<HR>
390
391<A NAME="describeParameterisedMethod(org.junit.runners.model.FrameworkMethod)"><!-- --></A><H3>
392describeParameterisedMethod</H3>
393<PRE>
394public org.junit.runner.Description <B>describeParameterisedMethod</B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</PRE>
395<DL>
396<DD>Returns description of a parameterised method.
397<P>
398<DD><DL>
399<DT><B>Parameters:</B><DD><CODE>method</CODE> - TODO
400<DT><B>Returns:</B><DD>Description of a method or null if it's not parameterised.</DL>
401</DD>
402</DL>
403<HR>
404
405<A NAME="testMethodFor(org.junit.runners.model.FrameworkMethod)"><!-- --></A><H3>
406testMethodFor</H3>
407<PRE>
408public <A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A> <B>testMethodFor</B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</PRE>
409<DL>
410<DD>Returns a cached TestMethod object related to the given FrameworkMethod.
411 This object has all the params already retrieved, so use this one and not
412 TestMethod's constructor if you want to have everything retrieved once
413 and cached.
414<P>
415<DD><DL>
416<DT><B>Parameters:</B><DD><CODE>method</CODE> -
417<DT><B>Returns:</B><DD>a cached TestMethod instance</DL>
418</DD>
419</DL>
420<!-- ========= END OF CLASS DATA ========= -->
421<HR>
422
423
424<!-- ======= START OF BOTTOM NAVBAR ====== -->
425<A NAME="navbar_bottom"><!-- --></A>
426<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
427<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
428<TR>
429<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
430<A NAME="navbar_bottom_firstrow"><!-- --></A>
431<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
432  <TR ALIGN="center" VALIGN="top">
433  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../junitparams/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
434  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
435  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ParameterisedTestClassRunner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
436  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
437  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
438  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
439  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
440  </TR>
441</TABLE>
442</TD>
443<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
444</EM>
445</TD>
446</TR>
447
448<TR>
449<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
450&nbsp;<A HREF="../junitparams/JUnitParamsRunner.html" title="class in junitparams"><B>PREV CLASS</B></A>&nbsp;
451&nbsp;<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams"><B>NEXT CLASS</B></A></FONT></TD>
452<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
453  <A HREF="../index.html?junitparams/ParameterisedTestClassRunner.html" target="_top"><B>FRAMES</B></A>  &nbsp;
454&nbsp;<A HREF="ParameterisedTestClassRunner.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
455&nbsp;<SCRIPT type="text/javascript">
456  <!--
457  if(window==top) {
458    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
459  }
460  //-->
461</SCRIPT>
462<NOSCRIPT>
463  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
464</NOSCRIPT>
465
466
467</FONT></TD>
468</TR>
469<TR>
470<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
471  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
472<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
473DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
474</TR>
475</TABLE>
476<A NAME="skip-navbar_bottom"></A>
477<!-- ======== END OF BOTTOM NAVBAR ======= -->
478
479<HR>
480Copyright &#169; 2012 <a href="http://pragmatists.pl">Pragmatists</a>. All Rights Reserved.
481</BODY>
482</HTML>
483