BIND 10 trac2108_3, updated. 9158d6d575838ace538c7cb23318a525c1b2732e [2108] Add some comments to tests
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 5 13:26:16 UTC 2012
The branch, trac2108_3 has been updated
via 9158d6d575838ace538c7cb23318a525c1b2732e (commit)
from 90b10c0f2a7b7843ecc74961e1d8ee491df69d33 (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 9158d6d575838ace538c7cb23318a525c1b2732e
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 18:56:08 2012 +0530
[2108] Add some comments to tests
-----------------------------------------------------------------------
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 142f381..081461e 100644
--- a/src/lib/datasrc/memory/tests/memory_client_unittest.cc
+++ b/src/lib/datasrc/memory/tests/memory_client_unittest.cc
@@ -67,6 +67,8 @@ protected:
};
TEST_F(MemoryClientTest, loadRRsetDoesntMatchOrigin) {
+ // Attempting to add example.org to example.com zone should result
+ // in an exception.
EXPECT_THROW(client_->load(Name("example.com"),
TEST_DATA_DIR "/example.org-empty.zone"),
MasterLoadError);
@@ -89,11 +91,13 @@ TEST_F(MemoryClientTest, getIterator) {
}
TEST_F(MemoryClientTest, getUpdaterThrowsNotImplemented) {
+ // This method is not implemented.
EXPECT_THROW(client_->getUpdater(Name("."), false, false),
isc::NotImplemented);
}
TEST_F(MemoryClientTest, getJournalReaderNotImplemented) {
+ // This method is not implemented.
EXPECT_THROW(client_->getJournalReader(Name("."), 0, 0),
isc::NotImplemented);
}
More information about the bind10-changes
mailing list