test: Migrate unit tests to gtest, integrate with CI (#2144)

This commit is contained in:
Zach Nelson
2026-05-25 15:51:53 -07:00
committed by GitHub
parent 4ee406897b
commit 6dbfc29c7e
17 changed files with 696 additions and 1368 deletions
+16
View File
@@ -0,0 +1,16 @@
add_executable(ReleaseJsonParserTest
ReleaseJsonParserTest.cpp
${REPO_ROOT}/lib/JsonParser/ReleaseJsonParser.cpp
${REPO_ROOT}/lib/JsonParser/StreamingJsonParser.cpp
)
target_include_directories(ReleaseJsonParserTest PRIVATE
${REPO_ROOT}/lib/JsonParser
)
target_link_libraries(ReleaseJsonParserTest PRIVATE
crosspoint_test_common
GTest::gtest_main
)
gtest_discover_tests(ReleaseJsonParserTest)