Browse Source

[4027] added some more comments for tests

JINMEI Tatuya 9 years ago
parent
commit
3435b6f64d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/lib/dhcp/tests/pkt4o6_unittest.cc

+ 4 - 4
src/lib/dhcp/tests/pkt4o6_unittest.cc

@@ -41,11 +41,11 @@ protected:
     }
 
 protected:
-    const std::vector<uint8_t> data6_;
     // commonly used test data
-    Pkt6Ptr pkt6_;
-    Pkt4Ptr pkt4_;
-    OptionBuffer buffer4_;
+    const std::vector<uint8_t> data6_; // data for Pkt6 (content unimportant)
+    Pkt6Ptr pkt6_;                     // DHCPv6 message for 4o6
+    Pkt4Ptr pkt4_;                     // DHCPv4 message for 4o6
+    OptionBuffer buffer4_;             // wire-format data buffer of pkt4_
 };
 
 TEST_F(Pkt4o6Test, construct) {