org.testng.annotations
Interface ITestOrConfiguration

All Superinterfaces:
IAnnotation, IParameterizable
All Known Subinterfaces:
IConfigurationAnnotation, ITestAnnotation

public interface ITestOrConfiguration
extends IParameterizable

This interface captures methods common to @Test and @Configuration Created on Dec 20, 2005

Author:
Cedric Beust


Method Summary
 String[]getDependsOnGroups()
          The list of groups this method depends on.
 String[]getDependsOnMethods()
          The list of methods this method depends on.
 StringgetDescription()
          The description for this method, which will be shown in the reports.
 String[]getGroups()
          The list of groups this class/method belongs to.
 longgetTimeOut()
          Returns the maximum number of milliseconds this test should take.
 voidsetDependsOnGroups(String[] groups)
           
 voidsetDependsOnMethods(String[] dependsOnMethods)
           
 voidsetDescription(String description)
           
 voidsetGroups(String[] groups)
           
 voidsetTimeOut(long l)
           
 
Methods inherited from interface org.testng.annotations.IParameterizable
getEnabled, getParameters, setEnabled
 

Method Detail

getTimeOut

long getTimeOut()
Returns the maximum number of milliseconds this test should take. If it hasn't returned after this time, it will be marked as a FAIL.

Returns:
the maximum number of milliseconds this test should take.

setTimeOut

void setTimeOut(long l)

getGroups

String[] getGroups()
The list of groups this class/method belongs to.


setGroups

void setGroups(String[] groups)

getDependsOnGroups

String[] getDependsOnGroups()
The list of groups this method depends on. Every method member of one of these groups is guaranteed to have been invoked before this method. Furthermore, if any of these methods was not a SUCCESS, this test method will not be run and will be flagged as a SKIP.


setDependsOnGroups

void setDependsOnGroups(String[] groups)

getDependsOnMethods

String[] getDependsOnMethods()
The list of methods this method depends on. There is no guarantee on the order on which the methods depended upon will be run, but you are guaranteed that all these methods will be run before the test method that contains this annotation is run. Furthermore, if any of these methods was not a SUCCESS, this test method will not be run and will be flagged as a SKIP. If some of these methods have been overloaded, all the overloaded versions will be run.


setDependsOnMethods

void setDependsOnMethods(String[] dependsOnMethods)

getDescription

String getDescription()
The description for this method, which will be shown in the reports.


setDescription

void setDescription(String description)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14