ParCompMarkTest::TestStringConverter Class Reference
#include <TestStringConverter.h>
Detailed Description
Test suite for ParCompMark::StringConverter.This is a CppUnit test suite for class ParCompMark::StringConverter of project ParCompMark.
Definition at line 56 of file TestStringConverter.h.
Public Member Functions | |
void | setUp () |
Sets up context before running a test. | |
void | tearDown () |
Cleans up after the test run. | |
Protected Member Functions | |
void | test_toString_cu8 () |
Tests method StringConverter::toString(const u8 &value). | |
void | test_toString_cu16 () |
Tests method StringConverter::toString(const u16 &value). | |
void | test_toString_cu32 () |
Tests method StringConverter::toString(const u32 &value). | |
void | test_toString_cs8 () |
Tests method StringConverter::toString(const s8 &value). | |
void | test_toString_cs16 () |
Tests method StringConverter::toString(const s16 &value). | |
void | test_toString_cs32 () |
Tests method StringConverter::toString(const s32 &value). | |
void | test_toString_cReal_cs32_cs32 () |
Tests method StringConverter::toString(const Real &value, const s32 &fieldWidth = StringConverter::DEFAULTFIELDWIDTH, const s32 &precision = StringConverter::DEFAULTPRECISION). | |
void | test_toString_cbool () |
Tests method StringConverter::toString(const bool value). | |
void | test_toString_cvoid_p () |
Tests method StringConverter::toString(const void * value). | |
void | test_toU32_cstd__string () |
Tests method StringConverter::toU32(const std::string value). | |
void | test_toReal_cstd__string () |
Tests method StringConverter::toReal(const std::string value). | |
void | test_parsePointer_cstd__string () |
Tests method StringConverter::parsePointer(const std::string value). | |
void | test_trim_std__string () |
Tests method StringConverter::trim(std::string &str). | |
void | test_tokenize_cstd__string_cchar_p () |
Tests method StringConverter::tokenize(const std::string &str, const char * delimiters). | |
void | test__fitFieldWidth_cstd__string_cs32 () |
Tests method StringConverter::_fitFieldWidth(const std::string &str, const s32 &fieldWidth). |
Member Function Documentation
void ParCompMarkTest::TestStringConverter::setUp | ( | ) |
void ParCompMarkTest::TestStringConverter::tearDown | ( | ) |
void ParCompMarkTest::TestStringConverter::test__fitFieldWidth_cstd__string_cs32 | ( | ) | [protected] |
Tests method StringConverter::_fitFieldWidth(const std::string &str, const s32 &fieldWidth).
Definition at line 267 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_parsePointer_cstd__string | ( | ) | [protected] |
Tests method StringConverter::parsePointer(const std::string value).
Definition at line 225 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_tokenize_cstd__string_cchar_p | ( | ) | [protected] |
Tests method StringConverter::tokenize(const std::string &str, const char * delimiters).
Definition at line 253 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toReal_cstd__string | ( | ) | [protected] |
Tests method StringConverter::toReal(const std::string value).
Definition at line 208 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cbool | ( | ) | [protected] |
Tests method StringConverter::toString(const bool value).
Definition at line 166 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cReal_cs32_cs32 | ( | ) | [protected] |
Tests method StringConverter::toString(const Real &value, const s32 &fieldWidth = StringConverter::DEFAULTFIELDWIDTH, const s32 &precision = StringConverter::DEFAULTPRECISION).
Definition at line 152 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cs16 | ( | ) | [protected] |
Tests method StringConverter::toString(const s16 &value).
Definition at line 124 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cs32 | ( | ) | [protected] |
Tests method StringConverter::toString(const s32 &value).
Definition at line 138 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cs8 | ( | ) | [protected] |
Tests method StringConverter::toString(const s8 &value).
Definition at line 110 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cu16 | ( | ) | [protected] |
Tests method StringConverter::toString(const u16 &value).
Definition at line 82 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cu32 | ( | ) | [protected] |
Tests method StringConverter::toString(const u32 &value).
Definition at line 96 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cu8 | ( | ) | [protected] |
Tests method StringConverter::toString(const u8 &value).
Definition at line 68 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toString_cvoid_p | ( | ) | [protected] |
Tests method StringConverter::toString(const void * value).
Definition at line 180 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_toU32_cstd__string | ( | ) | [protected] |
Tests method StringConverter::toU32(const std::string value).
Definition at line 194 of file TestStringConverter.cpp.
void ParCompMarkTest::TestStringConverter::test_trim_std__string | ( | ) | [protected] |
Tests method StringConverter::trim(std::string &str).
Definition at line 239 of file TestStringConverter.cpp.
The documentation for this class was generated from the following files: