Test fixture class for ReaderBase unit tests.
More...
#include <reader_base_tester.hpp>
Test fixture class for ReaderBase unit tests.
◆ testParseBool()
| void ReaderBaseTester::testParseBool |
( |
const std::string & |
input, |
|
|
const bool & |
expected |
|
) |
| |
|
inline |
Test the parseBool method of ReaderBase.
- Parameters
-
| input | The input string representing a boolean value. |
| expected | The expected boolean value. |
◆ testParseDouble()
| void ReaderBaseTester::testParseDouble |
( |
const std::string & |
input, |
|
|
const double & |
expected |
|
) |
| |
|
inline |
Test the parseDouble method of ReaderBase.
- Parameters
-
| input | The input string representing a double value. |
| expected | The expected double value. |
◆ testParseInt()
| void ReaderBaseTester::testParseInt |
( |
const std::string & |
input, |
|
|
const int & |
expected |
|
) |
| |
|
inline |
Test the parseInt method of ReaderBase.
- Parameters
-
| input | The input string representing an integer value. |
| expected | The expected integer value. |
◆ testParseMethod()
| void ReaderBaseTester::testParseMethod |
( |
const std::string & |
input, |
|
|
const Method & |
expected |
|
) |
| |
|
inline |
Test the parseMethod method of ReaderBase.
- Parameters
-
| input | The input string representing a Method. |
| expected | The expected Method value. |
◆ testTrim()
| void ReaderBaseTester::testTrim |
( |
const std::string & |
input, |
|
|
const std::string & |
expected |
|
) |
| |
|
inline |
Test the trim method of ReaderBase.
- Parameters
-
| input | The input string to be trimmed. |
| expected | The expected trimmed string. |
The documentation for this class was generated from the following file: