• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng.annotations;
2 
3 /**
4  * Encapsulate the @Parameters / @testng.parameters annotation
5  *
6  * Created on Dec 20, 2005
7  * @author <a href="mailto:cedric@beust.com">Cedric Beust</a>
8  */
9 public interface IParametersAnnotation extends IAnnotation {
10   /**
11    * The list of variables used to fill the parameters of this method.
12    * These variables must be defined in your testng.xml file.
13    * For example
14    * <p>
15    * <code>
16    * &#064;Parameters({ "xmlPath" })<br>
17    * &#064;Test<br>
18    * public void verifyXmlFile(String path) { ... }<br>
19    * </code>
20    * <p>and in <tt>testng.xml</tt>:<p>
21    * <code>
22    * &lt;parameter name="xmlPath" value="account.xml" /&gt;<br>
23    * </code>
24    */
getValue()25   public String[] getValue();
26 
27 }
28