|
Log Surgeon
Test & API docs
|
Unit tests for ExpressionView to verify construction, bounds clamping, well-formedness, extension to adjacent wildcards, and regex generation. More...
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. | |
Unit tests for ExpressionView to verify construction, bounds clamping, well-formedness, extension to adjacent wildcards, and regex generation.
These unit tests contain the ExpressionView tag.
| void empty_expression_view | ( | ) |
Tests an empty ExpressionView.
| 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.
Negative casted values test wrap-around behavior.
| 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 full_expression_view | ( | ) |
Tests an ExpressionView that captures the entire Expression.
| void generate_expression_view_regex_string | ( | ) |
Tests generating regex strings from ExpressionView.
| void well_formed_expression_view | ( | ) |
Tests ExpressionViews for well-formedness.
| void wildcard_subrange_expression_view | ( | ) |
Tests an ExpressionView that captures a subrange of Expression with wildcards.