Log Surgeon
Test & API docs
Loading...
Searching...
No Matches
test-expression-view.cpp File Reference
#include <cstddef>
#include <string>
#include <log_surgeon/wildcard_query_parser/Expression.hpp>
#include <log_surgeon/wildcard_query_parser/ExpressionView.hpp>
#include <catch2/catch_message.hpp>
#include <catch2/catch_test_macros.hpp>

Functions

void empty_expression_view ()
 Tests an empty ExpressionView.
void full_expression_view ()
 Tests an ExpressionView that captures the entire Expression.
void wildcard_subrange_expression_view ()
 Tests an ExpressionView that captures a subrange of Expression with wildcards.
void escape_subrange_expression_view ()
 Tests an ExpressionView that captures a subrange of Expression with escaped literals.
void expression_view_bound_clamping ()
 Tests bound clamping during ExpressionViewconstruction.
void well_formed_expression_view ()
 Tests ExpressionViews for well-formedness.
void expression_view_starting_or_ending_with_greedy_wildcard ()
 Tests ExpressionViews for flanking greedy wildcards.
void extend_expression_view_to_adjacent_greedy_wildcards ()
 Tests extending ExpressionView to include adjacent greedy wildcards.
void generate_expression_view_regex_string ()
 Tests generating regex strings from ExpressionView.