summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/edns_unittest.cc
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2012-02-24 06:50:12 +0100
committerJINMEI Tatuya <jinmei@isc.org>2012-02-24 06:50:12 +0100
commitfb9060e5dccc2bd43ede4da3e0fe0733aa9cc6fa (patch)
tree202965a609e88bae3e7f8a7297c332095f48d443 /src/lib/dns/tests/edns_unittest.cc
parent[1392] cleanup: removed a "short term" workaround in python/isc/log/Makefile.am (diff)
downloadkea-fb9060e5dccc2bd43ede4da3e0fe0733aa9cc6fa.tar.xz
kea-fb9060e5dccc2bd43ede4da3e0fe0733aa9cc6fa.zip
[1697] 1st update: make MessageRenderer constructors parameter-free.
AbstractMessageRenderer now creates and holds its own buffer internally. adjusted unittests and the python wrapper in a straightforward manner.
Diffstat (limited to 'src/lib/dns/tests/edns_unittest.cc')
-rw-r--r--src/lib/dns/tests/edns_unittest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/dns/tests/edns_unittest.cc b/src/lib/dns/tests/edns_unittest.cc
index 26cc01c343..de2d2447dd 100644
--- a/src/lib/dns/tests/edns_unittest.cc
+++ b/src/lib/dns/tests/edns_unittest.cc
@@ -43,9 +43,7 @@ const uint8_t EDNS::SUPPORTED_VERSION;
namespace {
class EDNSTest : public ::testing::Test {
protected:
- EDNSTest() : rrtype(RRType::OPT()), buffer(NULL, 0), obuffer(0),
- renderer(obuffer), rcode(0)
- {
+ EDNSTest() : rrtype(RRType::OPT()), buffer(NULL, 0), obuffer(0), rcode(0) {
opt_rdata = ConstRdataPtr(new generic::OPT());
edns_base.setUDPSize(4096);
}