| package org.testng.annotations; |
| |
| /** |
| * Encapsulate the @Parameters / @testng.parameters annotation |
| * |
| * Created on Dec 20, 2005 |
| * @author <a href="mailto:cedric@beust.com">Cedric Beust</a> |
| */ |
| public interface IParametersAnnotation extends IAnnotation { |
| /** |
| * The list of variables used to fill the parameters of this method. |
| * These variables must be defined in your testng.xml file. |
| * For example |
| * <p> |
| * <code> |
| * @Parameters({ "xmlPath" })<br> |
| * @Test<br> |
| * public void verifyXmlFile(String path) { ... }<br> |
| * </code> |
| * <p>and in <tt>testng.xml</tt>:<p> |
| * <code> |
| * <parameter name="xmlPath" value="account.xml" /><br> |
| * </code> |
| */ |
| public String[] getValue(); |
| |
| } |