]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1583] one more cleanup: removed the wildcardEmptyWithNSEC3 test. This case
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 14 Feb 2012 02:06:51 +0000 (18:06 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 14 Feb 2012 02:06:51 +0000 (18:06 -0800)
is no different from the non-empty wildcard NXRRRSET in terms of query
processing.

src/bin/auth/tests/query_unittest.cc

index b540a5b1ac70b5b74cc5df29ff2c7b2bb0569c9c..ca3232271813cf12dd536a0e1d422c90ed96a723 100644 (file)
@@ -2059,13 +2059,4 @@ TEST_F(QueryTest, emptyNameWithNSEC3) {
     EXPECT_TRUE(result.isNSEC3Signed());
     EXPECT_FALSE(result.isWildcard());
 }
-
-TEST_F(QueryTest, wildcardEmptyWithNSEC3) {
-    mock_finder->setNSEC3Flag(true);
-    ZoneFinder::FindResult result = mock_finder->find(
-        Name("a.t.example.com"), RRType::A(), ZoneFinder::FIND_DNSSEC);
-    EXPECT_EQ(ZoneFinder::NXRRSET, result.code);
-    EXPECT_TRUE(result.isNSEC3Signed());
-    EXPECT_TRUE(result.isWildcard());
-}
 }