[Minor] Add tests for ListParameter isIn() search
This commit is contained in:
parent
2ee6f9a689
commit
7b2ab07ada
|
@ -395,10 +395,14 @@ public class StrolchSearchTest {
|
|||
.and(param(BAG_ID, PARAM_LIST_FLOAT_ID, contains("6.0D,11.0D")))
|
||||
|
||||
.and(param(BAG_ID, PARAM_LIST_INTEGER_ID, isEqualTo(asList(5, 10, 15))))
|
||||
.and(param(BAG_ID, PARAM_LIST_INTEGER_ID, isIn(asList(5, 10))))
|
||||
.and(param(BAG_ID, PARAM_LIST_INTEGER_ID, contains(asList(5, 10))))
|
||||
|
||||
.and(param(BAG_ID, PARAM_LIST_LONG_ID, isEqualTo(asList(7L, 12L, 17L))))
|
||||
.and(param(BAG_ID, PARAM_LIST_STRING_ID, isEqualTo(asList("Hello", "World"))))
|
||||
.and(param(BAG_ID, PARAM_LIST_STRING_ID, isIn(asList("Hello", "World"))))
|
||||
.and(param(BAG_ID, PARAM_LIST_STRING_ID, isIn(asList("Hello", "World", "Extra"))))
|
||||
.and(param(BAG_ID, PARAM_LIST_STRING_ID, isIn(asList("Extra", "Sauce")).not()))
|
||||
|
||||
.and(paramNull(BAG_ID, "non-existant"))
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue