rocksdb/thrift/lib/cpp/server/test/TARGETS

61 lines
1.5 KiB
Plaintext

cpp_binary (
name = "aggregatorserver_test",
srcs = [
"AggregatorServerTest.cpp",
],
deps = [
"@/thrift/lib/cpp/async",
"@/thrift/lib/cpp/concurrency",
"@/thrift/lib/cpp/protocol",
"@/thrift/lib/cpp/server:nonblocking",
"@/common/fb303/cpp:fb303",
"@/common/base:profiler",
":aggregator_test_thrift",
],
allocator='tcmalloc',
)
cpp_binary (
name = "aggregatorclient_test",
srcs = [
"AggregatorClientTest.cpp",
],
deps = [
"@/thrift/lib/cpp/async",
"@/thrift/lib/cpp/concurrency",
"@/thrift/lib/cpp/protocol",
"@/common/fb303/cpp:fb303",
"@/common/base:profiler",
"@/common/client_mgmt:asyncclient",
"@/common/logging:logging",
":aggregator_test_thrift",
],
allocator='tcmalloc',
)
cpp_library (
name = "aggregator_test_thrift",
thrift_srcs = { "AggregatorTest.thrift" : [ "AggregatorTest" ] },
thrift_cpp_options = "cob_style",
deps = [
"@/common/fb303/if:fb303-cpp",
],
)
cpp_unittest(
name = "conn_ctx_test",
srcs = [
"ConnCtxTest.cpp",
],
thrift_srcs = { "connctx.thrift" : [ "ConnCtxService" ] },
deps = [
"@/thrift/lib/cpp/test:util",
"@/thrift/lib/cpp/util:nonblocking",
],
external_deps = [
('boost', '>= 1.37', 'boost_unit_test_framework'),
],
type = 'boost',
emails = ['thrift-team@lists.facebook.com'],
)