logger.fine(String.format("Testing: %s", clazz.getName()));
/* Use every test provided to see if the class is thread safe. */
for (Object t : tests) {
ThreadTest test = (ThreadTest)t;
ThreadSafety result = test.test(clazz);
if (result != ThreadSafety.THREAD) {
/* Any test that is not thread safe is failed. */
failedTests.add(test.getClass());
}
/* If a result was returned, and it's worse than the stored one. */