Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
parse_csv_test.cc File Reference

Comprehensive test suite for parse-csv.H - CSV parsing utilities. More...

#include <gtest/gtest.h>
#include <sstream>
#include <fstream>
#include <cstdio>
#include <filesystem>
#include <parse-csv.H>
#include <unistd.h>
Include dependency graph for parse_csv_test.cc:

Go to the source code of this file.

Classes

class  CsvReadRowStreamTest
 
class  CsvReadRowStringTest
 
class  CsvReadAllTest
 
class  CsvEscapeTest
 
class  CsvWriteRowTest
 
class  CsvWriteAllTest
 
class  CsvFileTest
 
class  CsvNumColumnsTest
 
class  CsvIsRectangularTest
 
class  CsvGetColumnTest
 
class  CsvToNumberTest
 
class  CsvRoundTripTest
 
class  CsvEdgeCasesTest
 
class  CsvRowTest
 
class  CsvReaderTest
 
class  CsvFilterTest
 
class  CsvStatisticsTest
 
class  CsvTransformationTest
 
class  CsvUtilityTest
 
class  CsvJoinTest
 

Functions

 TEST_F (CsvReadRowStreamTest, SimpleRow)
 
 TEST_F (CsvReadRowStreamTest, SingleField)
 
 TEST_F (CsvReadRowStreamTest, EmptyFields)
 
 TEST_F (CsvReadRowStreamTest, QuotedField)
 
 TEST_F (CsvReadRowStreamTest, QuotedFieldWithDelimiter)
 
 TEST_F (CsvReadRowStreamTest, EscapedQuotes)
 
 TEST_F (CsvReadRowStreamTest, QuotedFieldWithNewline)
 
 TEST_F (CsvReadRowStreamTest, CRLFLineEnding)
 
 TEST_F (CsvReadRowStreamTest, NoTrailingNewline)
 
 TEST_F (CsvReadRowStreamTest, CustomDelimiter)
 
 TEST_F (CsvReadRowStreamTest, TabDelimiter)
 
 TEST_F (CsvReadRowStreamTest, MultipleRows)
 
 TEST_F (CsvReadRowStreamTest, EmptyStream)
 
 TEST_F (CsvReadRowStreamTest, WhitespacePreserved)
 
 TEST_F (CsvReadRowStringTest, SimpleRow)
 
 TEST_F (CsvReadRowStringTest, QuotedFieldInString)
 
 TEST_F (CsvReadRowStringTest, EscapedQuotesInString)
 
 TEST_F (CsvReadAllTest, MultipleRows)
 
 TEST_F (CsvReadAllTest, SingleRow)
 
 TEST_F (CsvReadAllTest, NoTrailingNewline)
 
 TEST_F (CsvReadAllTest, EmptyStream)
 
 TEST_F (CsvReadAllTest, RowsWithDifferentLengths)
 
 TEST_F (CsvReadAllTest, CustomDelimiter)
 
 TEST_F (CsvEscapeTest, NoEscapingNeeded)
 
 TEST_F (CsvEscapeTest, EscapeDelimiter)
 
 TEST_F (CsvEscapeTest, EscapeQuotes)
 
 TEST_F (CsvEscapeTest, EscapeNewline)
 
 TEST_F (CsvEscapeTest, EscapeCarriageReturn)
 
 TEST_F (CsvEscapeTest, EscapeMultipleSpecialChars)
 
 TEST_F (CsvEscapeTest, CustomDelimiter)
 
 TEST_F (CsvWriteRowTest, SimpleRow)
 
 TEST_F (CsvWriteRowTest, RowWithQuotedFields)
 
 TEST_F (CsvWriteRowTest, RowWithQuotesInField)
 
 TEST_F (CsvWriteRowTest, EmptyRow)
 
 TEST_F (CsvWriteRowTest, SingleField)
 
 TEST_F (CsvWriteRowTest, CustomDelimiter)
 
 TEST_F (CsvWriteRowTest, CustomLineEnding)
 
 TEST_F (CsvWriteAllTest, MultipleRows)
 
 TEST_F (CsvWriteAllTest, EmptyData)
 
 TEST_F (CsvFileTest, WriteAndReadFile)
 
 TEST_F (CsvFileTest, ReadNonExistentFile)
 
 TEST_F (CsvFileTest, WriteToInvalidPath)
 
 TEST_F (CsvFileTest, WriteAndReadWithSpecialCharacters)
 
 TEST_F (CsvNumColumnsTest, BasicUsage)
 
 TEST_F (CsvNumColumnsTest, EmptyRow)
 
 TEST_F (CsvNumColumnsTest, SingleColumn)
 
 TEST_F (CsvIsRectangularTest, EmptyData)
 
 TEST_F (CsvIsRectangularTest, RectangularData)
 
 TEST_F (CsvIsRectangularTest, NonRectangularData)
 
 TEST_F (CsvIsRectangularTest, SingleRow)
 
 TEST_F (CsvGetColumnTest, BasicColumn)
 
 TEST_F (CsvGetColumnTest, SecondColumn)
 
 TEST_F (CsvGetColumnTest, OutOfRangeColumn)
 
 TEST_F (CsvGetColumnTest, EmptyData)
 
 TEST_F (CsvToNumberTest, ConvertToInt)
 
 TEST_F (CsvToNumberTest, ConvertToLong)
 
 TEST_F (CsvToNumberTest, ConvertToDouble)
 
 TEST_F (CsvToNumberTest, ConvertToFloat)
 
 TEST_F (CsvToNumberTest, InvalidIntConversion)
 
 TEST_F (CsvToNumberTest, InvalidDoubleConversion)
 
 TEST_F (CsvToNumberTest, ConvertWithWhitespace)
 
 TEST_F (CsvRoundTripTest, SimpleDataRoundTrip)
 
 TEST_F (CsvRoundTripTest, ComplexDataRoundTrip)
 
 TEST_F (CsvEdgeCasesTest, OnlyNewlines)
 
 TEST_F (CsvEdgeCasesTest, OnlyDelimiters)
 
 TEST_F (CsvEdgeCasesTest, EmptyQuotedField)
 
 TEST_F (CsvEdgeCasesTest, QuotedFieldWithOnlyQuotes)
 
 TEST_F (CsvEdgeCasesTest, VeryLongField)
 
 TEST_F (CsvEdgeCasesTest, ManyColumns)
 
 TEST_F (CsvEdgeCasesTest, UnicodeContent)
 
 TEST (CsvIntegrationTest, TypicalWorkflow)
 
 TEST (CsvTypeTraits, NoDiscardAttribute)
 
 TEST_F (CsvRowTest, IndexAccess)
 
 TEST_F (CsvRowTest, HeaderAccess)
 
 TEST_F (CsvRowTest, HeaderAccessThrowsWithoutHeader)
 
 TEST_F (CsvRowTest, HeaderAccessThrowsForUnknownColumn)
 
 TEST_F (CsvRowTest, HasColumn)
 
 TEST_F (CsvRowTest, GetNumeric)
 
 TEST_F (CsvRowTest, SizeAndEmpty)
 
 TEST_F (CsvReaderTest, ReadWithHeader)
 
 TEST_F (CsvReaderTest, ReadRows)
 
 TEST_F (CsvReaderTest, Skip)
 
 TEST_F (CsvReaderTest, RowsRead)
 
 TEST_F (CsvReaderTest, RangeBasedFor)
 
 TEST_F (CsvReaderTest, FromStream)
 
 TEST_F (CsvFilterTest, FilterByPredicate)
 
 TEST_F (CsvFilterTest, FilterByValue)
 
 TEST_F (CsvFilterTest, SelectColumns)
 
 TEST_F (CsvFilterTest, SkipRows)
 
 TEST_F (CsvFilterTest, TakeRows)
 
 TEST_F (CsvStatisticsTest, CountRows)
 
 TEST_F (CsvStatisticsTest, CountEmpty)
 
 TEST_F (CsvStatisticsTest, CountIf)
 
 TEST_F (CsvStatisticsTest, FindRow)
 
 TEST_F (CsvStatisticsTest, FindByValue)
 
 TEST_F (CsvStatisticsTest, FindNotFound)
 
 TEST_F (CsvStatisticsTest, Distinct)
 
 TEST_F (CsvTransformationTest, Transpose)
 
 TEST_F (CsvTransformationTest, SortByColumn)
 
 TEST_F (CsvTransformationTest, SortByColumnNumeric)
 
 TEST_F (CsvTransformationTest, Unique)
 
 TEST_F (CsvTransformationTest, Transform)
 
 TEST_F (CsvTransformationTest, AddColumn)
 
 TEST_F (CsvTransformationTest, RenameColumn)
 
 TEST_F (CsvUtilityTest, SkipBom)
 
 TEST_F (CsvUtilityTest, SkipBomNotPresent)
 
 TEST_F (CsvUtilityTest, SkipBomKeepsShortAndPartialStreams)
 
 TEST_F (CsvUtilityTest, TrimFields)
 
 TEST_F (CsvUtilityTest, FillEmpty)
 
 TEST_F (CsvJoinTest, JoinHorizontal)
 
 TEST_F (CsvJoinTest, JoinVertical)
 
 TEST_F (CsvJoinTest, InnerJoin)
 
 TEST_F (CsvJoinTest, GroupBy)
 
int main (int argc, char **argv)
 

Detailed Description

Comprehensive test suite for parse-csv.H - CSV parsing utilities.

Tests cover:

  • csv_read_row: Basic parsing, quoted fields, escaped quotes, delimiters
  • csv_read_all: Multiple rows, empty rows, different line endings
  • csv_escape: Quoting rules, delimiter escaping, quote escaping
  • csv_write_row: Output formatting, proper escaping
  • csv_write_all: Multiple rows output
  • csv_read_file / csv_write_file: File I/O operations
  • csv_get_column: Column extraction
  • csv_to_number: Numeric conversions
  • csv_is_rectangular: Shape validation
  • Edge cases: Empty input, single field, trailing newlines

Definition in file parse_csv_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 1592 of file parse_csv_test.cc.

◆ TEST() [1/2]

◆ TEST() [2/2]

TEST ( CsvTypeTraits  ,
NoDiscardAttribute   
)

Definition at line 980 of file parse_csv_test.cc.

References Aleph::csv_is_rectangular(), Aleph::csv_num_columns(), and value.

◆ TEST_F() [1/111]

TEST_F ( CsvEdgeCasesTest  ,
EmptyQuotedField   
)

Definition at line 878 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [2/111]

TEST_F ( CsvEdgeCasesTest  ,
ManyColumns   
)

