-
Notifications
You must be signed in to change notification settings - Fork 604
Convert from boost test to gtest #434
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
base: spfresh_async_io
Are you sure you want to change the base?
Convert from boost test to gtest #434
Conversation
|
@bnavarma-ms please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
This pull request migrates the test suite from Boost.Test to Google Test (GTest) and updates the CMake configuration, test code, and includes accordingly. It also adds a VSCode configuration to improve C++ standard library header recognition. The most important changes are grouped below.
Test Framework Migration:
BOOST_AUTO_TEST_CASE,BOOST_CHECK,BOOST_ASSERT) with Google Test equivalents (TEST,ASSERT_*,EXPECT_*,GTEST_FAIL) across all test files, such asTest/src/AlgoTest.cpp,Test/cuda/pq_perf.cpp,Test/cuda/cuda_tests.cpp,Test/inc/Test.h,Test/src/Base64HelperTest.cpp, andTest/src/CommonHelperTest.cpp. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]CMake and Dependency Updates:
Test/CMakeLists.txtto remove Boost unit test framework as a dependency, and adds logic to find or fetch Google Test using CMake'sFetchContentif not already available. Updates the test executable to link against GTest. [1] [2]Code and Naming Cleanup:
namespaceandTESTconventions instead of Boost's suite macros. Renames some test functions for clarity (e.g.,Test→RunTest). [1] [2] [3] [4]Editor Configuration:
.vscode/settings.jsonfile to improve C++ standard library header recognition in VSCode by associating standard headers with the C++ language mode.Header File Updates:
Test/inc/Test.h).These changes collectively modernize the project's test infrastructure, making it easier to maintain and integrate with modern C++ development environments.