From 43811aee0903e78478c6a0345dd74aabb8e1538e Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Tue, 5 Jul 2016 11:13:01 -0700 Subject: [PATCH] HBASE-16174 Hook cell test up, and fix broken cell test. --- hbase-native-client/core/BUCK | 8 ++++++++ hbase-native-client/core/cell-test.cc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hbase-native-client/core/BUCK b/hbase-native-client/core/BUCK index 1c926e3..c615426 100644 --- a/hbase-native-client/core/BUCK +++ b/hbase-native-client/core/BUCK @@ -20,6 +20,7 @@ cxx_library( name="core", exported_headers=[ "client.h", + "cell.h", "hbase_macros.h", "region-location.h", "location-cache.h", @@ -28,6 +29,7 @@ cxx_library( "meta-utils.h", ], srcs=[ + "cell.cc", "client.cc", "location-cache.cc", "meta-utils.cc", @@ -51,6 +53,12 @@ cxx_test(name="location-cache-test", deps=[":core", "//test-util:test-util", ], run_test_separately=True, ) +cxx_test(name="cell-test", + srcs=[ + "cell-test.cc", + ], + deps=[":core", ], + run_test_separately=True, ) cxx_binary(name="simple-client", srcs=["simple-client.cc", ], deps=[":core", "//connection:connection"], ) diff --git a/hbase-native-client/core/cell-test.cc b/hbase-native-client/core/cell-test.cc index cbe50eb..49f567b 100644 --- a/hbase-native-client/core/cell-test.cc +++ b/hbase-native-client/core/cell-test.cc @@ -100,7 +100,7 @@ TEST(CellTest, MultipleCellsTest) { TEST(CellTest, CellRowTest) { std::string row = "only-row"; - std::string family = ""; + std::string family = "D"; std::string column = ""; std::string value = ""; long timestamp = std::numeric_limits::max(); -- 2.8.0-rc2