Skip to content

Commit

Permalink
apache#2374 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaakKrut committed Apr 12, 2024
1 parent d3edbd5 commit 02dab2d
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -22,6 +22,7 @@
import org.apache.streampipes.processors.filters.jvm.processor.numericalfilter.ProcessingElementTestExecutor;


import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
Expand All @@ -35,8 +36,13 @@

public class TestBooleanFilterProcessor {

BooleanFilterProcessor processor;
private static final String FIELD_NAME = "Test";
private static final String FIELD_NAME_WITH_PREFIX = "s0::" + FIELD_NAME;
@BeforeEach
public void setup(){
processor = new BooleanFilterProcessor();
}
@ParameterizedTest
@MethodSource("data")
public void test(
Expand All @@ -45,8 +51,6 @@ public void test(
List<Boolean> outputEventBooleans
) {

var processor = new BooleanFilterProcessor();

Map<String, Object> userConfiguration =
Map.of(
BooleanFilterProcessor.BOOLEAN_MAPPING, FIELD_NAME_WITH_PREFIX,
Expand Down

0 comments on commit 02dab2d

Please sign in to comment.