Commit Graph

17 Commits

Author SHA1 Message Date
Vadim Zeitlin
6ad0a7d52f fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312); added a unit test for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:04:52 +00:00
Vadim Zeitlin
35c4b4da0a fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
126bd656a7 also check for RenameGroup() calls which don't/shouldn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:12:34 +00:00
Vadim Zeitlin
3ca1046155 extend RenameGroup() test to demonstrate the bug 705022
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:00:59 +00:00
Vadim Zeitlin
e1a2c7a527 use CPPUNIT_ASSERT_EQUAL() to be able to see the error in wxFileConfig tests easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 21:59:17 +00:00
Vadim Zeitlin
b0db68b22a test for the bug in HasEntry() which could create non-existing group as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:48:00 +00:00
Vadim Zeitlin
993896f180 added test for HasGroup() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 18:04:11 +00:00
Vadim Zeitlin
c406cd3da0 added more tests for wxFileConfig creation: adding new entries/groups in different order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:21:51 +00:00
Mattia Barbon
ca7766b4e5 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:04 +00:00
Dimitri Schoolwerth
cbc9c06fe5 added FileConfig test case exposing a problem with deleting the last group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 11:12:05 +00:00
Ryan Norton
8899b155a1 [ 1068188 ] Precompiled header for the test program [Modified a bit]
Regen bakefiles for unit tests


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:00:19 +00:00
Ryan Norton
8c6be1a881 Unicode logic fixes for AddEntries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 19:21:17 +00:00
Ryan Norton
a9e9946154 Rename some tests to avoid conflicts with project builder GUI debugger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 04:41:27 +00:00
Vadim Zeitlin
bd2fe27eed added test for the (just fixed) bug with adding the first entry to the root group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:13:54 +00:00
Vadim Zeitlin
9413911860 added tests for deleting and renaming entries and groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:38:08 +00:00
Vadim Zeitlin
9db6158ab8 added SetPath(), entries and groups enumerations tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:24:28 +00:00
Vadim Zeitlin
17c24d37c6 started wxFileConfig unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:17:19 +00:00