Commit b48fe52e authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

fixed errors in the previous comment:

- corrected the exception name in a test case
- should have disabled the failing test


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1486 e5f2f494-b856-4b98-b285-d166d9295462
parent 210763e8
......@@ -65,16 +65,18 @@ TEST_F(Rdata_NSEC_Test, createFromWire_NSEC)
// Too short RDLENGTH
EXPECT_THROW(rdataFactoryFromFile(RRType::NSEC(), RRClass::IN(),
"testdata/rdata_nsec_fromWire2"),
DNSMessageFORMERR);
InvalidRdataLength);
EXPECT_THROW(rdataFactoryFromFile(RRType::NSEC(), RRClass::IN(),
"testdata/rdata_nsec_fromWire3"),
DNSMessageFORMERR);
#if 0 // currently fails
// A malformed NSEC bitmap length field that could cause overflow.
EXPECT_THROW(rdataFactoryFromFile(RRType::NSEC(), RRClass::IN(),
"testdata/rdata_nsec_fromWire4"),
DNSMessageFORMERR);
#endif
}
TEST_F(Rdata_NSEC_Test, toWireRenderer_NSEC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment