BIND 10 trac1613, updated. fcc5fed77df391264c67db28bba28dc48aa5021b [1613] constify
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 16 17:51:28 UTC 2012
The branch, trac1613 has been updated
via fcc5fed77df391264c67db28bba28dc48aa5021b (commit)
from 83e953bee2f7762739880a4ef01ca3246230af31 (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 fcc5fed77df391264c67db28bba28dc48aa5021b
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Feb 16 09:51:15 2012 -0800
[1613] constify
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/tests/auth_srv_unittest.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc
index da45706..fce0d7f 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -87,7 +87,7 @@ protected:
// Helper for checking Rcode statistic counters;
// Checks for one specific Rcode statistics counter value
- void checkRcodeCounter(const Rcode& rcode, int expected_value) {
+ void checkRcodeCounter(const Rcode& rcode, int expected_value) const {
EXPECT_EQ(expected_value, server.getCounter(rcode)) <<
"Expected Rcode count for " << rcode.toText() <<
" " << expected_value << ", was: " <<
@@ -95,7 +95,7 @@ protected:
}
// Checks whether all Rcode counters are set to zero
- void checkAllRcodeCountersZero() {
+ void checkAllRcodeCountersZero() const {
for (int i = 0; i < 17; i++) {
checkRcodeCounter(Rcode(i), 0);
}
@@ -103,7 +103,7 @@ protected:
// Checks whether all Rcode counters are set to zero except the given
// rcode (it is checked to be set to 'value')
- void checkAllRcodeCountersZeroExcept(const Rcode& rcode, int value) {
+ void checkAllRcodeCountersZeroExcept(const Rcode& rcode, int value) const {
for (int i = 0; i < 17; i++) {
const Rcode rc(i);
if (rc == rcode) {
More information about the bind10-changes
mailing list