Definition at line 908 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [3/111]

TEST_F ( CsvEdgeCasesTest  ,
OnlyDelimiters   
)

Definition at line 867 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [4/111]

TEST_F ( CsvEdgeCasesTest  ,
OnlyNewlines   
)

Definition at line 858 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::Array< T >::size().

◆ TEST_F() [5/111]

TEST_F ( CsvEdgeCasesTest  ,
QuotedFieldWithOnlyQuotes   
)

Definition at line 889 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [6/111]

TEST_F ( CsvEdgeCasesTest  ,
UnicodeContent   
)

Definition at line 924 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [7/111]

TEST_F ( CsvEdgeCasesTest  ,
VeryLongField   
)

Definition at line 898 of file parse_csv_test.cc.

References Aleph::csv_read_row(), long_string(), and row.

◆ TEST_F() [8/111]

TEST_F ( CsvEscapeTest  ,
CustomDelimiter   
)

Definition at line 386 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [9/111]

TEST_F ( CsvEscapeTest  ,
EscapeCarriageReturn   
)

Definition at line 376 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [10/111]

TEST_F ( CsvEscapeTest  ,
EscapeDelimiter   
)

Definition at line 361 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [11/111]

TEST_F ( CsvEscapeTest  ,
EscapeMultipleSpecialChars   
)

Definition at line 381 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [12/111]

TEST_F ( CsvEscapeTest  ,
EscapeNewline   
)

Definition at line 371 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [13/111]

TEST_F ( CsvEscapeTest  ,
EscapeQuotes   
)

Definition at line 366 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [14/111]

TEST_F ( CsvEscapeTest  ,
NoEscapingNeeded   
)

Definition at line 354 of file parse_csv_test.cc.

References Aleph::csv_escape().

◆ TEST_F() [15/111]

TEST_F ( CsvFileTest  ,
ReadNonExistentFile   
)

Definition at line 588 of file parse_csv_test.cc.

References Aleph::csv_read_file().

