if(excludes == null || excludes.isEmpty()) return Collections.enumeration(Collections.EMPTY_SET);
List<TestCase> filtered = new ArrayList<TestCase>();
while(testCases.hasMoreElements())
{
Test t = testCases.nextElement();
if (t instanceof TestCase)
{
TestCase tc = (TestCase)t;
if(!excludes.contains(tc.getName()))
filtered.add(tc);