BIND 10 trac2986test, updated. 50bd7f26db18969b1fd5d315c5efb3ed6db86664 [2186test] Some of uint64Value() is changed to intValue()

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jun 18 07:08:18 UTC 2013


The branch, trac2986test has been updated
       via  50bd7f26db18969b1fd5d315c5efb3ed6db86664 (commit)
      from  d763704c84807c6efb475f1dcab8118f4deeb343 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50bd7f26db18969b1fd5d315c5efb3ed6db86664
Author: Kazunori Fujiwara <fujiwara at wide.ad.jp>
Date:   Tue Jun 18 07:03:54 2013 +0900

    [2186test] Some of uint64Value() is changed to intValue()

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/tests/auth_srv_unittest.cc |    8 ++++----
 src/lib/cc/session.cc                   |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc
index 99d3ffb..75be2e6 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -157,9 +157,9 @@ protected:
              ++i)
         {
             if (i->first.compare(target_rcode_name) == 0) {
-                checkRcodeCounter(i->first, i->second->uint64Value(), value);
+                checkRcodeCounter(i->first, i->second->intValue(), value);
             } else {
-                checkRcodeCounter(i->first, i->second->uint64Value(), 0);
+                checkRcodeCounter(i->first, i->second->intValue(), 0);
             }
         }
     }
@@ -1455,7 +1455,7 @@ TEST_F(AuthSrvTest, queryCounterOpcodes) {
         // The counter should be initialized to expected value.
         EXPECT_EQ(expected - (i + 1),
                   server.getStatistics()->get("zones")->get("_SERVER_")->
-                  get("opcode")->get(item_name)->uint64Value());
+                  get("opcode")->get(item_name)->intValue());
 
         // For each possible opcode, create a request message and send it
         UnitTestUtil::createRequestMessage(request_message, Opcode(i),
@@ -1477,7 +1477,7 @@ TEST_F(AuthSrvTest, queryCounterOpcodes) {
         // depends on the opcode.
         EXPECT_EQ(expected,
                   server.getStatistics()->get("zones")->get("_SERVER_")->
-                  get("opcode")->get(item_name)->uint64Value());
+                  get("opcode")->get(item_name)->intValue());
     }
 }
 
diff --git a/src/lib/cc/session.cc b/src/lib/cc/session.cc
index 6e48a57..475daae 100644
--- a/src/lib/cc/session.cc
+++ b/src/lib/cc/session.cc
@@ -479,7 +479,7 @@ Session::group_sendmsg(ConstElementPtr msg, std::string group,
     LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_SEND).arg(msg->str()).
         arg(group);
     ElementPtr env = Element::createMap();
-    const long long int nseq = ++impl_->sequence_;
+    const int64_t nseq = ++impl_->sequence_;
 
     env->set(CC_HEADER_TYPE,
              Element::create(CC_COMMAND_SEND));
@@ -514,7 +514,7 @@ Session::reply(ConstElementPtr envelope, ConstElementPtr newmsg) {
     LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_REPLY).arg(envelope->str()).
         arg(newmsg->str());
     ElementPtr env = Element::createMap();
-    long long int nseq = ++impl_->sequence_;
+    int64_t nseq = ++impl_->sequence_;
 
     env->set(CC_HEADER_TYPE, Element::create(CC_COMMAND_SEND));
     env->set(CC_HEADER_FROM, Element::create(impl_->lname_));



More information about the bind10-changes mailing list