Commit 7fd72bcd authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

added notes about r2040 and r2041.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2042 e5f2f494-b856-4b98-b285-d166d9295462
parent ea57b643
......@@ -376,6 +376,8 @@ TEST_F(Sqlite3DataSourceTest, reOpen) {
NameMatch name_match(www_name);
data_source.findClosestEnclosure(name_match, rrclass);
// XXX: some deviant compilers seem to fail to recognize a NULL as a
// pointer type. This explicit cast works around such compilers.
EXPECT_EQ(static_cast<void*>(NULL), name_match.closestName());
EXPECT_EQ(static_cast<void*>(NULL), name_match.bestDataSrc());
}
......
......@@ -214,6 +214,7 @@ TEST_F(StaticDataSourceTest, findClosestEnclosureForVersionClassAny) {
TEST_F(StaticDataSourceTest, findClosestEnclosureForVersionClassMismatch) {
NameMatch name_match(version_name);
data_source.findClosestEnclosure(name_match, RRClass::IN());
// XXX: see sqlite3_unittest.cc about the cast.
EXPECT_EQ(static_cast<void*>(NULL), name_match.closestName());
EXPECT_EQ(static_cast<void*>(NULL), name_match.bestDataSrc());
}
......
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