Browse Source

[2108] getJournalReader() must throw isc::NotImplemented

Mukund Sivaraman 12 years ago
parent
commit
12a6f52484
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/datasrc/memory/tests/memory_client_unittest.cc

+ 5 - 0
src/lib/datasrc/memory/tests/memory_client_unittest.cc

@@ -68,4 +68,9 @@ 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);
+}
 }