Skip to content

Commit

Permalink
test(server): adding unit tests for reply builder
Browse files Browse the repository at this point in the history
Signed-off-by: Boaz Sade <[email protected]>
  • Loading branch information
boazsade committed Feb 8, 2023
1 parent 46b42e5 commit 79258fb
Show file tree
Hide file tree
Showing 2 changed files with 687 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/facade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ if (DF_USE_SSL)
target_compile_definitions(dfly_facade PRIVATE DFLY_USE_SSL)
endif()

cxx_link(dfly_facade base uring_fiber_lib fibers_ext strings_lib http_server_lib
cxx_link(dfly_facade base uring_fiber_lib fibers_ext strings_lib http_server_lib
${TLS_LIB} TRDP::mimalloc TRDP::dconv)

add_library(facade_test facade_test.cc)
cxx_link(facade_test dfly_facade gtest_main_ext)

cxx_test(memcache_parser_test dfly_facade LABELS DFLY)
cxx_test(redis_parser_test facade_test LABELS DFLY)
cxx_test(reply_builder_test facade_test LABELS DFLY)

add_executable(ok_backend ok_main.cc)
cxx_link(ok_backend dfly_facade)
Loading

0 comments on commit 79258fb

Please sign in to comment.