From 415ee03c1f3c3ec30cca7274baf5d4979a9e403f Mon Sep 17 00:00:00 2001 From: One <43485962+c-git@users.noreply.github.com> Date: Wed, 11 Sep 2024 17:17:29 -0400 Subject: [PATCH] test: update snapshots --- .../log_viewer__app__data__tests__comparisons_any-2.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-3.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-4.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-5.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-6.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-7.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any-8.snap | 7 ++++++- .../log_viewer__app__data__tests__comparisons_any.snap | 7 ++++++- ...__app__data__tests__comparisons_specific_field-2.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-3.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-4.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-5.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-6.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-7.snap | 9 ++++++++- ...__app__data__tests__comparisons_specific_field-8.snap | 9 ++++++++- ...er__app__data__tests__comparisons_specific_field.snap | 9 ++++++++- .../log_viewer__app__data__tests__long.log_debug.snap | 2 +- .../log_viewer__app__data__tests__long.log_ron.snap | 2 +- .../log_viewer__app__data__tests__long.log_yaml.snap | 2 +- .../log_viewer__app__data__tests__short.log_debug.snap | 2 +- .../log_viewer__app__data__tests__short.log_ron.snap | 2 +- .../log_viewer__app__data__tests__short.log_yaml.snap | 2 +- 22 files changed, 118 insertions(+), 22 deletions(-) diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap index 13337ef..45ac682 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -17,3 +17,8 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: LessThanEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap index cc0a93f..f82a8fe 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -17,3 +17,8 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: Equal diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap index 7cead63..d93ec54 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,8 @@ rows: filtered_rows: - 0 - 1 +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: GreaterThan diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap index a831e80..7921124 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,8 @@ rows: filtered_rows: - 0 - 1 +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: GreaterThanEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap index 5b51f97..6d44d64 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,8 @@ rows: filtered_rows: - 0 - 1 +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: NotEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap index af24e9f..79f4514 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -18,3 +18,8 @@ rows: time: time value filtered_rows: - 1 +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: Contains diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap index 3a74799..e4f6089 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,8 @@ rows: filtered_rows: - 0 - 1 +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: NotContains diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap index 64f74ef..f66dd94 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -17,3 +17,8 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "20" + filter_on: Any + is_case_sensitive: false + comparator: LessThan diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap index d906fc9..8e2941b 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -20,3 +20,10 @@ rows: time: time value filtered_rows: - 1 +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: LessThanEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap index a669e65..db1d1cf 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -20,3 +20,10 @@ rows: time: time value filtered_rows: - 1 +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: Equal diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap index 0247b90..a5ee1a1 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,10 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: GreaterThan diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap index 081b1b5..1b31b10 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -20,3 +20,10 @@ rows: time: time value filtered_rows: - 1 +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: GreaterThanEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap index 2099804..a93ec64 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,10 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: NotEqual diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap index 9557219..5154204 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -20,3 +20,10 @@ rows: time: time value filtered_rows: - 1 +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: Contains diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap index 53a231b..602c4e8 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,10 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: NotContains diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap index daaf097..6f7a4cd 100644 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap +++ b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap @@ -1,5 +1,5 @@ --- -source: src/app/data.rs +source: src/app/data/tests.rs expression: data --- selected_row: ~ @@ -19,3 +19,10 @@ rows: otel.name: HTTP GET /status time: time value filtered_rows: [] +applied_filter: + search_key: "200" + filter_on: + Field: + name: http.status_code + is_case_sensitive: false + comparator: LessThan diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap index bc16a2d..d0016dc 100644 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap +++ b/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 44 expression: data --- Data { @@ -2139,4 +2138,5 @@ Data { }, ], filtered_rows: None, + applied_filter: None, } diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap index c8acbc3..caf2440 100644 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap +++ b/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 41 expression: data --- Data( @@ -2058,4 +2057,5 @@ Data( ), ], filtered_rows: None, + applied_filter: None, ) diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap index 204e228..863178e 100644 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap +++ b/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 42 expression: data --- selected_row: ~ @@ -1813,3 +1812,4 @@ rows: time: "2024-02-10T06:03:27.295589706Z" v: 0 filtered_rows: ~ +applied_filter: ~ diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap index 3770e35..6731e0b 100644 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap +++ b/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 44 expression: data --- Data { @@ -41,4 +40,5 @@ Data { }, ], filtered_rows: None, + applied_filter: None, } diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap index aa4e5c0..9b30782 100644 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap +++ b/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 41 expression: data --- Data( @@ -39,4 +38,5 @@ Data( ), ], filtered_rows: None, + applied_filter: None, ) diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap index 40d1503..058f222 100644 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap +++ b/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap @@ -1,6 +1,5 @@ --- source: src/app/data/tests.rs -assertion_line: 42 expression: data --- selected_row: ~ @@ -31,3 +30,4 @@ rows: time: "2024-02-10T03:13:04.191610465Z" v: 0 filtered_rows: ~ +applied_filter: ~