Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix ctkCoreSettingsTest testMultiplePaths on Windows #1172

Merged

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Jan 13, 2024

Follow-up on commit f0bb5d7 (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

@jcfr jcfr added the Bug label Jan 13, 2024
@jcfr jcfr requested a review from lassoan January 13, 2024 17:53
@jcfr jcfr force-pushed the fix-ctkCoreSettingsTest-testMultiplePaths-windows branch from 672e00a to 2ab7c85 Compare January 13, 2024 17:56
Follow-up on commit f0bb5d7 (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
@jcfr jcfr force-pushed the fix-ctkCoreSettingsTest-testMultiplePaths-windows branch from 2ab7c85 to 2772723 Compare January 13, 2024 21:18
@jcfr jcfr enabled auto-merge (rebase) January 13, 2024 21:19
@jcfr jcfr disabled auto-merge January 14, 2024 04:37
@jcfr jcfr merged commit ee04e40 into commontk:master Jan 14, 2024
3 checks passed
@jcfr jcfr deleted the fix-ctkCoreSettingsTest-testMultiplePaths-windows branch January 14, 2024 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant