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:
parent
0c0d1521c0
commit
993896f180
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user