summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/rdata_mx_unittest.cc
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2011-02-19 03:13:16 +0100
committerJINMEI Tatuya <jinmei@isc.org>2011-02-19 03:13:16 +0100
commit7e90e3729b54ca18425c3b5a5223230aa335efff (patch)
treef9e59482fbed045502848b7270ed5901fba1d9a5 /src/lib/dns/tests/rdata_mx_unittest.cc
parent[master] add periods to some bindctl descriptions (diff)
downloadkea-7e90e3729b54ca18425c3b5a5223230aa335efff.tar.xz
kea-7e90e3729b54ca18425c3b5a5223230aa335efff.zip
[master] (re)enabled an MX test with fixing test data.
I'm not sure why this has been disabled until now, but it seems to me just about test data preparation. so I fixed it that way. should be quite trivial, and test actually passed. directly pushing, skipping review.
Diffstat (limited to 'src/lib/dns/tests/rdata_mx_unittest.cc')
-rw-r--r--src/lib/dns/tests/rdata_mx_unittest.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/dns/tests/rdata_mx_unittest.cc b/src/lib/dns/tests/rdata_mx_unittest.cc
index 4491f8609e..dd7677db89 100644
--- a/src/lib/dns/tests/rdata_mx_unittest.cc
+++ b/src/lib/dns/tests/rdata_mx_unittest.cc
@@ -74,12 +74,9 @@ TEST_F(Rdata_MX_Test, toWireRenderer) {
TEST_F(Rdata_MX_Test, toWireBuffer) {
renderer.writeName(Name("example.com"));
rdata_mx.toWire(obuffer);
-}
-TEST_F(Rdata_MX_Test, DISABLED_toWireBuffer) {
-// XXX: does not pass
vector<unsigned char> data;
- UnitTestUtil::readWireData("rdata_mx_toWire1", data);
+ UnitTestUtil::readWireData("rdata_mx_toWire2", data);
EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData, obuffer.getData(),
obuffer.getLength(), &data[0], data.size());
}