| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | JDK15TagFactory.
This interface is used to calculate the default value for various annotation return types. |
| Modifier and Type | Field and Description |
|---|---|
| private static final JDK15TagFactory. | |
| private static final JDK15TagFactory. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private IAnnotation | createConfigurationTag(boolean beforeSuite, boolean afterSuite, boolean beforeTest, boolean afterTest, String[] beforeGroups, boolean isBeforeGroups, String[] afterGroups, boolean isAfterGroups, boolean beforeClass, boolean afterClass, boolean beforeMethod, boolean afterMethod, boolean alwaysRun, String[] dependsOnGroups, String[] dependsOnMethods, String description, boolean enabled, String[] groups, boolean inheritGroups, boolean firstTimeOnly, boolean lastTimeOnly, long timeOut, String[] groupFilters)
|
| private IAnnotation | createConfigurationTag(boolean beforeSuite, boolean afterSuite, boolean beforeTest, boolean afterTest, String[] beforeGroups, boolean isBeforeGroups, String[] afterGroups, boolean isAfterGroups, boolean beforeClass, boolean afterClass, boolean beforeMethod, boolean afterMethod, boolean alwaysRun, String[] dependsOnGroups, String[] dependsOnMethods, String description, boolean enabled, String[] groups, boolean inheritGroups, boolean firstTimeOnly, boolean lastTimeOnly, long timeOut, String[] groupFilters, boolean ignoreFailure)
|
| private IAnnotation | |
| private IAnnotation | |
| private IAnnotation | |
| private IAnnotation | |
| private IAnnotation | |
| public <A extends IAnnotation> A | |
| private IAnnotation | |
| private <T> T | findInherited(T methodValue, Class<?> cls, Class<? extends Annotation> annotationClass, String methodName, JDK15TagFactory.
Find the value of an annotation, starting with the annotation found on the method, then the class and then parent classes until we either find a non-default value or we reach the top of the hierarchy (Object). |
| private String[] | |
| private Object | |
| private String[] | |
| private IAnnotation |
| DEFAULT_CLASS | back to summary |
|---|---|
| private static final JDK15TagFactory. | |
| DEFAULT_STRING | back to summary |
|---|---|
| private static final JDK15TagFactory. | |
| JDK15TagFactory | back to summary |
|---|---|
| public JDK15TagFactory() | |
| createConfigurationTag | back to summary |
|---|---|
| private IAnnotation createConfigurationTag(boolean beforeSuite, boolean afterSuite, boolean beforeTest, boolean afterTest, String[] beforeGroups, boolean isBeforeGroups, String[] afterGroups, boolean isAfterGroups, boolean beforeClass, boolean afterClass, boolean beforeMethod, boolean afterMethod, boolean alwaysRun, String[] dependsOnGroups, String[] dependsOnMethods, String description, boolean enabled, String[] groups, boolean inheritGroups, boolean firstTimeOnly, boolean lastTimeOnly, long timeOut, String[] groupFilters) | |
| createConfigurationTag | back to summary |
|---|---|
| private IAnnotation createConfigurationTag(boolean beforeSuite, boolean afterSuite, boolean beforeTest, boolean afterTest, String[] beforeGroups, boolean isBeforeGroups, String[] afterGroups, boolean isAfterGroups, boolean beforeClass, boolean afterClass, boolean beforeMethod, boolean afterMethod, boolean alwaysRun, String[] dependsOnGroups, String[] dependsOnMethods, String description, boolean enabled, String[] groups, boolean inheritGroups, boolean firstTimeOnly, boolean lastTimeOnly, long timeOut, String[] groupFilters, boolean ignoreFailure) | |
| createDataProviderTag | back to summary |
|---|---|
| private IAnnotation createDataProviderTag(Method method, Annotation a) | |
| createFactoryTag | back to summary |
|---|---|
| private IAnnotation createFactoryTag(Class<?> cls, Annotation a) | |
| createListenersTag | back to summary |
|---|---|
| private IAnnotation createListenersTag(Annotation a) | |
| createObjectFactoryTag | back to summary |
|---|---|
| private IAnnotation createObjectFactoryTag() | |
| createParametersTag | back to summary |
|---|---|
| private IAnnotation createParametersTag(Annotation a) | |
| createTag | back to summary |
|---|---|
| public <A extends IAnnotation> A createTag(Class<?> cls, Method method, Annotation a, Class<A> annotationClass) | |
| createTestTag | back to summary |
|---|---|
| private IAnnotation createTestTag(Class<?> cls, Annotation a) | |
| findInherited | back to summary |
|---|---|
| private <T> T findInherited(T methodValue, Class<?> cls, Class<? extends Annotation> annotationClass, String methodName, JDK15TagFactory. Find the value of an annotation, starting with the annotation found on the method, then the class and then parent classes until we either find a non-default value or we reach the top of the hierarchy (Object).
| |
| findInheritedStringArray | back to summary |
|---|---|
| private String[] findInheritedStringArray(Class<?> cls, String methodName) Find the value of a String[] annotation. The difference with the findInherited method above is that TestNG aggregates String[] values across hierarchies. For example, of the method annotation has { "a", "b" } and the class has { "c" }, the returned value will be { "a", "b", "c" }. | |
| invokeMethod | back to summary |
|---|---|
| private Object invokeMethod(Annotation test, String methodName) | |
| join | back to summary |
|---|---|
| private String[] join(String[] strings, String[] strings2) | |
| maybeCreateNewConfigurationTag | back to summary |
|---|---|
| private IAnnotation maybeCreateNewConfigurationTag(Annotation a, Class<?> annotationClass) | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| isDefault | back to summary |
|---|---|
| public boolean isDefault(T t) | |