-
Notifications
You must be signed in to change notification settings - Fork 0
chore: migrate custom testing framework to GoogleTest #2
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c9d97e2
build: integrate GoogleTest using FetchContent
poyrazK 56c2710
test: refactor test_utils.hpp to use GoogleTest
poyrazK 086df79
test: migrate buffer_pool_tests to GoogleTest
poyrazK ad87907
test: migrate lock_manager_tests to GoogleTest
poyrazK ee0997f
test: migrate recovery_manager_tests to GoogleTest
poyrazK a374d64
test: migrate recovery_tests to GoogleTest
poyrazK 2d7dc6d
test: migrate statement_tests to GoogleTest
poyrazK 2fc667e
test: convert all suites to GoogleTest and fix linting warnings
poyrazK 636a8fe
style: fix linting and formatting in tests
poyrazK 475afd7
style: final clang-format alignment in tests
poyrazK e96a862
style: exact clang-format alignment for CI compliance
poyrazK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
latest stable google/googletest release tag 2025 2026💡 Result:
The latest stable
google/googletestrelease tag (covering 2025–2026, as of Feb 27, 2026) is:v1.17.0— released April 30, 2025 (commit52eb8108c5bdec04579160ae17225d66034bd723). [1][2]No newer stable release tag than v1.17.0 is shown on the upstream releases page. [1]
🌐 Web query:
GoogleTest v1.14.0 SHA256 checksum source archive zip GitHub💡 Result:
SHA256 for the GitHub source archive zip
v1.14.0.zip:https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip1f357c27ca988c3f7c6b4bf68a9395005ac6761f034046e9dde0896e3aba00e4[1]🌐 Web query:
GoogleTest v1.17.0 SHA256 checksum github source archive zip💡 Result:
SHA256 (GitHub source archive ZIP) for GoogleTest v1.17.0:
https://github.com/google/googletest/archive/v1.17.0.zip(redirects to the tag ZIP)40d4ec942217dcc84a9ebe2a68584ada7d4a33a8ee958755763278ea1c5e18ff[1]Pin GoogleTest to a stable release with checksum verification.
Using
refs/heads/main.zipat line 127 is mutable and non-reproducible; builds may change unexpectedly and integrity is not verified. Use the latest stable releasev1.17.0with SHA256 checksum validation:Suggested fix
FetchContent_Declare( googletest - URL https://github.com/google/googletest/archive/refs/heads/main.zip + URL https://github.com/google/googletest/archive/refs/tags/v1.17.0.zip + URL_HASH SHA256=40d4ec942217dcc84a9ebe2a68584ada7d4a33a8ee958755763278ea1c5e18ff )🤖 Prompt for AI Agents