mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

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.

Function Documentation

◆ TEST_CASE() [1/7]

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() [2/7]

◆ TEST_CASE() [3/7]

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() [4/7]

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() [5/7]

TEST_CASE ( "readConfig handles failures and tracks recognized sources" ,
"" [appConfigurator] )

◆ TEST_CASE() [6/7]

TEST_CASE ( "scalar configuration access covers HCI value types" ,
"" [appConfigurator] )

◆ TEST_CASE() [7/7]

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.