Hello,
this patch imports a new larger testsuite for svnmerge, which tests actual
functionality of the program. I had been this around for a long time and
used it to collect testscases for bugs already fixed, but I haven't had time
to clean it up for submission. It was time to do it!
Committed as r18342.
[[[
Import a new testsuite which does a complete check of svnmerge
functionalities. The previous testsuite was just unittesting small pieces of
code, while this new testsuite setups a test repository, actually performs
svnmerge operations in it, and check the results.
Moreover, the testsuite is now Python 2.0-friendly.
* contrib/client-side/svnmerge_test.py:
(True,False): Define for compatibility if not defined already.
(TestCase_kwextract.test_failure): Test also without space at the end of
the string.
(TestCase_RevisionList.test_iter): Disable if iter is not available (pre
2.2).
(TestCase_SvnMerge): New base classes for tests which need to call
svnmerge.
Also provide support for regexp matching on the generated output.
(TestCase_CommandLineOptions.test_help_commands): Test more forms of the
help.
(TestCase_CommandLineOptions.test_version): Make it work on pre-2.2.
(TestCase.testOptionOrder): New test, verify that options can be
intermixed
with positional arguments in any order.
(temp_path, rmtree, template_path): New support functions.
(TestCase_TestRepo): New complete testsuite, which setups a test
repository
and use it to test real svnmerge execution. The generated output is then
tested to verify the functionalities.
]]]
--
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 4 16:38:22 2006