|
Log Surgeon
Test & API docs
|
Unit tests for QueryInterpretation construction, mutation, and comparison. More...
Functions | |
| void | empty_query_interpretation () |
| Creates an empty QueryInterpretation and tests serialization. | |
| void | static_text_query_interpretation () |
| Creates a QueryInterpretation with only static-text and tests serialization. | |
| void | variable_query_interpretation () |
| Creates a QueryInterpretation with a variable and tests serialization. | |
| void | wildcard_variable_query_interpretation () |
| Creates a QueryInterpretation with a wildcard variable and tests serialization. | |
| void | append_empty_static_text () |
| Appends empty static-text to a QueryInterpretation and tests serialization. | |
| void | append_empty_variable () |
| Appends an empty variable to a QueryInterpretation and tests serialization. | |
| void | append_empty_query_interpretation () |
| Appends an empty QueryInterpretation to another and tests serialization. | |
| void | append_tokens () |
| Appends a sequence of static and variable tokens and tests serialization. | |
| void | append_canonicalization () |
| Tests whether adjacent static-text tokens are merged for canonicalization. | |
| void | append_query_interpretation () |
| Appends a QueryInterpretation to another and tests serialization and canonicalization. | |
| void | comparison_operators () |
| Tests operator==, operator<=>, and all derived operators. | |
Unit tests for QueryInterpretation construction, mutation, and comparison.
These unit tests contain the QueryInterpretation tag.
| void append_canonicalization | ( | ) |
Tests whether adjacent static-text tokens are merged for canonicalization.
| void append_empty_query_interpretation | ( | ) |
Appends an empty QueryInterpretation to another and tests serialization.
| void append_empty_static_text | ( | ) |
Appends empty static-text to a QueryInterpretation and tests serialization.
| void append_empty_variable | ( | ) |
Appends an empty variable to a QueryInterpretation and tests serialization.
| void append_query_interpretation | ( | ) |
Appends a QueryInterpretation to another and tests serialization and canonicalization.
| void append_tokens | ( | ) |
Appends a sequence of static and variable tokens and tests serialization.
| void comparison_operators | ( | ) |
Tests operator==, operator<=>, and all derived operators.
| void empty_query_interpretation | ( | ) |
Creates an empty QueryInterpretation and tests serialization.
| void static_text_query_interpretation | ( | ) |
Creates a QueryInterpretation with only static-text and tests serialization.
| void variable_query_interpretation | ( | ) |
Creates a QueryInterpretation with a variable and tests serialization.
| void wildcard_variable_query_interpretation | ( | ) |
Creates a QueryInterpretation with a wildcard variable and tests serialization.