From a3542d7f72e638c2041bc3b4f373a31cada2f19c Mon Sep 17 00:00:00 2001 From: Brian Sweeney Date: Wed, 5 Sep 2018 18:36:01 -0600 Subject: [PATCH] logic bug in tests --- .../CommonAttributeSearchInterCaseTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/CommonAttributeSearchInterCaseTests.java b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/CommonAttributeSearchInterCaseTests.java index f26c3960dd..523bb7de6c 100644 --- a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/CommonAttributeSearchInterCaseTests.java +++ b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/CommonAttributeSearchInterCaseTests.java @@ -96,6 +96,8 @@ public class CommonAttributeSearchInterCaseTests extends NbTestCase { * Run a search on the given type and ensure that all results are off that * type. * + * No frequency filtering applied. + * * @param type */ private void assertResultsAreOfType(CorrelationAttributeInstance.Type type) { @@ -107,7 +109,7 @@ public class CommonAttributeSearchInterCaseTests extends NbTestCase { CommonAttributeSearchResults metadata = builder.findMatches(); - assertTrue(verifyInstanceCount(metadata, 0)); + assertFalse(verifyInstanceCount(metadata, 0)); assertTrue(this.utils.areAllResultsOfType(metadata, type));