You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ik...@apache.org on 2024/04/24 20:14:16 UTC
(streampipes) branch 2374-provide-a-framework-to-easily-unit-test-processing-elements updated (64d2b94548 -> 92f55ecf8c)
This is an automated email from the ASF dual-hosted git repository.
ikrut pushed a change to branch 2374-provide-a-framework-to-easily-unit-test-processing-elements
in repository https://gitbox.apache.org/repos/asf/streampipes.git
from 64d2b94548 test(#2374): provide a framework to easily unit test processing elements (#2730)
add d3edbd5eaf #2374 refactored unit tests to use ProcessingElementTestExecutor
add 02dab2d670 #2374 cleanup
add 1b33586234 #2374 cleanup
add ccfe4adfdc #2374 updated test executor to non-static methods
add 4769f2451d #2374 updated test executor to non-static methods
add c25b1bee61 #2374 Added test configuration builder and resolved selector prefixes
add d9f268e565 #2374 Moved test executor to a new package
add 92f55ecf8c Merge remote-tracking branch 'apache/2374-provide-a-framework-to-easily-unit-test-processing-elements' into 2374-provide-a-framework-to-easily-unit-test-processing-elements
No new revisions were added by this update.
Summary of changes:
pom.xml | 1 +
.../streampipes-processors-filters-jvm/pom.xml | 9 +-
.../booleanfilter/TestBooleanFilterProcessor.java | 20 ++--
.../processor/compose/TestComposeProcessor.java | 45 +++++----
.../processor/merge/TestMergeByTimeProcessor.java | 104 ++++++++++++---------
.../NumericalFilterProcessorTest.java | 29 +++---
.../TestSwingingDoorTrendingFilterProcessor.java | 67 ++++++-------
.../textfilter/TestTextFilterProcessor.java | 19 ++--
.../pom.xml | 30 +++---
.../streampipes/test/executors/PrefixStrategy.java | 6 +-
.../executors}/ProcessingElementTestExecutor.java | 62 ++++++------
.../test/executors/TestConfiguration.java | 97 +++++++++++++++++++
12 files changed, 304 insertions(+), 185 deletions(-)
copy {streampipes-resource-management => streampipes-test-utils-executors}/pom.xml (85%)
copy streampipes-commons/src/main/java/org/apache/streampipes/commons/exceptions/NoValidSepTypeException.java => streampipes-test-utils-executors/src/test/java/org/apache/streampipes/test/executors/PrefixStrategy.java (88%)
rename {streampipes-extensions/streampipes-processors-filters-jvm/src/test/java/org/apache/streampipes/processors/filters/jvm/processor/numericalfilter => streampipes-test-utils-executors/src/test/java/org/apache/streampipes/test/executors}/ProcessingElementTestExecutor.java (78%)
create mode 100644 streampipes-test-utils-executors/src/test/java/org/apache/streampipes/test/executors/TestConfiguration.java