From: Jelte Jansen Date: Wed, 25 Jul 2012 16:50:06 +0000 (+0200) Subject: [2148] final touches X-Git-Tag: trac2351_base~157^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01bc8a1bf5c5ed85a0695d47e64854d4bf3d1b6;p=thirdparty%2Fkea.git [2148] final touches --- diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h index 06eb9e02c1..1603753617 100644 --- a/src/lib/dns/labelsequence.h +++ b/src/lib/dns/labelsequence.h @@ -343,7 +343,6 @@ public: /// \return true if the last label is the root label bool isAbsolute() const; - void dump() const; private: const uint8_t* data_; // wire-format name data const uint8_t* offsets_; // an array of offsets in data_ for the labels diff --git a/src/lib/dns/tests/labelsequence_unittest.cc b/src/lib/dns/tests/labelsequence_unittest.cc index 492efe629a..599f673d26 100644 --- a/src/lib/dns/tests/labelsequence_unittest.cc +++ b/src/lib/dns/tests/labelsequence_unittest.cc @@ -946,6 +946,7 @@ TEST_F(ExtendableLabelSequenceTest, extend) { check_compare(ls1, els, isc::dns::NameComparisonResult::COMMONANCESTOR, 1); els.extend(ls3, buf); + EXPECT_TRUE(els.isAbsolute()); check_equal(ls1, els); stripLeftCheck(ls1, els, ls4);