protected boolean runTestsInParallelFor(final Class<?> klass) {
return (klass.getAnnotation(Concurrent.class) != null);
}
protected int getThreadCountFor(final Class<?> klass) {
Concurrent concurrent = klass.getAnnotation(Concurrent.class);
String threadValue = getThreadParameter(concurrent);
int threads = (AVAILABLE_PROCESSORS * 2);
if (StringUtils.isNotEmpty(threadValue)) {
if (StringUtils.isNumeric(threadValue)) {
threads = Integer.valueOf(threadValue);