|
@@ -136,6 +136,14 @@ TEST_F(MemoryClientTest, loadRRSIGFollowsNothing) {
|
|
|
// Teardown checks for memory segment leaks
|
|
|
}
|
|
|
|
|
|
+TEST_F(MemoryClientTest, loadRRSIGNameUnmatched) {
|
|
|
+ EXPECT_THROW(client_->load(Name("example.org"),
|
|
|
+ TEST_DATA_DIR
|
|
|
+ "/example.org-rrsig-name-unmatched.zone"),
|
|
|
+ InMemoryClient::AddError);
|
|
|
+ // Teardown checks for memory segment leaks
|
|
|
+}
|
|
|
+
|
|
|
TEST_F(MemoryClientTest, getZoneCount) {
|
|
|
EXPECT_EQ(0, client_->getZoneCount());
|
|
|
client_->load(Name("example.org"), TEST_DATA_DIR "/example.org-empty.zone");
|