BIND 10 trac2108_3, updated. 12a6f524849941a162bc814ea9797e0d15eafdac [2108] getJournalReader() must throw isc::NotImplemented
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 5 11:57:03 UTC 2012
The branch, trac2108_3 has been updated
via 12a6f524849941a162bc814ea9797e0d15eafdac (commit)
via 63eba8528685e5c19e54503ef6ab6ed1c1fbbe25 (commit)
via 7e46f0a77c389e5af64cc5fe7f7a8ca50e79957c (commit)
from 38db4f895183880f827ae0c24f2eb602860b2ca6 (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 12a6f524849941a162bc814ea9797e0d15eafdac
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 17:26:37 2012 +0530
[2108] getJournalReader() must throw isc::NotImplemented
commit 63eba8528685e5c19e54503ef6ab6ed1c1fbbe25
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 17:25:45 2012 +0530
[2108] getUpdater() must throw isc::NotImplemented
commit 7e46f0a77c389e5af64cc5fe7f7a8ca50e79957c
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 17:25:25 2012 +0530
[2108] Check for "." zone instead
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/memory/tests/memory_client_unittest.cc | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/memory_client_unittest.cc b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
index a19e975..2e89041 100644
--- a/src/lib/datasrc/memory/tests/memory_client_unittest.cc
+++ b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
@@ -60,7 +60,17 @@ protected:
};
TEST_F(MemoryClientTest, getIteratorNonExistent) {
- // Zone "a." doesn't exist
- EXPECT_THROW(client_->getIterator(Name("a")), DataSourceError);
+ // Zone "." doesn't exist
+ EXPECT_THROW(client_->getIterator(Name(".")), DataSourceError);
+}
+
+TEST_F(MemoryClientTest, getUpdaterThrowsNotImplemented) {
+ EXPECT_THROW(client_->getUpdater(Name("."), false, false),
+ isc::NotImplemented);
+}
+
+TEST_F(MemoryClientTest, getJournalReaderNotImplemented) {
+ EXPECT_THROW(client_->getJournalReader(Name("."), 0, 0),
+ isc::NotImplemented);
}
}
More information about the bind10-changes
mailing list