BIND 10 trac1758, updated. 2bb6957f057d02e70338d1c8586d53bbda7f7d33 [1758] Future test support.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 15 16:12:05 UTC 2012
The branch, trac1758 has been updated
discards 680537c900803db8e5d75bc507bf558e44d0f1d7 (commit)
This update discarded existing revisions and left the branch pointing at
a previous point in the repository history.
* -- * -- N (2bb6957f057d02e70338d1c8586d53bbda7f7d33)
\
O -- O -- O (680537c900803db8e5d75bc507bf558e44d0f1d7)
The removed revisions are not necessarilly gone - if another reference
still refers to them they will stay in the repository.
No new revisions were added by this update.
Summary of changes:
src/lib/datasrc/tests/sqlite3_accessor_unittest.cc | 33 --------------------
1 files changed, 0 insertions(+), 33 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/sqlite3_accessor_unittest.cc b/src/lib/datasrc/tests/sqlite3_accessor_unittest.cc
index d6210b9..5122136 100644
--- a/src/lib/datasrc/tests/sqlite3_accessor_unittest.cc
+++ b/src/lib/datasrc/tests/sqlite3_accessor_unittest.cc
@@ -173,39 +173,6 @@ TEST_F(SQLite3AccessorTest, iterator) {
EXPECT_FALSE(context->getNext(data));
}
-// This tests getting NSEC3 records
-TEST_F(SQLite3AccessorTest, nsec3) {
- const std::pair<bool, int>
- zone_info(accessor->getZone("sql2.example.com."));
- ASSERT_TRUE(zone_info.first);
-
- DatabaseAccessor::IteratorContextPtr
- context(accessor->getNSEC3Records("1BB7SO0452U1QHL98UISNDD9218GELR5",
- zone_info.second));
- // This relies on specific ordering in the DB. Is it OK?
- checkRR(context, "1BB7SO0452U1QHL98UISNDD9218GELR5", "7200", "NSEC3",
- "1 0 10 FEEDABEE 4KLSVDE8KH8G95VU68R7AHBE1CPQN38J");
- checkRR(context, "1BB7SO0452U1QHL98UISNDD9218GELR5", "7200", "RRSIG",
- "NSEC3 5 4 7200 20100410172647 20100311172647 63192 "
- "sql2.example.com. gNIVj4T8t51fEU6kOPpvK7HOGBFZGbalN5ZK "
- "mInyrww6UWZsUNdw07ge6/U6HfG+/s61RZ/L is2M6yUWHyXbNbj/"
- "QqwqgadG5dhxTArfuR02 xP600x0fWX8LXzW4yLMdKVxGbzYT+vvGz71o "
- "8gHSY5vYTtothcZQa4BMKhmGQEk=");
-
- // And that's all
- std::string data[DatabaseAccessor::COLUMN_COUNT];
- EXPECT_FALSE(context->getNext(data));
-
- // Calling again won't hurt
- EXPECT_FALSE(context->getNext(data));
-
- // This one should be empty â no data here
- context = accessor->getNSEC3Records("NO_SUCH_HASH", zone_info.second);
- EXPECT_FALSE(context->getNext(data));
- // Still nothing? ;-)
- EXPECT_FALSE(context->getNext(data));
-}
-
// This tests the difference iterator context
// Test that at attempt to create a difference iterator for a serial number
More information about the bind10-changes
mailing list