commontk / CTK

A set of common support code for medical imaging, surgical navigation, and related purposes.
https://commontk.org
Apache License 2.0
827 stars 481 forks source link

BUG: Fix ctkCoreSettingsTest testMultiplePaths on Windows #1172

Closed jcfr closed 5 months ago

jcfr commented 5 months ago

Follow-up on commit f0bb5d782 (ENH: Allow saving relative paths to settings) where the test case was incorrectly specified.

It fixes the following error:

10: FAIL!  : ctkCoreSettingsTester::testMultiplePaths(windows-style absolute paths) Compared lists differ at index 0.
10:    Actual   (settings.value(key).toStringList()): "d:/windows/path/internal/dir"
10:    Expected (expectedStoredValues): "<APPLICATION_HOME_DIR>/internal/dir"
10: C:\path\to\CTK\Libs\Core\Testing\Cpp\ctkCoreSettingsTest.cpp(115) : failure location