return m_inheritGroupsFromTestClass;
}
private void init() {
IAnnotation a = AnnotationHelper.findConfiguration(m_annotationFinder, m_method);
IConfiguration annotation = (IConfiguration) a;
if (a != null) {
m_inheritGroupsFromTestClass = annotation.getInheritGroups();
setDescription(annotation.getDescription());
}
if (annotation != null && annotation.isFakeConfiguration()) {
if (annotation.getBeforeSuite()) initGroups(IBeforeSuite.class);
if (annotation.getAfterSuite()) initGroups(IAfterSuite.class);
if (annotation.getBeforeTest()) initGroups(IBeforeTest.class);
if (annotation.getAfterTest()) initGroups(IAfterTest.class);
if (annotation.getBeforeGroups().length != 0) initGroups(IBeforeGroups.class);
if (annotation.getAfterGroups().length != 0) initGroups(IAfterGroups.class);
if (annotation.getBeforeTestClass()) initGroups(IBeforeClass.class);
if (annotation.getAfterTestClass()) initGroups(IAfterClass.class);
if (annotation.getBeforeTestMethod()) initGroups(IBeforeMethod.class);
if (annotation.getAfterTestMethod()) initGroups(IAfterMethod.class);
}
else {
initGroups(IConfiguration.class);
}