|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Functions | |
| TEST_CASE ("config file parsing", "[appConfigurator]") | |
| Verify that appConfigurator parses global, sectioned, and unused configuration entries. | |
| TEST_CASE ("readConfig handles failures and tracks recognized sources", "[appConfigurator]") | |
| Verifies mx::app::appConfigurator::readConfig handles parser errors and records config sources. | |
| TEST_CASE ("command-line configuration targets preserve metadata and typed values", "[appConfigurator]") | |
| Verifies command-line target metadata and typed retrieval used by hciReduce configuration loading. | |
| TEST_CASE ("command-line configuration tracks selected and unknown options", "[appConfigurator]") | |
| Verifies command-line filtering, indexed retrieval, unknown options, and reusable configuration state. | |
| TEST_CASE ("command-line-only targets retain duplicate names", "[appConfigurator]") | |
| Verifies that repeated command-line-only names retain their separate target registrations. | |
| TEST_CASE ("scalar configuration access covers HCI value types", "[appConfigurator]") | |
| Verifies scalar configuration defaults, typed conversions, indexed access, and source logging. | |
| TEST_CASE ("vector configuration access covers HCI value types", "[appConfigurator]") | |
| Verifies vector configuration defaults, empty values, delimiters, typed conversions, and source logging. | |
| TEST_CASE | ( | "command-line configuration targets preserve metadata and typed values" | , |
| "" | [appConfigurator] ) |
Verifies command-line target metadata and typed retrieval used by hciReduce configuration loading.
Definition at line 447 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::app::appConfigurator::isSet(), mx::app::appConfigurator::m_targets, mx::app::appConfigurator::nAdded, and mx::app::appConfigurator::parseCommandLine().
| TEST_CASE | ( | "command-line configuration tracks selected and unknown options" | , |
| "" | [appConfigurator] ) |
Verifies command-line filtering, indexed retrieval, unknown options, and reusable configuration state.
Definition at line 488 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::app::appConfigurator::clear(), mx::app::appConfigurator::clOnlyTargets, mx::app::appConfigurator::count(), mx::app::appConfigurator::get(), mx::app::appConfigurator::isSet(), mx::app::appConfigurator::m_sources, mx::app::appConfigurator::m_targets, mx::app::appConfigurator::m_unusedConfigs, mx::app::appConfigurator::nonOptions, mx::app::appConfigurator::parseCommandLine(), and mx::app::appConfigurator::verbosity().
| TEST_CASE | ( | "command-line-only targets retain duplicate names" | , |
| "" | [appConfigurator] ) |
Verifies that repeated command-line-only names retain their separate target registrations.
Definition at line 531 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::app::appConfigurator::clOnlyTargets, and mx::app::appConfigurator::m_targets.
| TEST_CASE | ( | "config file parsing" | , |
| "" | [appConfigurator] ) |
Verify that appConfigurator parses global, sectioned, and unused configuration entries.
Definition at line 70 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), and mx::app::iniFile::makeKey().
| TEST_CASE | ( | "readConfig handles failures and tracks recognized sources" | , |
| "" | [appConfigurator] ) |
Verifies mx::app::appConfigurator::readConfig handles parser errors and records config sources.
Definition at line 412 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::app::appConfigurator::m_sources, mx::app::appConfigurator::m_targets, mx::app::appConfigurator::m_unusedConfigs, and mx::app::appConfigurator::readConfig().
| TEST_CASE | ( | "scalar configuration access covers HCI value types" | , |
| "" | [appConfigurator] ) |
Verifies scalar configuration defaults, typed conversions, indexed access, and source logging.
Definition at line 548 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::meta::typeDescription< T >::code(), mx::app::appConfigurator::configLog, mx::app::appConfigurator::get(), mx::app::appConfigurator::m_sources, and mx::app::appConfigurator::m_targets.
| TEST_CASE | ( | "vector configuration access covers HCI value types" | , |
| "" | [appConfigurator] ) |
Verifies vector configuration defaults, empty values, delimiters, typed conversions, and source logging.
Definition at line 626 of file appConfigurator_test.cpp.
References mx::app::appConfigurator::add(), mx::app::appConfigurator::configLog, mx::app::appConfigurator::get(), mx::app::appConfigurator::m_sources, and mx::app::appConfigurator::m_targets.