case TEST_FOLDER:
if (!myConfig.getPattern().isEmpty())
specs.add(myConfig.getFolderName() + "/" + ";" + myConfig.getPattern() + "$");
else
specs.add(myConfig.getFolderName() + "/");
<BUG>break;
default:</BUG>
throw new IllegalArgumentException("Unknown test type: " + myConfig.getTestType());
}
return specs;

case TEST_FOLDER:
if (!myConfig.getPattern().isEmpty())
specs.add(myConfig.getFolderName() + "/" + ";" + myConfig.getPattern() + "$");
else
specs.add(myConfig.getFolderName() + "/");
break;
case TEST_FUNCTION:
specs.add(myConfig.getScriptName() + "::::" + myConfig.getMethodName());
break;
default:
throw new IllegalArgumentException("Unknown test type: " + myConfig.getTestType());
}
return specs;
