Commit f9ceab26 authored by chenzhengzhang's avatar chenzhengzhang
Browse files

fix comments

parent 66ace85f
......@@ -79,7 +79,7 @@ public:
/// if it fails. It should not throw other types of exceptions.
///
/// \param name The domain name to be searched for.
/// \param target Insert RRs under the domain name into it.
/// \param target Get all RRs under the domain name.
/// \return A \c FindResult object enclosing the search result, it returns
/// NULL in case of NXDOMAIN, NXRRSET and SUCCESS.
FindResult findAny(const isc::dns::Name& name,
......
......@@ -363,6 +363,8 @@ TEST_F(MemoryZoneTest, findAny) {
RRsetList glue_child_rrsets;
findAnyTest(child_glue_name_, Zone::SUCCESS, glue_child_rrsets,
true, ConstRRsetPtr());
EXPECT_EQ(rr_child_glue_, glue_child_rrsets.findRRset(RRType::A(),
RRClass::IN()));
EXPECT_EQ(1, glue_child_rrsets.size());
// TODO: test NXRRSET case after rbtree non-terminal logic has
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment