Commit 9b41a225 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2905] updated test comments for more clarity

parent c13f4a4a
......@@ -73,12 +73,12 @@ TEST_F(ZoneTableTest, addZone) {
// By default there's no zone contained.
EXPECT_EQ(0, zone_table->getZoneCount());
// It doesn't accept empty (NULL) zones
// It doesn't accept NULL as zone data
EXPECT_THROW(zone_table->addZone(mem_sgmt_, zclass_, zname1, NULL),
isc::InvalidParameter);
EXPECT_EQ(0, zone_table->getZoneCount()); // count is still 0
// or an empty zone
// or an empty zone data
SegmentObjectHolder<ZoneData, RRClass> holder_empty(
mem_sgmt_, zclass_);
holder_empty.set(ZoneData::create(mem_sgmt_));
......
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