From 993896f180b48d8fa20a02e087288b695f169979 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 1 Jul 2005 18:04:11 +0000 Subject: [PATCH] added test for HasGroup() bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/fileconf/fileconftest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fileconf/fileconftest.cpp b/tests/fileconf/fileconftest.cpp index 4d8234caf5..9b75d89bc9 100644 --- a/tests/fileconf/fileconftest.cpp +++ b/tests/fileconf/fileconftest.cpp @@ -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()