BIND 10 trac2108_3, updated. 64b3b91a2685a351317a43999fc26316099f70b3 [2108] Check that getSOA() on the iterator throws
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 5 13:41:28 UTC 2012
The branch, trac2108_3 has been updated
via 64b3b91a2685a351317a43999fc26316099f70b3 (commit)
from 753931a085b6df6b0e1e2a7a7530e3e8f6152459 (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 64b3b91a2685a351317a43999fc26316099f70b3
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 19:11:17 2012 +0530
[2108] Check that getSOA() on the iterator throws
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/memory/tests/memory_client_unittest.cc | 8 ++++++++
1 file changed, 8 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/memory_client_unittest.cc b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
index b659532..a7dc336 100644
--- a/src/lib/datasrc/memory/tests/memory_client_unittest.cc
+++ b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
@@ -98,6 +98,14 @@ TEST_F(MemoryClientTest, getIterator) {
EXPECT_EQ(ConstRRsetPtr(), iterator->getNextRRset());
}
+TEST_F(MemoryClientTest, getIteratorGetSOAThrowsNotImplemented) {
+ client_->load(Name("example.org"), TEST_DATA_DIR "/example.org-empty.zone");
+ ZoneIteratorPtr iterator(client_->getIterator(Name("example.org")));
+
+ // This method is not implemented.
+ EXPECT_THROW(iterator->getSOA(), isc::NotImplemented);
+}
+
TEST_F(MemoryClientTest, getUpdaterThrowsNotImplemented) {
// This method is not implemented.
EXPECT_THROW(client_->getUpdater(Name("."), false, false),
More information about the bind10-changes
mailing list