2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-01 03:12:32 +00:00

[trac1062] minor cleanup

This commit is contained in:
Jelte Jansen
2011-08-04 14:49:49 +02:00
parent 71b0ae9ddb
commit 82667b0cdd
2 changed files with 7 additions and 4 deletions

View File

@@ -202,6 +202,12 @@ TEST_F(DatabaseClientTest, find) {
EXPECT_EQ(1, result4.rrset->getRdataCount());
EXPECT_EQ(isc::dns::RRType::CNAME(), result4.rrset->getType());
ZoneFinder::FindResult result5 = finder->find(isc::dns::Name("doesnotexist.example.org."),
isc::dns::RRType::A(),
NULL, ZoneFinder::FIND_DEFAULT);
ASSERT_EQ(ZoneFinder::NXDOMAIN, result5.code);
EXPECT_EQ(isc::dns::ConstRRsetPtr(), result5.rrset);
EXPECT_THROW(finder->find(isc::dns::Name("emptyvector.example.org."),
isc::dns::RRType::A(),
NULL, ZoneFinder::FIND_DEFAULT),