You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2010/09/20 08:52:42 UTC

svn commit: r998802 - in /subversion/trunk/subversion/tests/cmdline: svnrdump_tests.py svnrdump_tests_data/revprops.dump

Author: artagnon
Date: Mon Sep 20 06:52:42 2010
New Revision: 998802

URL: http://svn.apache.org/viewvc?rev=998802&view=rev
Log:
* subversion/tests/cmdline/svnrdump_tests_data/revprops.dump: Add new
  test data from svnsync_tests_data after converting the dumpfile from
  v2 to v3 for svnrdump.

* subversion/tests/cmdline/svnrdump_tests.py
  (copy_revprops_dump, copy_revprops_load): Add a couple of tests to
  use the new test data.

  (move_and_modify_in_the_same_revision_load): Load counterpart of the
  move_and_modify_in_the_same_revision_dump test. The failure of this
  test is possibly related to the failure of the copy_revprops_load
  test.

  (test_list): Run the copy_revprops_* tests. Mark the dump
  counterpart as passing, but mark the load counterpart as a WIP since
  it fails. Also, run the move_and_modify_in_the_same_revision_load
  test and mark it as a WIP. Both the load tests fail in the same
  fashion, citing that a certain path doesn't exist.

Added:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/revprops.dump
Modified:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py?rev=998802&r1=998801&r2=998802&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py Mon Sep 20 06:52:42 2010
@@ -207,6 +207,10 @@ def move_and_modify_in_the_same_revision
   "dump: move parent & modify child file in same rev"
   run_dump_test(sbox, "move-and-modify.dump")
 
+def move_and_modify_in_the_same_revision_load(sbox):
+  "load: move parent & modify child file in same rev"
+  run_load_test(sbox, "move-and-modify.dump")
+
 def tag_empty_trunk_dump(sbox):
   "dump: tag empty trunk"
   run_dump_test(sbox, "tag-empty-trunk.dump")
@@ -231,6 +235,14 @@ def copy_parent_modify_prop_load(sbox):
   "load: copy parent and modify prop"
   run_load_test(sbox, "copy-parent-modify-prop.dump")
 
+def copy_revprops_dump(sbox):
+  "dump: copy revprops other than svn:*"
+  run_dump_test(sbox, "revprops.dump")
+
+def copy_revprops_load(sbox):
+  "load: copy revprops other than svn:*"
+  run_load_test(sbox, "revprops.dump")
+
 ########################################################################
 # Run the tests
 
@@ -253,9 +265,12 @@ test_list = [ None,
               dir_prop_change_load,
               copy_parent_modify_prop_dump,
               copy_parent_modify_prop_load,
+              copy_revprops_dump,
+              Wimp("TODO", copy_revprops_load),
               no_author_dump,
               no_author_load,
               Wimp("TODO", move_and_modify_in_the_same_revision_dump),
+              Wimp("TODO", move_and_modify_in_the_same_revision_load),
              ]
 
 if __name__ == '__main__':

Added: subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/revprops.dump
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/revprops.dump?rev=998802&view=auto
==============================================================================
Files subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/revprops.dump (added) and subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/revprops.dump Mon Sep 20 06:52:42 2010 differ