ROOT
ROOT project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ReaderCSVTester Class Reference

Test fixture class for ReaderBase unit tests. More...

#include <reader_csv_tester.hpp>

Inheritance diagram for ReaderCSVTester:
Inheritance graph
Collaboration diagram for ReaderCSVTester:
Collaboration graph

Public Member Functions

void testSplitCsvLine (const std::string &line, const std::vector< std::string > &expected, const char sep=',', const char quote='"')
 Test the splitCsvLine method of ReaderCSV.
 

Detailed Description

Test fixture class for ReaderBase unit tests.

Member Function Documentation

◆ testSplitCsvLine()

void ReaderCSVTester::testSplitCsvLine ( const std::string &  line,
const std::vector< std::string > &  expected,
const char  sep = ',',
const char  quote = '"' 
)
inline

Test the splitCsvLine method of ReaderCSV.

Parameters
lineThe input CSV line to be split.
expectedThe expected vector of strings after splitting.
Here is the call graph for this function:

The documentation for this class was generated from the following file: