From ba384eeb3cc007ff1d48db04fecc9356069456c5 Mon Sep 17 00:00:00 2001 From: marcinrzepeckiwroc Date: Wed, 15 Jul 2020 13:26:51 +0200 Subject: implement regex support in PM Mapper filtering mechanism Issue-ID: DCAEGEN2-2347 Signed-off-by: marcinrzepeckiwroc Change-Id: I3fdbae33ae318800ccc2758a191604fe79c2aaf4 --- .../lte/meas_results_manyinfo_regex/expected.xml | 42 ++++++++++++++++ .../lte/meas_results_manyinfo_regex/test.xml | 44 +++++++++++++++++ .../meas_type_and_r_manyinfo_regex/expected.xml | 48 +++++++++++++++++++ .../lte/meas_type_and_r_manyinfo_regex/test.xml | 56 ++++++++++++++++++++++ 4 files changed, 190 insertions(+) create mode 100644 src/test/resources/filter_test/lte/meas_results_manyinfo_regex/expected.xml create mode 100644 src/test/resources/filter_test/lte/meas_results_manyinfo_regex/test.xml create mode 100644 src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/expected.xml create mode 100644 src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/test.xml (limited to 'src/test/resources') diff --git a/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/expected.xml b/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/expected.xml new file mode 100644 index 0000000..d1044ad --- /dev/null +++ b/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/expected.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + zz3 + + 27 + false + + + + + + + a b + + 1 2 + false + + + + + + + aab1 b + + 1 2 + false + + + + + + + diff --git a/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/test.xml b/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/test.xml new file mode 100644 index 0000000..890fee4 --- /dev/null +++ b/src/test/resources/filter_test/lte/meas_results_manyinfo_regex/test.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + z aa zz3 bb + + 99 1 27 2 + false + + + + + + + z a zz b + + 99 1 27 2 + false + + + + + + + z aab1 zz b + + 99 1 27 2 + false + + + + + + + diff --git a/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/expected.xml b/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/expected.xml new file mode 100644 index 0000000..2a2a967 --- /dev/null +++ b/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/expected.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + aab1 + aab2 + b + + 1 + 99 + 2 + false + + + + + + + aab1 + + 1 + false + + + + + + + aab1 + bb3 + + 1 + 2 + false + + + + + + + diff --git a/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/test.xml b/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/test.xml new file mode 100644 index 0000000..9aa668e --- /dev/null +++ b/src/test/resources/filter_test/lte/meas_type_and_r_manyinfo_regex/test.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + aab1 + aab2 + z + b + + 1 + 99 + 3 + 2 + false + + + + + + + aab1 + z + bb + + 1 + 99 + 2 + false + + + + + + + aab1 + z + bb3 + + 1 + 99 + 2 + false + + + + + + + -- cgit 1.2.3-korg