◆ TEST_F() [16/111]

TEST_F ( CsvFileTest  ,
WriteAndReadFile   
)

◆ TEST_F() [17/111]

TEST_F ( CsvFileTest  ,
WriteAndReadWithSpecialCharacters   
)

◆ TEST_F() [18/111]

TEST_F ( CsvFileTest  ,
WriteToInvalidPath   
)

Definition at line 593 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_file(), and row.

◆ TEST_F() [19/111]

TEST_F ( CsvFilterTest  ,
FilterByPredicate   
)

Definition at line 1234 of file parse_csv_test.cc.

References Aleph::and, Aleph::csv_filter(), and row.

◆ TEST_F() [20/111]

TEST_F ( CsvFilterTest  ,
FilterByValue   
)

Definition at line 1243 of file parse_csv_test.cc.

References Aleph::csv_filter_by_value().

◆ TEST_F() [21/111]

TEST_F ( CsvFilterTest  ,
SelectColumns   
)

◆ TEST_F() [22/111]

TEST_F ( CsvFilterTest  ,
SkipRows   
)

Definition at line 1262 of file parse_csv_test.cc.

References Aleph::csv_skip_rows().

◆ TEST_F() [23/111]

TEST_F ( CsvFilterTest  ,
TakeRows   
)

Definition at line 1270 of file parse_csv_test.cc.

References Aleph::csv_take_rows().

◆ TEST_F() [24/111]

TEST_F ( CsvGetColumnTest  ,
BasicColumn   
)

◆ TEST_F() [25/111]

TEST_F ( CsvGetColumnTest  ,
EmptyData   
)

Definition at line 727 of file parse_csv_test.cc.

References Aleph::csv_get_column(), and Aleph::Array< T >::size().

◆ TEST_F() [26/111]

TEST_F ( CsvGetColumnTest  ,
OutOfRangeColumn   
)

Definition at line 719 of file parse_csv_test.cc.

References Aleph::csv_get_column(), and Aleph::csv_read_all().

◆ TEST_F() [27/111]

TEST_F ( CsvGetColumnTest  ,
SecondColumn   
)

◆ TEST_F() [28/111]

TEST_F ( CsvIsRectangularTest  ,
EmptyData   
)

Definition at line 657 of file parse_csv_test.cc.

References Aleph::csv_is_rectangular().

◆ TEST_F() [29/111]

TEST_F ( CsvIsRectangularTest  ,
NonRectangularData   
)

Definition at line 671 of file parse_csv_test.cc.

References Aleph::csv_is_rectangular(), and Aleph::csv_read_all().

◆ TEST_F() [30/111]

TEST_F ( CsvIsRectangularTest  ,
RectangularData   
)

Definition at line 663 of file parse_csv_test.cc.

References Aleph::csv_is_rectangular(), and Aleph::csv_read_all().

◆ TEST_F() [31/111]

TEST_F ( CsvIsRectangularTest  ,
SingleRow   
)

Definition at line 679 of file parse_csv_test.cc.

References Aleph::csv_is_rectangular(), and Aleph::csv_read_all().

◆ TEST_F() [32/111]

TEST_F ( CsvJoinTest  ,
GroupBy   
)

◆ TEST_F() [33/111]

TEST_F ( CsvJoinTest  ,
InnerJoin   
)

◆ TEST_F() [34/111]

TEST_F ( CsvJoinTest  ,
JoinHorizontal   
)

◆ TEST_F() [35/111]

TEST_F ( CsvJoinTest  ,
JoinVertical   
)

Definition at line 1540 of file parse_csv_test.cc.

References Aleph::csv_join_vertical(), and Aleph::csv_read_all().

◆ TEST_F() [36/111]

TEST_F ( CsvNumColumnsTest  ,
BasicUsage   
)

Definition at line 629 of file parse_csv_test.cc.

References Aleph::csv_num_columns(), Aleph::csv_read_row(), and row.

◆ TEST_F() [37/111]

TEST_F ( CsvNumColumnsTest  ,
EmptyRow   
)

Definition at line 637 of file parse_csv_test.cc.

References Aleph::csv_num_columns(), and row.

◆ TEST_F() [38/111]

TEST_F ( CsvNumColumnsTest  ,
SingleColumn   
)

