rocksdb/thrift/lib/cpp/protocol/neutronium/test/TARGETS
Dhruba Borthakur 80c663882a Create leveldb server via Thrift.
Summary:
First draft.
Unit tests pass.

Test Plan: unit tests attached

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D3969
2012-07-07 09:42:39 -07:00

42 lines
783 B
Plaintext

# Copyright 2011 Facebook
# @author Tudor Bosman (tudorb@fb.com)
thrift_library(
name = "if",
thrift_srcs = {
"neutronium_test.thrift" : [],
},
languages = ["cpp"],
thrift_cpp_options = "templates=only,neutronium",
cpp_deps = [],
)
cpp_unittest(
name = "intern_table_test",
srcs = ["InternTableTest.cpp"],
deps = [
"@/thrift/lib/cpp/protocol/neutronium",
"@/external/gflags",
],
external_deps = [
("gtest", None, "gtest_main"),
],
type = 'gtest',
)
cpp_unittest(
name = "neutronium_test",
srcs = ["NeutroniumTest.cpp"],
deps = [
"@/thrift/lib/cpp/protocol/neutronium",
"@/thrift/lib/cpp/util",
":if-cpp",
"@/common/fbunit:old_folly_benchmark",
],
external_deps = [
("gtest", None),
],
type = 'gtest',
)