]> git.saurik.com Git - wxWidgets.git/commitdiff
added test for HasGroup() bug
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jul 2005 18:04:11 +0000 (18:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jul 2005 18:04:11 +0000 (18:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/fileconf/fileconftest.cpp

index 4d8234caf5f01ed5fe51fda5bbbf8216cff47b8c..9b75d89bc9034884f2129c2f6f5fc4ca2ed8740c 100644 (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()