System.out.println(builder);
}
@Test
public void testFalsePositives() {
ThreadFixBridge threadFixBridge = getThreadFixBridge();
builder = new StringBuilder();
for (Map.Entry<ScannerType, Collection<String>> outerEntry : FolderMappings.getEntries()) {
for (Map.Entry<ScannerType, Collection<String>> innerEntry : FolderMappings.getEntries()) {
if (innerEntry.getKey() != outerEntry.getKey()) {
for (String file : innerEntry.getValue()) {
try {
ScanCheckResultBean returnBean =
threadFixBridge.testScan(outerEntry.getKey(), new File(file));
assertTrue("Got null return bean while testing " + file, returnBean != null);
assertTrue("Response status was success for scanner " + outerEntry.getKey() +
" and file " + file + ".",
returnBean.getScanCheckResult() != ScanImportStatus.SUCCESSFUL_SCAN);