|
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 <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 638 of file parse_utils_test.cc.
References Aleph::Buffer_Size, and Aleph::maps().
| TEST | ( | CommandLineTest | , |
| EmptyArguments | |||
| ) |
Definition at line 473 of file parse_utils_test.cc.
References Aleph::command_line_to_string(), and Aleph::maps().
| TEST | ( | CommandLineTest | , |
| MultipleArguments | |||
| ) |
Definition at line 465 of file parse_utils_test.cc.
References Aleph::command_line_to_string(), and Aleph::maps().
| TEST | ( | CommandLineTest | , |
| SingleArgument | |||
| ) |
Definition at line 457 of file parse_utils_test.cc.
References Aleph::command_line_to_string(), and Aleph::maps().
| TEST | ( | EscapeTest | , |
| ProcessBasicEscapes | |||
| ) |
Definition at line 1047 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::process_escape().
| TEST | ( | EscapeTest | , |
| ProcessUnknownEscape | |||
| ) |
Definition at line 1058 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::process_escape().
| TEST | ( | FileUtilsTest | , |
| LoadFileContentsNotFound | |||
| ) |
Definition at line 1203 of file parse_utils_test.cc.
References Aleph::load_file_contents(), and Aleph::maps().
| TEST | ( | KeywordTest | , |
| IsKeywordFalse | |||
| ) |
Definition at line 976 of file parse_utils_test.cc.
References Aleph::is_keyword(), and Aleph::maps().
| TEST | ( | KeywordTest | , |
| IsKeywordTrue | |||
| ) |
Definition at line 967 of file parse_utils_test.cc.
References Aleph::is_keyword(), and Aleph::maps().
| TEST | ( | ParseErrorTest | , |
| LocationAccessor | |||
| ) |
Definition at line 705 of file parse_utils_test.cc.
References Aleph::maps().
| TEST | ( | ParseErrorTest | , |
| WithLocation | |||
| ) |
Definition at line 694 of file parse_utils_test.cc.
References Aleph::maps().
| TEST | ( | PutCharInBufferTest | , |
| BasicAppend | |||
| ) |
Definition at line 83 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::put_char_in_buffer().
| TEST | ( | PutCharInBufferTest | , |
| FillsToCapacity | |||
| ) |
Definition at line 109 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::put_char_in_buffer().
| TEST | ( | PutCharInBufferTest | , |
| PointerAdvances | |||
| ) |
Definition at line 96 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::put_char_in_buffer().
| TEST | ( | ResetParseStateTest | , |
| ClearsToken | |||
| ) |
Definition at line 499 of file parse_utils_test.cc.
References Aleph::maps(), Aleph::reset_parse_state(), and Aleph::token_instance.
| TEST | ( | ResetParseStateTest | , |
| ResetsLineNumbers | |||
| ) |
Definition at line 484 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::current_line_number, Aleph::maps(), Aleph::previous_col_number, Aleph::previous_line_number, and Aleph::reset_parse_state().
| TEST | ( | SourceLocationTest | , |
| CurrentFactory | |||
| ) |
Definition at line 676 of file parse_utils_test.cc.
References Aleph::SourceLocation::current(), Aleph::current_col_number, Aleph::current_line_number, Aleph::maps(), and Aleph::reset_parse_state().
| TEST | ( | SourceLocationTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 648 of file parse_utils_test.cc.
References Aleph::SourceLocation::column, Aleph::SourceLocation::filename, Aleph::SourceLocation::line, and Aleph::maps().
| TEST | ( | SourceLocationTest | , |
| FullConstruction | |||
| ) |
Definition at line 656 of file parse_utils_test.cc.
References Aleph::SourceLocation::column, Aleph::SourceLocation::filename, Aleph::SourceLocation::line, and Aleph::maps().
| TEST | ( | SourceLocationTest | , |
| ToStringWithFilename | |||
| ) |
Definition at line 664 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::SourceLocation::to_string().
| TEST | ( | SourceLocationTest | , |
| ToStringWithoutFilename | |||
| ) |
Definition at line 670 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::SourceLocation::to_string().
| TEST | ( | StringUtilsTest | , |
| SplitString | |||
| ) |
Definition at line 1212 of file parse_utils_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::split_string().
| TEST | ( | StringUtilsTest | , |
| SplitStringEmpty | |||
| ) |
Definition at line 1222 of file parse_utils_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::split_string().
| TEST | ( | StringUtilsTest | , |
| TrimEmpty | |||
| ) |
Definition at line 1242 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::trim().
| TEST | ( | StringUtilsTest | , |
| TrimSpaces | |||
| ) |
Definition at line 1229 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::trim().
| TEST | ( | StringUtilsTest | , |
| TrimTabs | |||
| ) |
Definition at line 1237 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::trim().
| TEST | ( | TokenScanningTest | , |
| CloseAddsNullTerminator | |||
| ) |
Definition at line 149 of file parse_utils_test.cc.
References Aleph::close_token_scanning(), Aleph::maps(), and Aleph::token_instance.
| TEST | ( | TokenScanningTest | , |
| CloseSavesToken | |||
| ) |
Definition at line 138 of file parse_utils_test.cc.
References Aleph::close_token_scanning(), Aleph::maps(), and Aleph::token_instance.
| TEST | ( | TokenScanningTest | , |
| InitSavesPosition | |||
| ) |
Definition at line 127 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::current_line_number, Aleph::init_token_scanning(), Aleph::maps(), Aleph::previous_col_number, and Aleph::previous_line_number.
| TEST | ( | TokenTest | , |
| Construction | |||
| ) |
Definition at line 1161 of file parse_utils_test.cc.
References Aleph::maps().
| TEST | ( | TokenTest | , |
| IsEof | |||
| ) |
Definition at line 1171 of file parse_utils_test.cc.
References Aleph::maps().
| TEST | ( | TokenTypeTest | , |
| ToString | |||
| ) |
Definition at line 1153 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::token_type_to_string().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectCharFailure | |||
| ) |
Definition at line 997 of file parse_utils_test.cc.
References Aleph::expect_char(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectCharSuccess | |||
| ) |
Definition at line 989 of file parse_utils_test.cc.
References Aleph::expect_char(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectFailure | |||
| ) |
Definition at line 1013 of file parse_utils_test.cc.
References Aleph::expect(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ExpectSuccess | |||
| ) |
Definition at line 1005 of file parse_utils_test.cc.
References Aleph::expect(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadBinaryNumber | |||
| ) |
Definition at line 903 of file parse_utils_test.cc.
References Aleph::load_binary_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadBinaryNumberUpper | |||
| ) |
Definition at line 911 of file parse_utils_test.cc.
References Aleph::load_binary_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralBasic | |||
| ) |
Definition at line 1117 of file parse_utils_test.cc.
References Aleph::load_char_literal(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralEscaped | |||
| ) |
Definition at line 1125 of file parse_utils_test.cc.
References Aleph::load_char_literal(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralQuote | |||
| ) |
Definition at line 1141 of file parse_utils_test.cc.
References Aleph::load_char_literal(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadCharLiteralTab | |||
| ) |
Definition at line 1133 of file parse_utils_test.cc.
References Aleph::load_char_literal(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleBasic | |||
| ) |
Definition at line 823 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleLeadingDecimal | |||
| ) |
Definition at line 855 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleNegative | |||
| ) |
Definition at line 831 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleNegativeExponent | |||
| ) |
Definition at line 847 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleScientific | |||
| ) |
Definition at line 839 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadDoubleTrailingDecimal | |||
| ) |
Definition at line 863 of file parse_utils_test.cc.
References Aleph::load_double(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEmptyQuotedString | |||
| ) |
Definition at line 418 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringBackslash | |||
| ) |
Definition at line 1096 of file parse_utils_test.cc.
References Aleph::load_escaped_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringBasic | |||
| ) |
Definition at line 1069 of file parse_utils_test.cc.
References Aleph::load_escaped_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringMultipleEscapes | |||
| ) |
Definition at line 1078 of file parse_utils_test.cc.
References Aleph::load_escaped_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringQuotes | |||
| ) |
Definition at line 1087 of file parse_utils_test.cc.
References Aleph::load_escaped_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadEscapedStringUnterminated | |||
| ) |
Definition at line 1105 of file parse_utils_test.cc.
References Aleph::load_escaped_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadFileContents | |||
| ) |
Definition at line 1184 of file parse_utils_test.cc.
References Aleph::load_file_contents(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadFileLines | |||
| ) |
Definition at line 1192 of file parse_utils_test.cc.
References Aleph::load_file_lines(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | ParseUtilsTest | , |
| LoadHexNumber | |||
| ) |
Definition at line 871 of file parse_utils_test.cc.
References Aleph::load_hex_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadHexNumberLowercase | |||
| ) |
Definition at line 879 of file parse_utils_test.cc.
References Aleph::load_hex_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierBasic | |||
| ) |
Definition at line 923 of file parse_utils_test.cc.
References Aleph::load_identifier(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierCamelCase | |||
| ) |
Definition at line 947 of file parse_utils_test.cc.
References Aleph::load_identifier(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierInvalid | |||
| ) |
Definition at line 955 of file parse_utils_test.cc.
References Aleph::load_identifier(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierWithNumbers | |||
| ) |
Definition at line 939 of file parse_utils_test.cc.
References Aleph::load_identifier(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadIdentifierWithUnderscore | |||
| ) |
Definition at line 931 of file parse_utils_test.cc.
References Aleph::load_identifier(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadLargeNumber | |||
| ) |
Definition at line 336 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMixedQuotedUnquoted | |||
| ) |
Definition at line 408 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMultipleNumbers | |||
| ) |
Definition at line 306 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadMultipleStrings | |||
| ) |
Definition at line 398 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNegativeLargeNumber | |||
| ) |
Definition at line 344 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNegativeNumber | |||
| ) |
Definition at line 282 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberAtEOF | |||
| ) |
Definition at line 316 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberAtEOFWithNewline | |||
| ) |
Definition at line 327 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberSetsToken | |||
| ) |
Definition at line 352 of file parse_utils_test.cc.
References Aleph::load_number(), Aleph::maps(), and Aleph::token_instance.
| TEST_F | ( | ParseUtilsTest | , |
| LoadNumberWithLeadingSpaces | |||
| ) |
Definition at line 298 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadOctalNumber | |||
| ) |
Definition at line 887 of file parse_utils_test.cc.
References Aleph::load_octal_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadOctalZero | |||
| ) |
Definition at line 895 of file parse_utils_test.cc.
References Aleph::load_octal_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadPositiveNumber | |||
| ) |
Definition at line 274 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedString | |||
| ) |
Definition at line 374 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedStringWithNewline | |||
| ) |
Definition at line 444 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadQuotedStringWithSpaces | |||
| ) |
Definition at line 382 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringSetsToken | |||
| ) |
Definition at line 426 of file parse_utils_test.cc.
References Aleph::load_string(), Aleph::maps(), and Aleph::token_instance.
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringWithLeadingSpaces | |||
| ) |
Definition at line 390 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadStringWithNumbers | |||
| ) |
Definition at line 436 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadUnquotedString | |||
| ) |
Definition at line 366 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| LoadZero | |||
| ) |
Definition at line 290 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| MarkAndRestorePosition | |||
| ) |
Definition at line 729 of file parse_utils_test.cc.
References Aleph::DynList< T >::get(), Aleph::maps(), Aleph::mark_position(), Aleph::read_char_from_stream(), and Aleph::restore_position().
| TEST_F | ( | ParseUtilsTest | , |
| NumberOnlyMinus | |||
| ) |
Definition at line 598 of file parse_utils_test.cc.
References Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ParseMixedContent | |||
| ) |
Definition at line 536 of file parse_utils_test.cc.
References Aleph::load_number(), Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ParseMultilineFile | |||
| ) |
Definition at line 547 of file parse_utils_test.cc.
References Aleph::current_line_number, Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ParseSimpleConfigFile | |||
| ) |
Definition at line 512 of file parse_utils_test.cc.
References Aleph::load_number(), Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ParseSimpleExpression | |||
| ) |
Definition at line 1252 of file parse_utils_test.cc.
References Aleph::expect_char(), Aleph::load_double(), Aleph::load_identifier(), Aleph::load_number(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| ParseWithComments | |||
| ) |
Definition at line 1274 of file parse_utils_test.cc.
References Aleph::expect_char(), Aleph::load_identifier(), Aleph::load_number(), Aleph::maps(), Aleph::skip_white_spaces(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| PeekCharDoesNotConsume | |||
| ) |
Definition at line 718 of file parse_utils_test.cc.
References Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::peek_char().
| TEST_F | ( | ParseUtilsTest | , |
| PositionTrackingAccurate | |||
| ) |
Definition at line 568 of file parse_utils_test.cc.
References Aleph::load_string(), Aleph::maps(), Aleph::previous_col_number, and Aleph::previous_line_number.
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharBasic | |||
| ) |
Definition at line 170 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharNewlineUpdatesLine | |||
| ) |
Definition at line 192 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::current_line_number, Aleph::maps(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharThrowsOnEOF | |||
| ) |
Definition at line 205 of file parse_utils_test.cc.
References Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| ReadCharUpdatesColumn | |||
| ) |
Definition at line 180 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::maps(), and Aleph::read_char_from_stream().
| TEST_F | ( | ParseUtilsTest | , |
| SkipBlockComment | |||
| ) |
Definition at line 770 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::skip_block_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipBlockCommentMultiline | |||
| ) |
Definition at line 784 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::current_line_number, Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::skip_block_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipHashComment | |||
| ) |
Definition at line 809 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| SkipLineComment | |||
| ) |
Definition at line 755 of file parse_utils_test.cc.
References Aleph::current_col_number, Aleph::current_line_number, Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::skip_line_comment().
| TEST_F | ( | ParseUtilsTest | , |
| SkipMixedWhitespace | |||
| ) |
Definition at line 250 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipNewlines | |||
| ) |
Definition at line 240 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipNothingIfNoWhitespace | |||
| ) |
Definition at line 260 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipSpaces | |||
| ) |
Definition at line 220 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipTabs | |||
| ) |
Definition at line 230 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_white_spaces().
| TEST_F | ( | ParseUtilsTest | , |
| SkipWhitespaceAndComments | |||
| ) |
Definition at line 799 of file parse_utils_test.cc.
References Aleph::maps(), and Aleph::skip_whitespace_and_comments().
| TEST_F | ( | ParseUtilsTest | , |
| StringWithBackslash | |||
| ) |
Definition at line 616 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| StringWithSpecialChars | |||
| ) |
Definition at line 608 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().
| TEST_F | ( | ParseUtilsTest | , |
| TryCharFailure | |||
| ) |
Definition at line 1032 of file parse_utils_test.cc.
References Aleph::maps(), Aleph::skip_white_spaces(), and Aleph::try_char().
| TEST_F | ( | ParseUtilsTest | , |
| TryCharSuccess | |||
| ) |
Definition at line 1021 of file parse_utils_test.cc.
References Aleph::maps(), Aleph::skip_white_spaces(), and Aleph::try_char().
| TEST_F | ( | ParseUtilsTest | , |
| VeryLongString | |||
| ) |
Definition at line 625 of file parse_utils_test.cc.
References Aleph::load_string(), and Aleph::maps().