BIND 10 master, updated. 7cc9b08f18967fa1a694f5b7e320aad62d0d3e88 [master] fixed a build error on MacOS-X g++ briefly discussed on jabber, didn't see any objection.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 7 19:35:20 UTC 2011
The branch, master has been updated
via 7cc9b08f18967fa1a694f5b7e320aad62d0d3e88 (commit)
from 25e56e5d1bc9197e882e3a42285d0efad21a51f2 (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 7cc9b08f18967fa1a694f5b7e320aad62d0d3e88
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Sep 7 12:34:50 2011 -0700
[master] fixed a build error on MacOS-X g++
briefly discussed on jabber, didn't see any objection.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/tests/database_unittest.cc | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index 8faf5d7..4ed9f12 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -1553,8 +1553,9 @@ TYPED_TEST(DatabaseClientTest, updaterFinder) {
// If this update isn't replacing the zone, the finder should work
// just like the normal find() case.
if (this->is_mock_) {
- EXPECT_EQ(WRITABLE_ZONE_ID, dynamic_cast<DatabaseClient::Finder&>(
- this->updater_->getFinder()).zone_id());
+ DatabaseClient::Finder& finder = dynamic_cast<DatabaseClient::Finder&>(
+ this->updater_->getFinder());
+ EXPECT_EQ(WRITABLE_ZONE_ID, finder.zone_id());
}
this->expected_rdatas_.clear();
this->expected_rdatas_.push_back("192.0.2.1");
@@ -1568,8 +1569,9 @@ TYPED_TEST(DatabaseClientTest, updaterFinder) {
this->updater_ = this->client_->getUpdater(this->zname_, true);
ASSERT_TRUE(this->updater_);
if (this->is_mock_) {
- EXPECT_EQ(WRITABLE_ZONE_ID, dynamic_cast<DatabaseClient::Finder&>(
- this->updater_->getFinder()).zone_id());
+ DatabaseClient::Finder& finder = dynamic_cast<DatabaseClient::Finder&>(
+ this->updater_->getFinder());
+ EXPECT_EQ(WRITABLE_ZONE_ID, finder.zone_id());
}
doFindTest(this->updater_->getFinder(), this->qname_, this->qtype_,
this->qtype_, this->rrttl_, ZoneFinder::NXDOMAIN,
More information about the bind10-changes
mailing list