testng 7.10.2
org.testng.annotations
Guice
Top
Description
Methods
org.testng.annotations
public
@Interface Guice
extends
Annotation
Annotations
@Retention
:
RUNTIME
@Target
:
TYPE
@Documented
Static Imports
java.
lang.
annotation.
ElementType.
TYPE
This annotation specifies what Guice modules should be used to instantiate this test class.
Method Summary
Modifier and Type
Method and Description
public
Class
<
? extends
IModuleFactory
>
moduleFactory
()
public
Class
<
? extends
Module
>[]
Returns:
the list of modules to query when trying to create an instance of this test class.
modules
()
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
moduleFactory
back to summary
public
Class
<
? extends
IModuleFactory
>
moduleFactory
()
modules
back to summary
public
Class
<
? extends
Module
>[]
modules
()
Returns:
Class
<
? extends
Module
>[]
the list of modules to query when trying to create an instance of this test class.