System.out.println("[TestNGMethod] " + s);
}
private void init() {
{
ITest testAnnotation = AnnotationHelper.findTest(getAnnotationFinder(), m_method);
if (testAnnotation == null) {
// Try on the class
testAnnotation = AnnotationHelper.findTest(getAnnotationFinder(), m_method.getDeclaringClass());
}
if (null != testAnnotation) {
m_timeOut = testAnnotation.getTimeOut();
m_successPercentage = testAnnotation.getSuccessPercentage();
setInvocationCount(testAnnotation.getInvocationCount());
setThreadPoolSize(testAnnotation.getThreadPoolSize());
setAlwaysRun(testAnnotation.getAlwaysRun());
setDescription(testAnnotation.getDescription());
setRetryAnalyzer(testAnnotation.getRetryAnalyzer());
}
// Groups
{
initGroups(ITest.class);