]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2148] final touches
authorJelte Jansen <jelte@isc.org>
Wed, 25 Jul 2012 16:50:06 +0000 (18:50 +0200)
committerJelte Jansen <jelte@isc.org>
Wed, 25 Jul 2012 16:50:06 +0000 (18:50 +0200)
src/lib/dns/labelsequence.h
src/lib/dns/tests/labelsequence_unittest.cc

index 06eb9e02c19c2d3fd7ff6009feac900921806c08..160375361785a48e32621bccb4c1b1c40eb1aae0 100644 (file)
@@ -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
index 492efe629ad24f2619b8726987e6f32c926f7ca0..599f673d26c5894f551798569af5cc6c5dbbdf68 100644 (file)
@@ -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);