Definition at line 643 of file parse_csv_test.cc.

References Aleph::csv_num_columns(), Aleph::csv_read_row(), and row.

◆ TEST_F() [39/111]

TEST_F ( CsvReadAllTest  ,
CustomDelimiter   
)

Definition at line 338 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::Array< T >::size().

◆ TEST_F() [40/111]

TEST_F ( CsvReadAllTest  ,
EmptyStream   
)

Definition at line 318 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::Array< T >::size().

◆ TEST_F() [41/111]

TEST_F ( CsvReadAllTest  ,
MultipleRows   
)

Definition at line 289 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::Array< T >::size().

◆ TEST_F() [42/111]

TEST_F ( CsvReadAllTest  ,
NoTrailingNewline   
)

Definition at line 309 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::Array< T >::size().

◆ TEST_F() [43/111]

TEST_F ( CsvReadAllTest  ,
RowsWithDifferentLengths   
)

◆ TEST_F() [44/111]

TEST_F ( CsvReadAllTest  ,
SingleRow   
)

◆ TEST_F() [45/111]

TEST_F ( CsvReaderTest  ,
FromStream   
)

Definition at line 1206 of file parse_csv_test.cc.

References Aleph::CsvReader::next().

◆ TEST_F() [46/111]

TEST_F ( CsvReaderTest  ,
RangeBasedFor   
)

Definition at line 1191 of file parse_csv_test.cc.

References Aleph::count(), Aleph::CsvReader::read_header(), and row.

◆ TEST_F() [47/111]

TEST_F ( CsvReaderTest  ,
ReadRows   
)

◆ TEST_F() [48/111]

◆ TEST_F() [49/111]

TEST_F ( CsvReaderTest  ,
RowsRead   
)

◆ TEST_F() [50/111]

TEST_F ( CsvReaderTest  ,
Skip   
)

◆ TEST_F() [51/111]

TEST_F ( CsvReadRowStreamTest  ,
CRLFLineEnding   
)

Definition at line 165 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [52/111]

TEST_F ( CsvReadRowStreamTest  ,
CustomDelimiter   
)

Definition at line 187 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [53/111]

TEST_F ( CsvReadRowStreamTest  ,
EmptyFields   
)

Definition at line 109 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [54/111]

TEST_F ( CsvReadRowStreamTest  ,
EmptyStream   
)

Definition at line 227 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [55/111]

TEST_F ( CsvReadRowStreamTest  ,
EscapedQuotes   
)

Definition at line 143 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [56/111]

TEST_F ( CsvReadRowStreamTest  ,
MultipleRows   
)

Definition at line 209 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and Aleph::Array< T >::size().

◆ TEST_F() [57/111]

TEST_F ( CsvReadRowStreamTest  ,
NoTrailingNewline   
)

Definition at line 176 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [58/111]

TEST_F ( CsvReadRowStreamTest  ,
QuotedField   
)

Definition at line 121 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [59/111]

TEST_F ( CsvReadRowStreamTest  ,
QuotedFieldWithDelimiter   
)

Definition at line 132 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [60/111]

TEST_F ( CsvReadRowStreamTest  ,
QuotedFieldWithNewline   
)

Definition at line 154 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [61/111]

TEST_F ( CsvReadRowStreamTest  ,
SimpleRow   
)

Definition at line 89 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [62/111]

TEST_F ( CsvReadRowStreamTest  ,
SingleField   
)

Definition at line 100 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [63/111]

TEST_F ( CsvReadRowStreamTest  ,
TabDelimiter   
)

Definition at line 198 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [64/111]

TEST_F ( CsvReadRowStreamTest  ,
WhitespacePreserved   
)

Definition at line 237 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [65/111]

TEST_F ( CsvReadRowStringTest  ,
EscapedQuotesInString   
)

Definition at line 274 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [66/111]

TEST_F ( CsvReadRowStringTest  ,
QuotedFieldInString   
)

Definition at line 265 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [67/111]

TEST_F ( CsvReadRowStringTest  ,
SimpleRow   
)

Definition at line 254 of file parse_csv_test.cc.

References Aleph::csv_read_row(), and row.

◆ TEST_F() [68/111]

TEST_F ( CsvRoundTripTest  ,
ComplexDataRoundTrip   
)

◆ TEST_F() [69/111]

TEST_F ( CsvRoundTripTest  ,
SimpleDataRoundTrip   
)

◆ TEST_F() [70/111]

TEST_F ( CsvRowTest  ,
GetNumeric   
)

Definition at line 1066 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [71/111]

TEST_F ( CsvRowTest  ,
HasColumn   
)

Definition at line 1049 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [72/111]

TEST_F ( CsvRowTest  ,
HeaderAccess   
)

Definition at line 1007 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [73/111]

TEST_F ( CsvRowTest  ,
HeaderAccessThrowsForUnknownColumn   
)

Definition at line 1036 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [74/111]

TEST_F ( CsvRowTest  ,
HeaderAccessThrowsWithoutHeader   
)

Definition at line 1026 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [75/111]

TEST_F ( CsvRowTest  ,
IndexAccess   
)

Definition at line 993 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), and row.

◆ TEST_F() [76/111]

TEST_F ( CsvRowTest  ,
SizeAndEmpty   
)

◆ TEST_F() [77/111]

TEST_F ( CsvStatisticsTest  ,
CountEmpty   
)

Definition at line 1299 of file parse_csv_test.cc.

References Aleph::csv_count_empty().

◆ TEST_F() [78/111]

TEST_F ( CsvStatisticsTest  ,
CountIf   
)

Definition at line 1304 of file parse_csv_test.cc.

References Aleph::and, Aleph::count(), Aleph::csv_count_if(), and row.

◆ TEST_F() [79/111]

TEST_F ( CsvStatisticsTest  ,
CountRows   
)

Definition at line 1294 of file parse_csv_test.cc.

References Aleph::csv_count_rows().

◆ TEST_F() [80/111]

TEST_F ( CsvStatisticsTest  ,
Distinct   
)

Definition at line 1334 of file parse_csv_test.cc.

References Aleph::csv_distinct(), Aleph::csv_read_all(), and Aleph::unique().

◆ TEST_F() [81/111]

TEST_F ( CsvStatisticsTest  ,
FindByValue   
)

Definition at line 1322 of file parse_csv_test.cc.

References Aleph::csv_find_by_value().

◆ TEST_F() [82/111]

TEST_F ( CsvStatisticsTest  ,
FindNotFound   
)

Definition at line 1328 of file parse_csv_test.cc.

References Aleph::csv_find_by_value().

◆ TEST_F() [83/111]

TEST_F ( CsvStatisticsTest  ,
FindRow   
)

Definition at line 1313 of file parse_csv_test.cc.

References Aleph::and, Aleph::csv_find_row(), and row.

◆ TEST_F() [84/111]

TEST_F ( CsvToNumberTest  ,
ConvertToDouble   
)

Definition at line 754 of file parse_csv_test.cc.

References Aleph::csv_to_number< double >().

◆ TEST_F() [85/111]

TEST_F ( CsvToNumberTest  ,
ConvertToFloat   
)

Definition at line 761 of file parse_csv_test.cc.

References Aleph::csv_to_number< float >().

◆ TEST_F() [86/111]

TEST_F ( CsvToNumberTest  ,
ConvertToInt   
)

Definition at line 741 of file parse_csv_test.cc.

References Aleph::csv_to_number< int >().

◆ TEST_F() [87/111]

TEST_F ( CsvToNumberTest  ,
ConvertToLong   
)

Definition at line 748 of file parse_csv_test.cc.

References Aleph::csv_to_number< long >().

◆ TEST_F() [88/111]

TEST_F ( CsvToNumberTest  ,
ConvertWithWhitespace   
)

Definition at line 778 of file parse_csv_test.cc.

References Aleph::csv_to_number< int >().

◆ TEST_F() [89/111]

TEST_F ( CsvToNumberTest  ,
InvalidDoubleConversion   
)

Definition at line 773 of file parse_csv_test.cc.

References Aleph::csv_to_number< double >().

◆ TEST_F() [90/111]

TEST_F ( CsvToNumberTest  ,
InvalidIntConversion   
)

Definition at line 767 of file parse_csv_test.cc.

References Aleph::csv_to_number< int >().

◆ TEST_F() [91/111]

TEST_F ( CsvTransformationTest  ,
AddColumn   
)

