BIND 10 trac2108_3, updated. 79e4f78c803a819ebe940c2b0ae6916b6e7b5933 [2108] Add some more checks in MemoryClientTest.findZone2
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Sep 6 08:05:28 UTC 2012
The branch, trac2108_3 has been updated
via 79e4f78c803a819ebe940c2b0ae6916b6e7b5933 (commit)
from e1f7b3f3c9fa167a285257f5452e44684d1e9c3c (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 79e4f78c803a819ebe940c2b0ae6916b6e7b5933
Author: Mukund Sivaraman <muks at isc.org>
Date: Thu Sep 6 13:34:07 2012 +0530
[2108] Add some more checks in MemoryClientTest.findZone2
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/memory/tests/memory_client_unittest.cc | 4 ++++
1 file changed, 4 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/memory_client_unittest.cc b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
index f29565b..bd19eda 100644
--- a/src/lib/datasrc/memory/tests/memory_client_unittest.cc
+++ b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
@@ -292,10 +292,14 @@ TEST_F(MemoryClientTest, findZone2) {
isc::datasrc::memory::ZoneTable::FindResult
result(client_->findZone2(Name("example.com")));
EXPECT_EQ(result::NOTFOUND, result.code);
+ EXPECT_EQ(static_cast<ZoneData*>(NULL),
+ result.zone_data);
isc::datasrc::memory::ZoneTable::FindResult
result2(client_->findZone2(Name("example.org")));
EXPECT_EQ(result::SUCCESS, result2.code);
+ EXPECT_NE(static_cast<ZoneData*>(NULL),
+ result2.zone_data);
}
TEST_F(MemoryClientTest, getUpdaterThrowsNotImplemented) {
More information about the bind10-changes
mailing list