Skip to content

[codex] Add utility unit tests#2958

Open
jasonbeverage wants to merge 1 commit into
masterfrom
codex/add-simple-unit-tests
Open

[codex] Add utility unit tests#2958
jasonbeverage wants to merge 1 commit into
masterfrom
codex/add-simple-unit-tests

Conversation

@jasonbeverage
Copy link
Copy Markdown
Member

Summary

Adds five small unit tests for utility behavior that was not directly covered in the Catch test executable:

  • FileUtils query parameter removal/extraction
  • URL root-relative path resolution in getFullPath
  • URL query parameter merging in getFullPath
  • multi-character delimiters in StringTokenizer
  • recursive unquote behavior and bool parsing defaults

Validation

  • configure.bat
  • build.bat
  • Enabled OSGEARTH_BUILD_TESTS=ON in the existing CMake build tree so osgearth_tests is built
  • build.bat
  • cmd /c "call osgearth_shell.bat && cd tests && osgearth_tests"

Result: all tests passed, 314 assertions in 35 test cases.

@jasonbeverage jasonbeverage marked this pull request as ready for review May 2, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant