mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 22:29:33 +00:00
logic bug in tests
This commit is contained in:
parent
c8b72724c6
commit
a3542d7f72
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user