summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/rdata_rrsig_unittest.cc
diff options
context:
space:
mode:
authorPaul Selkirk <pselkirk@isc.org>2013-04-10 04:45:17 +0200
committerPaul Selkirk <pselkirk@isc.org>2013-04-10 04:45:17 +0200
commit870cc9bca34feab530b12cb870fd92f365513571 (patch)
tree5cdc0c923fb10606dd22fa968e803f980fd9fe88 /src/lib/dns/tests/rdata_rrsig_unittest.cc
parent[2521] add MasterLexer constructor for RRSIG (diff)
downloadkea-870cc9bca34feab530b12cb870fd92f365513571.tar.xz
kea-870cc9bca34feab530b12cb870fd92f365513571.zip
[2521] enabled previously disabled rrsig test
also changed createFromLexer from static function to private method
Diffstat (limited to 'src/lib/dns/tests/rdata_rrsig_unittest.cc')
-rw-r--r--src/lib/dns/tests/rdata_rrsig_unittest.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/dns/tests/rdata_rrsig_unittest.cc b/src/lib/dns/tests/rdata_rrsig_unittest.cc
index b521a94ad1..1d84339b97 100644
--- a/src/lib/dns/tests/rdata_rrsig_unittest.cc
+++ b/src/lib/dns/tests/rdata_rrsig_unittest.cc
@@ -99,13 +99,10 @@ TEST_F(Rdata_RRSIG_Test, badText) {
"20100223214617 20100222214617 8496 isc.org. "
"EEeeeeeeEEEeeeeeeGaaahAAAAAAAAHHHHHHHHHHH!="),
BadValue);
-}
-
-TEST_F(Rdata_RRSIG_Test, DISABLED_badText) {
- // this currently fails
// no space between the tag and signer
- EXPECT_THROW(generic::RRSIG("A 5 4 43200 20100223214617 20100222214617 "
- "8496isc.org. ofc="), InvalidRdataText);
+ EXPECT_THROW(const generic::RRSIG sig(
+ "A 5 4 43200 20100223214617 20100222214617 "
+ "8496isc.org. ofc="), InvalidRdataText);
}
TEST_F(Rdata_RRSIG_Test, createFromLexer) {