test: Migrate unit tests to gtest, integrate with CI (#2144)
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user