ENH: Convert six no-arg ImageIntensity tests to GoogleTest#6143
Merged
dzenanz merged 6 commits intoApr 27, 2026
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
dzenanz
approved these changes
Apr 27, 2026
hjmjohnson
pushed a commit
to hjmjohnson/ITK
that referenced
this pull request
May 6, 2026
…vert-filter-gtests-2026-04-25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mechanical CTest → GoogleTest conversion of the six alphabetically-first no-argument tests under `Modules/Filtering/ImageIntensity/test/`. Same pattern as #6071 and #6132. All six pass against `ITKImageIntensityGTestDriver` locally.
Conversions
Each conversion is a single `git mv`-tracked rename + body edit + `CMakeLists.txt` update — `git log --follow` keeps the pre-conversion history. CMake source-list entries kept alphabetically sorted in both `ITKImageIntensityTests` (legacy) and `ITKImageIntensityGTests`.
Mechanical-conversion details
Local verification
```
[----------] Global test environment tear-down
[==========] 11 tests from 8 test suites ran. (1 ms total)
[ PASSED ] 11 tests.
```
Filter: full `ITKImageIntensityGTestDriver` (no `--gtest_filter`). All converted tests run; pre-existing `ArithmeticOpsTest` and `BitwiseOpsTest` GTests still pass.