Definition at line 1417 of file parse_csv_test.cc.

References Aleph::csv_add_column(), row, Aleph::size(), and Aleph::sum().

◆ TEST_F() [92/111]

TEST_F ( CsvTransformationTest  ,
RenameColumn   
)

Definition at line 1434 of file parse_csv_test.cc.

References Aleph::csv_rename_column().

◆ TEST_F() [93/111]

TEST_F ( CsvTransformationTest  ,
SortByColumn   
)

Definition at line 1370 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::csv_sort_by_column().

◆ TEST_F() [94/111]

TEST_F ( CsvTransformationTest  ,
SortByColumnNumeric   
)

Definition at line 1382 of file parse_csv_test.cc.

References Aleph::csv_read_all().

◆ TEST_F() [95/111]

TEST_F ( CsvTransformationTest  ,
Transform   
)

Definition at line 1404 of file parse_csv_test.cc.

References Aleph::csv_transform().

◆ TEST_F() [96/111]

TEST_F ( CsvTransformationTest  ,
Transpose   
)

Definition at line 1359 of file parse_csv_test.cc.

References Aleph::csv_transpose(), and Aleph::size().

◆ TEST_F() [97/111]

TEST_F ( CsvTransformationTest  ,
Unique   
)

Definition at line 1394 of file parse_csv_test.cc.

References Aleph::csv_read_all(), Aleph::csv_unique(), and Aleph::unique().

◆ TEST_F() [98/111]

TEST_F ( CsvUtilityTest  ,
FillEmpty   
)

Definition at line 1506 of file parse_csv_test.cc.

References Aleph::csv_fill_empty(), and Aleph::csv_read_all().

◆ TEST_F() [99/111]

TEST_F ( CsvUtilityTest  ,
SkipBom   
)

Definition at line 1448 of file parse_csv_test.cc.

References Aleph::csv_read_row(), Aleph::csv_skip_bom(), and row.

◆ TEST_F() [100/111]

TEST_F ( CsvUtilityTest  ,
SkipBomKeepsShortAndPartialStreams   
)

Definition at line 1476 of file parse_csv_test.cc.

References Aleph::csv_skip_bom().

◆ TEST_F() [101/111]

TEST_F ( CsvUtilityTest  ,
SkipBomNotPresent   
)

Definition at line 1464 of file parse_csv_test.cc.

References Aleph::csv_read_row(), Aleph::csv_skip_bom(), and row.

◆ TEST_F() [102/111]

TEST_F ( CsvUtilityTest  ,
TrimFields   
)

Definition at line 1494 of file parse_csv_test.cc.

References Aleph::csv_read_all(), and Aleph::csv_trim_fields().

◆ TEST_F() [103/111]

TEST_F ( CsvWriteAllTest  ,
EmptyData   
)

Definition at line 507 of file parse_csv_test.cc.

References Aleph::csv_write_all(), and out.

◆ TEST_F() [104/111]

TEST_F ( CsvWriteAllTest  ,
MultipleRows   
)

Definition at line 487 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_all(), and out.

◆ TEST_F() [105/111]

TEST_F ( CsvWriteRowTest  ,
CustomDelimiter   
)

Definition at line 456 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.

◆ TEST_F() [106/111]

TEST_F ( CsvWriteRowTest  ,
CustomLineEnding   
)

Definition at line 469 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.

◆ TEST_F() [107/111]

TEST_F ( CsvWriteRowTest  ,
EmptyRow   
)

Definition at line 435 of file parse_csv_test.cc.

References Aleph::csv_write_row(), out, and row.

◆ TEST_F() [108/111]

TEST_F ( CsvWriteRowTest  ,
RowWithQuotedFields   
)

Definition at line 411 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.

◆ TEST_F() [109/111]

TEST_F ( CsvWriteRowTest  ,
RowWithQuotesInField   
)

Definition at line 424 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.

◆ TEST_F() [110/111]

TEST_F ( CsvWriteRowTest  ,
SimpleRow   
)

Definition at line 398 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.

◆ TEST_F() [111/111]

TEST_F ( CsvWriteRowTest  ,
SingleField   
)

Definition at line 445 of file parse_csv_test.cc.

References Aleph::Array< T >::append(), Aleph::csv_write_row(), out, and row.