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

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

#include <reader_base_tester.hpp>

Inheritance diagram for ReaderBaseTester:
Inheritance graph
Collaboration diagram for ReaderBaseTester:
Collaboration graph

Public Member Functions

void testTrim (const std::string &input, const std::string &expected)
 Test the trim method of ReaderBase.
 
void testParseBool (const std::string &input, const bool &expected)
 Test the parseBool method of ReaderBase.
 
void testParseDouble (const std::string &input, const double &expected)
 Test the parseDouble method of ReaderBase.
 
void testParseInt (const std::string &input, const int &expected)
 Test the parseInt method of ReaderBase.
 
void testParseMethod (const std::string &input, const Method &expected)
 Test the parseMethod method of ReaderBase.
 

Detailed Description

Test fixture class for ReaderBase unit tests.

Member Function Documentation

◆ testParseBool()

void ReaderBaseTester::testParseBool ( const std::string &  input,
const bool &  expected 
)
inline

Test the parseBool method of ReaderBase.

Parameters
inputThe input string representing a boolean value.
expectedThe expected boolean value.
Here is the call graph for this function:

◆ testParseDouble()

void ReaderBaseTester::testParseDouble ( const std::string &  input,
const double &  expected 
)
inline

Test the parseDouble method of ReaderBase.

Parameters
inputThe input string representing a double value.
expectedThe expected double value.
Here is the call graph for this function:

◆ testParseInt()

void ReaderBaseTester::testParseInt ( const std::string &  input,
const int &  expected 
)
inline

Test the parseInt method of ReaderBase.

Parameters
inputThe input string representing an integer value.
expectedThe expected integer value.
Here is the call graph for this function:

◆ testParseMethod()

void ReaderBaseTester::testParseMethod ( const std::string &  input,
const Method expected 
)
inline

Test the parseMethod method of ReaderBase.

Parameters
inputThe input string representing a Method.
expectedThe expected Method value.
Here is the call graph for this function:

◆ testTrim()

void ReaderBaseTester::testTrim ( const std::string &  input,
const std::string &  expected 
)
inline

Test the trim method of ReaderBase.

Parameters
inputThe input string to be trimmed.
expectedThe expected trimmed string.
Here is the call graph for this function:

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