boolean (Class<?> testCaseClass, String moduleName) { if (shouldAddTestCase(testCaseClass, moduleName, true) && testCaseClass != myFirstTestClass && testCaseClass != myLastTestClass && TestFrameworkUtil.canRunTest(testCaseClass)) { // fair bucketing initialization if (IS_FAIR_BUCKETING && BUCKETS.isEmpty()) return true; // warmup caches from nastradamus (if it's not fully initialized) if ((IS_NASTRADAMUS_TEST_DISTRIBUTOR_ENABLED || IS_NASTRADAMUS_SHADOW_DATA_COLLECTION_ENABLED) && !isNastradamusCacheInitialized.get()) { return true; } if (SelfSeedingTestCase.class.isAssignableFrom(testCaseClass) || matchesCurrentBucket(testCaseClass.getName())) { return true; } } return false; }