BIND 10 trac2157_2, updated. e3fb3a101e6874ca1c93e46916ab53f278c55642 [2157] corrected order of EXPECT_EQ params: 1st param should be the 'expected'.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jan 15 19:10:45 UTC 2013
The branch, trac2157_2 has been updated
via e3fb3a101e6874ca1c93e46916ab53f278c55642 (commit)
from 826d0c45b072ba36bbd60dc71fe3097cd604de74 (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 e3fb3a101e6874ca1c93e46916ab53f278c55642
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Jan 15 11:10:07 2013 -0800
[2157] corrected order of EXPECT_EQ params: 1st param should be the 'expected'.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/tests/auth_srv_unittest.cc | 12 ++++++------
1 file 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 e3d78ac..f6d357c 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -1345,9 +1345,9 @@ TEST_F(AuthSrvTest, queryCounterOpcodes) {
::tolower);
// The counter should be initialized to expected value.
- EXPECT_EQ(server.getStatistics()->get("zones")->get("_SERVER_")->
- get("opcode")->get(item_name)->intValue(),
- expected - (i + 1));
+ EXPECT_EQ(expected - (i + 1),
+ server.getStatistics()->get("zones")->get("_SERVER_")->
+ get("opcode")->get(item_name)->intValue());
// For each possible opcode, create a request message and send it
UnitTestUtil::createRequestMessage(request_message, Opcode(i),
@@ -1367,9 +1367,9 @@ TEST_F(AuthSrvTest, queryCounterOpcodes) {
// Confirm the counter.
// This test only checks for opcodes; some part of the other items
// depends on the opcode.
- EXPECT_EQ(server.getStatistics()->get("zones")->get("_SERVER_")->
- get("opcode")->get(item_name)->intValue(),
- expected);
+ EXPECT_EQ(expected,
+ server.getStatistics()->get("zones")->get("_SERVER_")->
+ get("opcode")->get(item_name)->intValue());
}
}
More information about the bind10-changes
mailing list