added test for HasGroup() bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-07-01 18:04:11 +00:00
parent 0c0d1521c0
commit 993896f180

View File

@ -247,10 +247,11 @@ void FileConfigTestCase::HasGroup()
CPPUNIT_ASSERT( fc.HasGroup(_T("root/group1")) );
CPPUNIT_ASSERT( fc.HasGroup(_T("root/group1/subgroup")) );
CPPUNIT_ASSERT( fc.HasGroup(_T("root/group2")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("foot")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("root/group")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("root//subgroup")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("foot/subgroup")) );
CPPUNIT_ASSERT( !fc.HasGroup(_T("foot")) );
}
void FileConfigTestCase::Save()