for (DefDescriptor<T> desc : descriptors) {
Map<String, String> values = Maps.newHashMap();
values.put("name", desc.getDescriptorName());
try {
TestSuiteDef suite = definitionService.getDefDescriptor(desc, "js", TestSuiteDef.class).getDef();
if (suite.getTestCaseDefs().size() == 0) {
unused.put(desc, values);
}
} catch (Throwable t) {
unused.put(desc, values);
}