Adjust test suite to work with the current version of svntest.
commite2cb5ad061f75dad26bd3dfad0eb098b302e66f6
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 28 Jul 2009 22:12:04 +0000 (28 22:12 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 28 Jul 2009 22:12:04 +0000 (28 22:12 +0000)
tree333708458771b6a77714e4e7062b942669471cff
parentca42e819a01f5e25e4a316c2715d7b11c2d58c60
Adjust test suite to work with the current version of svntest.

With this change, the test suite works with all versions of
Subversion, including Subversion >= 1.6.0 (which was broken due to a
change in the output format of "svn proplist -v").  Thus issue #124 is
fixed.

This change relies on r38486 in the Subversion svntest module.  It
changes the svn:external to pull in the HEAD version of svntest; we
can try to track svntest again.

* run-tests.py (Cvs2SvnTestFunction): New class, derived from
  TestCase.  It can be used as a decorator for no-argument test
  functions.

  (Cvs2SvnTestCase.__init__): Rename the "description" parameter to
  "doc".  Pass it to the TestCase constructor.

  (Cvs2SvnTestCase.get_description): Remove method.

  (Cvs2SvnTestCase.get_sandbox_name): New method.

  (Cvs2SvnPropertiesTestCase.run): Accept a sandbox parameter.

  (ignore): Fix the end-of-line characters in the expected property
  values to work with the new svntest output.

  (<rest of file>): Decorate all test functions with
  Cvs2SvnTestFunction).  Accept a sandbox argument to all other test
  cases' run() methods.

  (svntest): Change svn:external to pull in the HEAD version of
  svntest from the Subversion project.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@4833 be7e6eca-30d4-0310-a8e5-ac0d63af7087
run-tests.py