ParCompMarkTest::TestConfigOptions Class Reference
#include <TestConfigOptions.h>
Detailed Description
Test suite for ParCompMark::ConfigOptions.This is a CppUnit test suite for class ParCompMark::ConfigOptions of project ParCompMark.
Definition at line 56 of file TestConfigOptions.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_constructor () |
Tests constructor ConfigOptions::ConfigOptions(). | |
void | test_destructor () |
Tests destructor ConfigOptions::~ConfigOptions(). | |
void | test_initialize () |
Tests method ConfigOptions::initialize(). | |
void | test_finalize () |
Tests method ConfigOptions::finalize(). | |
void | test_hasOption_cstd__string () |
Tests method ConfigOptions::hasOption(const std::string &name). | |
void | test_getString_cstd__string () |
Tests method ConfigOptions::getString(const std::string &name). | |
void | test_getBool_cstd__string () |
Tests method ConfigOptions::getBool(const std::string &name). | |
void | test_getInteger_cstd__string () |
Tests method ConfigOptions::getInteger(const std::string &name). | |
void | test_getReal_cstd__string () |
Tests method ConfigOptions::getReal(const std::string &name). | |
void | test_testString_cstd__string_cstd__string () |
Tests method ConfigOptions::testString(const std::string &name, const std::string &value). | |
void | test_setString_cstd__string_cstd__string_cstd__string () |
Tests method ConfigOptions::setString(const std::string &name, const std::string &value, const std::string &description = ). | |
void | test_setBool_cstd__string_cbool_cstd__string () |
Tests method ConfigOptions::setBool(const std::string &name, const bool &value, const std::string &description = ). | |
void | test_setInteger_cstd__string_cs32_cstd__string () |
Tests method ConfigOptions::setInteger(const std::string &name, const s32 &value, const std::string &description = ). | |
void | test_setReal_cstd__string_cReal_cstd__string () |
Tests method ConfigOptions::setReal(const std::string &name, const Real &value, const std::string &description = ). | |
void | test_removeOption_cstd__string () |
Tests method ConfigOptions::removeOption(const std::string &name). | |
void | test_saveToIniFile_cstd__string () |
Tests method ConfigOptions::saveToIniFile(const std::string &filename). | |
void | test_loadFromIniFile_cstd__string () |
Tests method ConfigOptions::loadFromIniFile(const std::string &filename). | |
void | test_getValue_cstd__string_cConfigOptions__OptionType () |
Tests method ConfigOptions::getValue(const std::string &name, const ConfigOptions::OptionType &type). | |
void | test_setValue_cstd__string_cvoid_p_cConfigOptions__OptionType_cstd__string () |
Tests method ConfigOptions::setValue(const std::string &name, const void * value, const ConfigOptions::OptionType &type, const std::string &description). | |
void | test_getOptionTypeSize_cConfigOptions__OptionType () |
Tests method ConfigOptions::getOptionTypeSize(const ConfigOptions::OptionType &type). | |
void | test_optionToString_ConfigOptions__Option__Pointer () |
Tests method ConfigOptions::optionToString(ConfigOptions::Option::Pointer &option). |
Member Function Documentation
void ParCompMarkTest::TestConfigOptions::setUp | ( | ) |
void ParCompMarkTest::TestConfigOptions::tearDown | ( | ) |
void ParCompMarkTest::TestConfigOptions::test_constructor | ( | ) | [protected] |
Tests constructor ConfigOptions::ConfigOptions().
Definition at line 68 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_destructor | ( | ) | [protected] |
Tests destructor ConfigOptions::~ConfigOptions().
Definition at line 76 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_finalize | ( | ) | [protected] |
void ParCompMarkTest::TestConfigOptions::test_getBool_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::getBool(const std::string &name).
Definition at line 173 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_getInteger_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::getInteger(const std::string &name).
Definition at line 200 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_getOptionTypeSize_cConfigOptions__OptionType | ( | ) | [protected] |
Tests method ConfigOptions::getOptionTypeSize(const ConfigOptions::OptionType &type).
Definition at line 394 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_getReal_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::getReal(const std::string &name).
Definition at line 227 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_getString_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::getString(const std::string &name).
Definition at line 146 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_getValue_cstd__string_cConfigOptions__OptionType | ( | ) | [protected] |
Tests method ConfigOptions::getValue(const std::string &name, const ConfigOptions::OptionType &type).
Definition at line 366 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_hasOption_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::hasOption(const std::string &name).
Definition at line 117 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_initialize | ( | ) | [protected] |
void ParCompMarkTest::TestConfigOptions::test_loadFromIniFile_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::loadFromIniFile(const std::string &filename).
Definition at line 352 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_optionToString_ConfigOptions__Option__Pointer | ( | ) | [protected] |
Tests method ConfigOptions::optionToString(ConfigOptions::Option::Pointer &option).
Definition at line 408 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_removeOption_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::removeOption(const std::string &name).
Definition at line 324 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_saveToIniFile_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::saveToIniFile(const std::string &filename).
Definition at line 338 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_setBool_cstd__string_cbool_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::setBool(const std::string &name, const bool &value, const std::string &description = ).
Definition at line 282 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_setInteger_cstd__string_cs32_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::setInteger(const std::string &name, const s32 &value, const std::string &description = ).
Definition at line 296 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_setReal_cstd__string_cReal_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::setReal(const std::string &name, const Real &value, const std::string &description = ).
Definition at line 310 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_setString_cstd__string_cstd__string_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::setString(const std::string &name, const std::string &value, const std::string &description = ).
Definition at line 268 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_setValue_cstd__string_cvoid_p_cConfigOptions__OptionType_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::setValue(const std::string &name, const void * value, const ConfigOptions::OptionType &type, const std::string &description).
Definition at line 380 of file TestConfigOptions.cpp.
void ParCompMarkTest::TestConfigOptions::test_testString_cstd__string_cstd__string | ( | ) | [protected] |
Tests method ConfigOptions::testString(const std::string &name, const std::string &value).
Definition at line 254 of file TestConfigOptions.cpp.
The documentation for this class was generated from the following files: