logic bug in tests

This commit is contained in:
Brian Sweeney 2018-09-05 18:36:01 -06:00
parent c8b72724c6
commit a3542d7f72

View File

@ -96,6 +96,8 @@ public class CommonAttributeSearchInterCaseTests extends NbTestCase {
* Run a search on the given type and ensure that all results are off that * Run a search on the given type and ensure that all results are off that
* type. * type.
* *
* No frequency filtering applied.
*
* @param type * @param type
*/ */
private void assertResultsAreOfType(CorrelationAttributeInstance.Type type) { private void assertResultsAreOfType(CorrelationAttributeInstance.Type type) {
@ -107,7 +109,7 @@ public class CommonAttributeSearchInterCaseTests extends NbTestCase {
CommonAttributeSearchResults metadata = builder.findMatches(); CommonAttributeSearchResults metadata = builder.findMatches();
assertTrue(verifyInstanceCount(metadata, 0)); assertFalse(verifyInstanceCount(metadata, 0));
assertTrue(this.utils.areAllResultsOfType(metadata, type)); assertTrue(this.utils.areAllResultsOfType(metadata, type));