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/0eb150f9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0eb150f9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0eb150f9 Branch: refs/heads/HBASE-14850 Commit: 0eb150f9dce5c0dc3dae67a9da7b28f912853952 Parents: fa3ab42 Author: Elliott Clark <ecl...@apache.org> Authored: Tue Jul 5 11:13:01 2016 -0700 Committer: Elliott Clark <ecl...@apache.org> Committed: Mon Jul 11 16:47:26 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/0eb150f9/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/0eb150f9/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();