|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive tests for parse_utils.H. More...
#include <gtest/gtest.h>#include <fstream>#include <sstream>#include <cstdio>#include <filesystem>#include <string>#include <unistd.h>#include <parse_utils.H>Go to the source code of this file.
Classes | |
| class | ParseUtilsTest |
Functions | |
| TEST (PutCharInBufferTest, BasicAppend) | |
| TEST (PutCharInBufferTest, PointerAdvances) | |
| TEST (PutCharInBufferTest, FillsToCapacity) | |
| TEST (TokenScanningTest, InitSavesPosition) | |
| TEST (TokenScanningTest, CloseSavesToken) | |
| TEST (TokenScanningTest, CloseAddsNullTerminator) | |
| TEST_F (ParseUtilsTest, ReadCharBasic) | |
| TEST_F (ParseUtilsTest, ReadCharUpdatesColumn) | |
| TEST_F (ParseUtilsTest, ReadCharNewlineUpdatesLine) | |
| TEST_F (ParseUtilsTest, ReadCharThrowsOnEOF) | |
| TEST_F (ParseUtilsTest, SkipSpaces) | |
| TEST_F (ParseUtilsTest, SkipTabs) | |
| TEST_F (ParseUtilsTest, SkipNewlines) | |
| TEST_F (ParseUtilsTest, SkipMixedWhitespace) | |
| TEST_F (ParseUtilsTest, SkipNothingIfNoWhitespace) | |
| TEST_F (ParseUtilsTest, LoadPositiveNumber) | |
| TEST_F (ParseUtilsTest, LoadNegativeNumber) | |
| TEST_F (ParseUtilsTest, LoadZero) | |
| TEST_F (ParseUtilsTest, LoadNumberWithLeadingSpaces) | |
| TEST_F (ParseUtilsTest, LoadMultipleNumbers) | |
| TEST_F (ParseUtilsTest, LoadNumberAtEOF) | |
| TEST_F (ParseUtilsTest, LoadNumberAtEOFWithNewline) | |
| TEST_F (ParseUtilsTest, LoadLargeNumber) | |
| TEST_F (ParseUtilsTest, LoadNegativeLargeNumber) | |
| TEST_F (ParseUtilsTest, LoadNumberSetsToken) | |
| TEST_F (ParseUtilsTest, LoadUnquotedString) | |
| TEST_F (ParseUtilsTest, LoadQuotedString) | |
| TEST_F (ParseUtilsTest, LoadQuotedStringWithSpaces) | |
| TEST_F (ParseUtilsTest, LoadStringWithLeadingSpaces) | |
| TEST_F (ParseUtilsTest, LoadMultipleStrings) | |
| TEST_F (ParseUtilsTest, LoadMixedQuotedUnquoted) | |
| TEST_F (ParseUtilsTest, LoadEmptyQuotedString) | |
| TEST_F (ParseUtilsTest, LoadStringSetsToken) | |
| TEST_F (ParseUtilsTest, LoadStringWithNumbers) | |
| TEST_F (ParseUtilsTest, LoadQuotedStringWithNewline) | |
| TEST (CommandLineTest, SingleArgument) | |
| TEST (CommandLineTest, MultipleArguments) | |
| TEST (CommandLineTest, EmptyArguments) | |
| TEST (ResetParseStateTest, ResetsLineNumbers) | |
| TEST (ResetParseStateTest, ClearsToken) | |
| TEST_F (ParseUtilsTest, ParseSimpleConfigFile) | |
| TEST_F (ParseUtilsTest, ParseMixedContent) | |
| TEST_F (ParseUtilsTest, ParseMultilineFile) | |
| TEST_F (ParseUtilsTest, PositionTrackingAccurate) | |
| TEST_F (ParseUtilsTest, NumberOnlyMinus) | |
| TEST_F (ParseUtilsTest, StringWithSpecialChars) | |
| TEST_F (ParseUtilsTest, StringWithBackslash) | |
| TEST_F (ParseUtilsTest, VeryLongString) | |
| TEST (BufferSizeTest, HasReasonableValue) | |
| TEST (SourceLocationTest, DefaultConstruction) | |
| TEST (SourceLocationTest, FullConstruction) | |
| TEST (SourceLocationTest, ToStringWithFilename) | |
| TEST (SourceLocationTest, ToStringWithoutFilename) | |
| TEST (SourceLocationTest, CurrentFactory) | |
| TEST (ParseErrorTest, WithLocation) | |
| TEST (ParseErrorTest, LocationAccessor) | |
| TEST_F (ParseUtilsTest, PeekCharDoesNotConsume) | |
| TEST_F (ParseUtilsTest, MarkAndRestorePosition) | |
| TEST_F (ParseUtilsTest, SkipLineComment) | |
| TEST_F (ParseUtilsTest, SkipBlockComment) | |
| TEST_F (ParseUtilsTest, SkipBlockCommentMultiline) | |
| TEST_F (ParseUtilsTest, SkipWhitespaceAndComments) | |
| TEST_F (ParseUtilsTest, SkipHashComment) | |
| TEST_F (ParseUtilsTest, LoadDoubleBasic) | |
| TEST_F (ParseUtilsTest, LoadDoubleNegative) | |
| TEST_F (ParseUtilsTest, LoadDoubleScientific) | |
| TEST_F (ParseUtilsTest, LoadDoubleNegativeExponent) | |
| TEST_F (ParseUtilsTest, LoadDoubleLeadingDecimal) | |
| TEST_F (ParseUtilsTest, LoadDoubleTrailingDecimal) | |
| TEST_F (ParseUtilsTest, LoadHexNumber) | |
| TEST_F (ParseUtilsTest, LoadHexNumberLowercase) | |
| TEST_F (ParseUtilsTest, LoadOctalNumber) | |
| TEST_F (ParseUtilsTest, LoadOctalZero) | |
| TEST_F (ParseUtilsTest, LoadBinaryNumber) | |
| TEST_F (ParseUtilsTest, LoadBinaryNumberUpper) | |
| TEST_F (ParseUtilsTest, LoadIdentifierBasic) | |
| TEST_F (ParseUtilsTest, LoadIdentifierWithUnderscore) | |
| TEST_F (ParseUtilsTest, LoadIdentifierWithNumbers) | |
| TEST_F (ParseUtilsTest, LoadIdentifierCamelCase) | |
| TEST_F (ParseUtilsTest, LoadIdentifierInvalid) | |
| TEST (KeywordTest, IsKeywordTrue) | |
| TEST (KeywordTest, IsKeywordFalse) | |
| TEST_F (ParseUtilsTest, ExpectCharSuccess) | |
| TEST_F (ParseUtilsTest, ExpectCharFailure) | |
| TEST_F (ParseUtilsTest, ExpectSuccess) | |
| TEST_F (ParseUtilsTest, ExpectFailure) | |
| TEST_F (ParseUtilsTest, TryCharSuccess) | |
| TEST_F (ParseUtilsTest, TryCharFailure) | |
| TEST (EscapeTest, ProcessBasicEscapes) | |
| TEST (EscapeTest, ProcessUnknownEscape) | |
| TEST_F (ParseUtilsTest, LoadEscapedStringBasic) | |
| TEST_F (ParseUtilsTest, LoadEscapedStringMultipleEscapes) | |
| TEST_F (ParseUtilsTest, LoadEscapedStringQuotes) | |
| TEST_F (ParseUtilsTest, LoadEscapedStringBackslash) | |
| TEST_F (ParseUtilsTest, LoadEscapedStringUnterminated) | |
| TEST_F (ParseUtilsTest, LoadCharLiteralBasic) | |
| TEST_F (ParseUtilsTest, LoadCharLiteralEscaped) | |
| TEST_F (ParseUtilsTest, LoadCharLiteralTab) | |
| TEST_F (ParseUtilsTest, LoadCharLiteralQuote) | |
| TEST (TokenTypeTest, ToString) | |
| TEST (TokenTest, Construction) | |
| TEST (TokenTest, IsEof) | |
| TEST_F (ParseUtilsTest, LoadFileContents) | |
| TEST_F (ParseUtilsTest, LoadFileLines) | |
| TEST (FileUtilsTest, LoadFileContentsNotFound) | |
| TEST (StringUtilsTest, SplitString) | |
| TEST (StringUtilsTest, SplitStringEmpty) | |
| TEST (StringUtilsTest, TrimSpaces) | |
| TEST (StringUtilsTest, TrimTabs) | |
| TEST (StringUtilsTest, TrimEmpty) | |
| TEST_F (ParseUtilsTest, ParseSimpleExpression) | |
| TEST_F (ParseUtilsTest, ParseWithComments) | |
Comprehensive tests for parse_utils.H.
Definition in file parse_utils_test.cc.
| TEST | ( | BufferSizeTest | , |
| HasReasonableValue | |||
| ) |
Definition at line 662 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::Buffer_Size.
| TEST | ( | CommandLineTest | , |
| EmptyArguments | |||
| ) |
Definition at line 497 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::command_line_to_string().
| TEST | ( | CommandLineTest | , |
| MultipleArguments | |||
| ) |
Definition at line 489 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::command_line_to_string().
| TEST | ( | CommandLineTest | , |
| SingleArgument | |||
| ) |
Definition at line 481 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::command_line_to_string().
| TEST | ( | EscapeTest | , |
| ProcessBasicEscapes | |||
| ) |
Definition at line 1071 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::process_escape().
| TEST | ( | EscapeTest | , |
| ProcessUnknownEscape | |||
| ) |
Definition at line 1082 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::process_escape().
| TEST | ( | FileUtilsTest | , |
| LoadFileContentsNotFound | |||
| ) |
Definition at line 1228 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_file_contents().
| TEST | ( | KeywordTest | , |
| IsKeywordFalse | |||
| ) |
Definition at line 1000 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::is_keyword().
| TEST | ( | KeywordTest | , |
| IsKeywordTrue | |||
| ) |
Definition at line 991 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::is_keyword().
| TEST | ( | ParseErrorTest | , |
| LocationAccessor | |||
| ) |
Definition at line 729 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | ParseErrorTest | , |
| WithLocation | |||
| ) |
Definition at line 718 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | PutCharInBufferTest | , |
| BasicAppend | |||
| ) |
Definition at line 107 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::put_char_in_buffer().
| TEST | ( | PutCharInBufferTest | , |
| FillsToCapacity | |||
| ) |
Definition at line 133 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::put_char_in_buffer().
| TEST | ( | PutCharInBufferTest | , |
| PointerAdvances | |||
| ) |
Definition at line 120 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::put_char_in_buffer().
| TEST | ( | ResetParseStateTest | , |
| ClearsToken | |||
| ) |
Definition at line 523 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::reset_parse_state(), and Aleph::token_instance.
| TEST | ( | ResetParseStateTest | , |
| ResetsLineNumbers | |||
| ) |
Definition at line 508 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, Aleph::current_line_number, Aleph::previous_col_number, Aleph::previous_line_number, and Aleph::reset_parse_state().
| TEST | ( | SourceLocationTest | , |
| CurrentFactory | |||
| ) |
Definition at line 700 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::SourceLocation::current(), Aleph::current_col_number, Aleph::current_line_number, and Aleph::reset_parse_state().
| TEST | ( | SourceLocationTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 672 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | SourceLocationTest | , |
| FullConstruction | |||
| ) |
Definition at line 680 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | SourceLocationTest | , |
| ToStringWithFilename | |||
| ) |
Definition at line 688 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | SourceLocationTest | , |
| ToStringWithoutFilename | |||
| ) |
Definition at line 694 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | StringUtilsTest | , |
| SplitString | |||
| ) |
Definition at line 1237 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::DynList< T >::Iterator::get_curr(), Aleph::HTList::Iterator::next(), and Aleph::split_string().
| TEST | ( | StringUtilsTest | , |
| SplitStringEmpty | |||
| ) |
Definition at line 1248 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::split_string().
| TEST | ( | StringUtilsTest | , |
| TrimEmpty | |||
| ) |
Definition at line 1268 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::trim().
| TEST | ( | StringUtilsTest | , |
| TrimSpaces | |||
| ) |
Definition at line 1255 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::trim().
| TEST | ( | StringUtilsTest | , |
| TrimTabs | |||
| ) |
Definition at line 1263 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::trim().
| TEST | ( | TokenScanningTest | , |
| CloseAddsNullTerminator | |||
| ) |
Definition at line 173 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::close_token_scanning(), and Aleph::token_instance.
| TEST | ( | TokenScanningTest | , |
| CloseSavesToken | |||
| ) |
Definition at line 162 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::close_token_scanning(), and Aleph::token_instance.
| TEST | ( | TokenScanningTest | , |
| InitSavesPosition | |||
| ) |
Definition at line 151 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, Aleph::current_line_number, Aleph::init_token_scanning(), Aleph::previous_col_number, and Aleph::previous_line_number.
| TEST | ( | TokenTest | , |
| Construction | |||
| ) |
Definition at line 1185 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | TokenTest | , |
| IsEof | |||
| ) |
Definition at line 1195 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::Token::is_eof().
| TEST | ( | TokenTypeTest | , |
| ToString | |||
| ) |
Definition at line 1177 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::token_type_to_string().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectCharFailure | |||
| ) |
Definition at line 1021 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::expect_char().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectCharSuccess | |||
| ) |
Definition at line 1013 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::expect_char().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectFailure | |||
| ) |
Definition at line 1037 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::expect().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectSuccess | |||
| ) |
Definition at line 1029 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::expect().
| TEST_F | ( | ParseUtilsTest | , |
| LoadBinaryNumber | |||
| ) |
Definition at line 927 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_binary_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadBinaryNumberUpper | |||
| ) |
Definition at line 935 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_binary_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralBasic | |||
| ) |
Definition at line 1141 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_char_literal().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralEscaped | |||
| ) |
Definition at line 1149 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_char_literal().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralQuote | |||
| ) |
Definition at line 1165 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_char_literal().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralTab | |||
| ) |
Definition at line 1157 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_char_literal().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleBasic | |||
| ) |
Definition at line 847 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleLeadingDecimal | |||
| ) |
Definition at line 879 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleNegative | |||
| ) |
Definition at line 855 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleNegativeExponent | |||
| ) |
Definition at line 871 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleScientific | |||
| ) |
Definition at line 863 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleTrailingDecimal | |||
| ) |
Definition at line 887 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_double().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEmptyQuotedString | |||
| ) |
Definition at line 442 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringBackslash | |||
| ) |
Definition at line 1120 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_escaped_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringBasic | |||
| ) |
Definition at line 1093 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_escaped_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringMultipleEscapes | |||
| ) |
Definition at line 1102 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_escaped_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringQuotes | |||
| ) |
Definition at line 1111 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_escaped_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringUnterminated | |||
| ) |
Definition at line 1129 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_escaped_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadFileContents | |||
| ) |
Definition at line 1208 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_file_contents().
| TEST_F | ( | ParseUtilsTest | , |
| LoadFileLines | |||
| ) |
Definition at line 1216 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::DynList< T >::Iterator::get_curr(), Aleph::load_file_lines(), and Aleph::HTList::Iterator::next().
| TEST_F | ( | ParseUtilsTest | , |
| LoadHexNumber | |||
| ) |
Definition at line 895 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_hex_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadHexNumberLowercase | |||
| ) |
Definition at line 903 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_hex_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierBasic | |||
| ) |
Definition at line 947 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_identifier().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierCamelCase | |||
| ) |
Definition at line 971 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_identifier().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierInvalid | |||
| ) |
Definition at line 979 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_identifier().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierWithNumbers | |||
| ) |
Definition at line 963 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_identifier().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierWithUnderscore | |||
| ) |
Definition at line 955 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_identifier().
| TEST_F | ( | ParseUtilsTest | , |
| LoadLargeNumber | |||
| ) |
Definition at line 360 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMixedQuotedUnquoted | |||
| ) |
Definition at line 432 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMultipleNumbers | |||
| ) |
Definition at line 330 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMultipleStrings | |||
| ) |
Definition at line 422 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNegativeLargeNumber | |||
| ) |
Definition at line 368 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNegativeNumber | |||
| ) |
Definition at line 306 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberAtEOF | |||
| ) |
Definition at line 340 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberAtEOFWithNewline | |||
| ) |
Definition at line 351 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberSetsToken | |||
| ) |
Definition at line 376 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::load_number(), and Aleph::token_instance.
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberWithLeadingSpaces | |||
| ) |
Definition at line 322 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadOctalNumber | |||
| ) |
Definition at line 911 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_octal_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadOctalZero | |||
| ) |
Definition at line 919 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_octal_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadPositiveNumber | |||
| ) |
Definition at line 298 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedString | |||
| ) |
Definition at line 398 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedStringWithNewline | |||
| ) |
Definition at line 468 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedStringWithSpaces | |||
| ) |
Definition at line 406 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringSetsToken | |||
| ) |
Definition at line 450 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::load_string(), and Aleph::token_instance.
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringWithLeadingSpaces | |||
| ) |
Definition at line 414 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringWithNumbers | |||
| ) |
Definition at line 460 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadUnquotedString | |||
| ) |
Definition at line 390 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| LoadZero | |||
| ) |
Definition at line 314 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| MarkAndRestorePosition | |||
| ) |
Definition at line 753 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::mark_position(), Aleph::read_char_from_stream(), and Aleph::restore_position().
| TEST_F | ( | ParseUtilsTest | , |
| NumberOnlyMinus | |||
| ) |
Definition at line 622 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| ParseMixedContent | |||
| ) |
Definition at line 560 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::load_number(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| ParseMultilineFile | |||
| ) |
Definition at line 571 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_line_number, and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| ParseSimpleConfigFile | |||
| ) |
Definition at line 536 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::load_number(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| ParseSimpleExpression | |||
| ) |
Definition at line 1278 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::expect_char(), Aleph::load_double(), Aleph::load_identifier(), and Aleph::load_number().
| TEST_F | ( | ParseUtilsTest | , |
| ParseWithComments | |||
| ) |
Definition at line 1300 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::expect_char(), Aleph::load_identifier(), Aleph::load_number(), Aleph::skip_white_spaces(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| PeekCharDoesNotConsume | |||
| ) |
Definition at line 742 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::peek_char().
| TEST_F | ( | ParseUtilsTest | , |
| PositionTrackingAccurate | |||
| ) |
Definition at line 592 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::load_string(), Aleph::previous_col_number, and Aleph::previous_line_number.
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharBasic | |||
| ) |
Definition at line 194 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharNewlineUpdatesLine | |||
| ) |
Definition at line 216 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, Aleph::current_line_number, and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharThrowsOnEOF | |||
| ) |
Definition at line 229 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharUpdatesColumn | |||
| ) |
Definition at line 204 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| SkipBlockComment | |||
| ) |
Definition at line 794 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, and Aleph::skip_block_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipBlockCommentMultiline | |||
| ) |
Definition at line 808 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, Aleph::current_line_number, and Aleph::skip_block_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipHashComment | |||
| ) |
Definition at line 833 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| SkipLineComment | |||
| ) |
Definition at line 779 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::current_col_number, Aleph::current_line_number, and Aleph::skip_line_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipMixedWhitespace | |||
| ) |
Definition at line 274 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipNewlines | |||
| ) |
Definition at line 264 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipNothingIfNoWhitespace | |||
| ) |
Definition at line 284 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipSpaces | |||
| ) |
Definition at line 244 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipTabs | |||
| ) |
Definition at line 254 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipWhitespaceAndComments | |||
| ) |
Definition at line 823 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| StringWithBackslash | |||
| ) |
Definition at line 640 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| StringWithSpecialChars | |||
| ) |
Definition at line 632 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().
| TEST_F | ( | ParseUtilsTest | , |
| TryCharFailure | |||
| ) |
Definition at line 1056 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::skip_white_spaces(), and Aleph::try_char().
| TEST_F | ( | ParseUtilsTest | , |
| TryCharSuccess | |||
| ) |
Definition at line 1045 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::skip_white_spaces(), and Aleph::try_char().
| TEST_F | ( | ParseUtilsTest | , |
| VeryLongString | |||
| ) |
Definition at line 649 of file parse_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::load_string().