Repository: hbase Updated Branches: refs/heads/HBASE-14850 ad276ef32 -> 114817253
HBASE-16174 Hook cell test up, and fix broken cell test. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/11481725 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/11481725 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/11481725 Branch: refs/heads/HBASE-14850 Commit: 114817253178f4faef00db93a187e7076fac658d Parents: ad276ef Author: Elliott Clark <ecl...@apache.org> Authored: Tue Jul 5 11:13:01 2016 -0700 Committer: Elliott Clark <ecl...@apache.org> Committed: Wed Jul 6 12:11:09 2016 -0700 ---------------------------------------------------------------------- hbase-native-client/core/BUCK | 8 ++++++++ hbase-native-client/core/cell-test.cc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/11481725/hbase-native-client/core/BUCK ---------------------------------------------------------------------- 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"], ) http://git-wip-us.apache.org/repos/asf/hbase/blob/11481725/hbase-native-client/core/cell-test.cc ---------------------------------------------------------------------- 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<long>::max();