added assertion to validate that the base flag is being processed

Former-commit-id: 0364e57af8f548d010f17f948492e9472433c675
This commit is contained in:
Jeremy Long
2014-09-13 05:44:09 -04:00
parent 8fab2f58da
commit c785b39eda

View File

@@ -88,7 +88,15 @@ public class SuppressionHandlerTest {
xmlReader.parse(in);
List result = handler.getSuppressionRules();
List<SuppressionRule> result = handler.getSuppressionRules();
assertTrue(result.size() > 3);
int baseCount = 0;
for (SuppressionRule r : result) {
if (r.isBase()) {
baseCount++;
}
}
assertTrue(baseCount > 0);
}
}