|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.testng.internal.annotations.BaseAnnotation
org.testng.internal.annotations.ParametersAnnotation
public class ParametersAnnotation
An implementation of IParameters Created on Dec 20, 2005
Constructor Summary | |
---|---|
ParametersAnnotation()
|
Method Summary | |
---|---|
java.lang.String[] |
getValue()
The list of variables used to fill the parameters of this method. |
void |
setValue(java.lang.String[] value)
|
Methods inherited from class org.testng.internal.annotations.BaseAnnotation |
---|
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParametersAnnotation()
Method Detail |
---|
public java.lang.String[] getValue()
IParameters
@Parameters({ "xmlPath" })
@Test
public void verifyXmlFile(String path) { ... }
and in testng.xml:
<parameter name="xmlPath" value="account.xml" />
getValue
in interface IParameters
public void setValue(java.lang.String[] value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |