You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2017/06/06 18:32:43 UTC

hbase git commit: HBASE-18126 Increment class - addendum creates TestToStringToInt64 in bytes-util-test

Repository: hbase
Updated Branches:
  refs/heads/HBASE-14850 3e0332260 -> 3de6ecd0e


HBASE-18126 Increment class - addendum creates TestToStringToInt64 in bytes-util-test


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3de6ecd0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3de6ecd0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3de6ecd0

Branch: refs/heads/HBASE-14850
Commit: 3de6ecd0e2688c5988ea694fd2c561d66a905d62
Parents: 3e03322
Author: tedyu <yu...@gmail.com>
Authored: Tue Jun 6 11:32:36 2017 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Tue Jun 6 11:32:36 2017 -0700

----------------------------------------------------------------------
 hbase-native-client/utils/bytes-util-test.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3de6ecd0/hbase-native-client/utils/bytes-util-test.cc
----------------------------------------------------------------------
diff --git a/hbase-native-client/utils/bytes-util-test.cc b/hbase-native-client/utils/bytes-util-test.cc
index 676b441..ca64a21 100644
--- a/hbase-native-client/utils/bytes-util-test.cc
+++ b/hbase-native-client/utils/bytes-util-test.cc
@@ -46,7 +46,8 @@ TEST(TestBytesUtil, TestToStringBinary) {
 
   EXPECT_EQ("foo_\\x00\\xFF_bar",
             BytesUtil::ToStringBinary("foo_" + std::string{zero} + std::string{max} + "_bar"));
-
+}
+TEST(TestBytesUtil, TestToStringToInt64) {
   int64_t num = 761235;
   EXPECT_EQ(num, BytesUtil::ToInt64(BytesUtil::ToString(num)));