org.testng.annotations
Interface IConfigurationAnnotation

All Superinterfaces:
IAnnotation, IParameterizable, ITestOrConfiguration

public interface IConfigurationAnnotation
extends ITestOrConfiguration

Encapsulate the @Configuration / @testng.configuration annotation Created on Dec 20, 2005

Author:
Cedric Beust


Method Summary
 String[]getAfterGroups()
          The list of groups that this configuration method will run after.
 booleangetAfterSuite()
          If true, the annotated method will be run after all tests in this suite have run.
 booleangetAfterTest()
          If true, the annotated method will be run after all every test.
 booleangetAfterTestClass()
          If true, the annotated method will be run after all the tests in the test class have been run.
 booleangetAfterTestMethod()
          If true, the annotated method will be run after any test method is invoked.
 booleangetAlwaysRun()
          Used only for after type of configuration methods.
 String[]getBeforeGroups()
          The list of groups that this configuration method will run before.
 booleangetBeforeSuite()
          If true, the annotated method will be run before this suite starts.
 booleangetBeforeTest()
          If true, the annotated method will be run before every test
 booleangetBeforeTestClass()
          If true, the annotated method will be run after the test class is instantiated and before the test method is invoked.
 booleangetBeforeTestMethod()
          If true, the annotated method will be run before any test method is invoked.
 booleangetInheritGroups()
          If true, this @Configuration method will belong to groups specified in the \@Test annotation on the class (if any).
 booleanisFakeConfiguration()
          Internal use only.
 
Methods inherited from interface org.testng.annotations.ITestOrConfiguration
getDependsOnGroups, getDependsOnMethods, getDescription, getGroups, getTimeOut, setDependsOnGroups, setDependsOnMethods, setDescription, setGroups, setTimeOut
 
Methods inherited from interface org.testng.annotations.IParameterizable
getEnabled, getParameters, setEnabled
 

Method Detail

getBeforeTestClass

boolean getBeforeTestClass()
If true, the annotated method will be run after the test class is instantiated and before the test method is invoked.


getAfterTestClass

boolean getAfterTestClass()
If true, the annotated method will be run after all the tests in the test class have been run.


getBeforeTestMethod

boolean getBeforeTestMethod()
If true, the annotated method will be run before any test method is invoked.


getAfterTestMethod

boolean getAfterTestMethod()
If true, the annotated method will be run after any test method is invoked.


getBeforeSuite

boolean getBeforeSuite()
If true, the annotated method will be run before this suite starts.


getAfterSuite

boolean getAfterSuite()
If true, the annotated method will be run after all tests in this suite have run.


getBeforeTest

boolean getBeforeTest()
If true, the annotated method will be run before every test


getAfterTest

boolean getAfterTest()
If true, the annotated method will be run after all every test.


getAlwaysRun

boolean getAlwaysRun()
Used only for after type of configuration methods. If set to true than the configuration method will be run whatever the status of before configuration methods was.


getInheritGroups

boolean getInheritGroups()
If true, this @Configuration method will belong to groups specified in the \@Test annotation on the class (if any).


getBeforeGroups

String[] getBeforeGroups()
The list of groups that this configuration method will run before.


getAfterGroups

String[] getAfterGroups()
The list of groups that this configuration method will run after.


isFakeConfiguration

boolean isFakeConfiguration()
Internal use only.

Returns:
true if this configuration annotation is not a "true" configuration annotation but a @BeforeSuite or similar that is represented as a configuration annotation.


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