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
+15
View File
@@ -0,0 +1,15 @@
add_executable(StreamingJsonParserTest
StreamingJsonParserTest.cpp
${REPO_ROOT}/lib/JsonParser/StreamingJsonParser.cpp
)
target_include_directories(StreamingJsonParserTest PRIVATE
${REPO_ROOT}/lib/JsonParser
)
target_link_libraries(StreamingJsonParserTest PRIVATE
crosspoint_test_common
GTest::gtest_main
)
gtest_discover_tests(StreamingJsonParserTest)