You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

483 lines
24 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Mon Jan 09 12:02:55 CET 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ParameterisedTestClassRunner (JUnitParams 0.3.8-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2012-01-09">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ParameterisedTestClassRunner (JUnitParams 0.3.8-SNAPSHOT API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../junitparams/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParameterisedTestClassRunner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../junitparams/JUnitParamsRunner.html" title="class in junitparams"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?junitparams/ParameterisedTestClassRunner.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ParameterisedTestClassRunner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
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>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&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>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
junitparams</FONT>
<BR>
Class ParameterisedTestClassRunner</H2>
<PRE>
<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>
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>junitparams.ParameterisedTestClassRunner</B>
</PRE>
<HR>
<DL>
<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>
</PRE>
<P>
Testclass-level functionalities to handle parameters from a JUnit runner
class.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Pawel Lipinski</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<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>
<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#parameterisedMethods">parameterisedMethods</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<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>
<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#testMethods">testMethods</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<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>
<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#testMethodsList">testMethodsList</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a runner for a given test class.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<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>
<TD><CODE><B><A HREF="../junitparams/ParameterisedTestClassRunner.html#computeFrameworkMethods(boolean)">computeFrameworkMethods</A></B>(boolean&nbsp;firstTimeJustToGetNames)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of <code>FrameworkMethod</code>s.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.junit.runner.Description</CODE></FONT></TD>
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns description of a parameterised method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.junit.runners.model.Statement</CODE></FONT></TD>
<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,
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a InvokeParameterisedMethod for parameterised methods and null
for nonparameterised</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<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,
org.junit.runners.model.Statement&nbsp;methodInvoker,
org.junit.runner.notification.RunNotifier&nbsp;notifier)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes parameterised method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if method should be run by this runner.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A></CODE></FONT></TD>
<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cached TestMethod object related to the given FrameworkMethod.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<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>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<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>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="parameterisedMethods"><!-- --></A><H3>
parameterisedMethods</H3>
<PRE>
protected <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>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="testMethods"><!-- --></A><H3>
testMethods</H3>
<PRE>
protected <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>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="testMethodsList"><!-- --></A><H3>
testMethodsList</H3>
<PRE>
protected <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>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ParameterisedTestClassRunner(org.junit.runners.model.TestClass)"><!-- --></A><H3>
ParameterisedTestClassRunner</H3>
<PRE>
public <B>ParameterisedTestClassRunner</B>(org.junit.runners.model.TestClass&nbsp;testClass)</PRE>
<DL>
<DD>Creates a runner for a given test class. Computes all the test methods
that are annotated as tests. Retrieves and caches all parameter values.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>testClass</CODE> - </DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="computeTestMethods(org.junit.runners.model.TestClass)"><!-- --></A><H3>
computeTestMethods</H3>
<PRE>
protected void <B>computeTestMethods</B>(org.junit.runners.model.TestClass&nbsp;testClass)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="computeFrameworkMethods(boolean)"><!-- --></A><H3>
computeFrameworkMethods</H3>
<PRE>
public <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>
<DL>
<DD>Returns a list of <code>FrameworkMethod</code>s. Handles both
parameterised methods (counts them as many times as many paramsets they
have) and nonparameterised methods (just counts them once).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>firstTimeJustToGetNames</CODE> - If true, returns only parameterised methods once - used by
JUnit for building the tree of test names without the params.
<DT><B>Returns:</B><DD>a list of FrameworkMethod objects</DL>
</DD>
</DL>
<HR>
<A NAME="parameterisedMethodInvoker(org.junit.runners.model.FrameworkMethod, java.lang.Object)"><!-- --></A><H3>
parameterisedMethodInvoker</H3>
<PRE>
public org.junit.runners.model.Statement <B>parameterisedMethodInvoker</B>(org.junit.runners.model.FrameworkMethod&nbsp;method,
<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>
<DL>
<DD>Returns a InvokeParameterisedMethod for parameterised methods and null
for nonparameterised
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - Test method<DD><CODE>testClass</CODE> -
<DT><B>Returns:</B><DD>a Statement with the invoker for the parameterised method</DL>
</DD>
</DL>
<HR>
<A NAME="shouldRun(junitparams.TestMethod)"><!-- --></A><H3>
shouldRun</H3>
<PRE>
public boolean <B>shouldRun</B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;testMethod)</PRE>
<DL>
<DD>Tells if method should be run by this runner.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>testMethod</CODE> -
<DT><B>Returns:</B><DD>true, iff testMethod should be run by this runner.</DL>
</DD>
</DL>
<HR>
<A NAME="runParameterisedTest(junitparams.TestMethod, org.junit.runners.model.Statement, org.junit.runner.notification.RunNotifier)"><!-- --></A><H3>
runParameterisedTest</H3>
<PRE>
public void <B>runParameterisedTest</B>(<A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A>&nbsp;method,
org.junit.runners.model.Statement&nbsp;methodInvoker,
org.junit.runner.notification.RunNotifier&nbsp;notifier)</PRE>
<DL>
<DD>Executes parameterised method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - <DD><CODE>methodInvoker</CODE> - <DD><CODE>notifier</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="describeParameterisedMethod(org.junit.runners.model.FrameworkMethod)"><!-- --></A><H3>
describeParameterisedMethod</H3>
<PRE>
public org.junit.runner.Description <B>describeParameterisedMethod</B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</PRE>
<DL>
<DD>Returns description of a parameterised method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - TODO
<DT><B>Returns:</B><DD>Description of a method or null if it's not parameterised.</DL>
</DD>
</DL>
<HR>
<A NAME="testMethodFor(org.junit.runners.model.FrameworkMethod)"><!-- --></A><H3>
testMethodFor</H3>
<PRE>
public <A HREF="../junitparams/TestMethod.html" title="class in junitparams">TestMethod</A> <B>testMethodFor</B>(org.junit.runners.model.FrameworkMethod&nbsp;method)</PRE>
<DL>
<DD>Returns a cached TestMethod object related to the given FrameworkMethod.
This object has all the params already retrieved, so use this one and not
TestMethod's constructor if you want to have everything retrieved once
and cached.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> -
<DT><B>Returns:</B><DD>a cached TestMethod instance</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../junitparams/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParameterisedTestClassRunner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../junitparams/JUnitParamsRunner.html" title="class in junitparams"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../junitparams/ParameterisedTestMethodRunner.html" title="class in junitparams"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?junitparams/ParameterisedTestClassRunner.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ParameterisedTestClassRunner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
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>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&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>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2012 <a href="http://pragmatists.pl">Pragmatists</a>. All Rights Reserved.
</BODY>
</HTML>