subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1584114 [2/2] - in /subversion/trunk/subversion: include/ libsvn_fs/ libsvn_fs_base/ libsvn_fs_fs/ libsvn_fs_x/ libsvn_ra_local/ libsvn_repos/ mod_dav_svn/ svnserve/ tests/libsvn_fs/ tests/libsvn_ra/
Date Wed, 02 Apr 2014 17:55:26 GMT
Modified: subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra/ra-test.c?rev=1584114&r1=1584113&r2=1584114&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra/ra-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra/ra-test.c Wed Apr  2 17:55:25 2014
@@ -374,6 +374,11 @@ tunnel_callback_test(const svn_test_opts
   return SVN_NO_ERROR;
 }
 
+struct lock_result_t {
+  svn_lock_t *lock;
+  svn_error_t *err;
+};
+
 struct lock_baton_t {
   apr_hash_t *results;
   apr_pool_t *pool;
@@ -389,8 +394,8 @@ lock_cb(void *baton,
         apr_pool_t *pool)
 {
   struct lock_baton_t *b = baton;
-  svn_fs_lock_result_t *result = apr_palloc(b->pool,
-                                            sizeof(svn_fs_lock_result_t));
+  struct lock_result_t *result = apr_palloc(b->pool,
+                                            sizeof(struct lock_result_t));
 
   if (lock)
     {
@@ -417,7 +422,7 @@ expect_lock(const char *path,
             apr_pool_t *scratch_pool)
 {
   svn_lock_t *lock;
-  svn_fs_lock_result_t *result = svn_hash_gets(results, path);
+  struct lock_result_t *result = svn_hash_gets(results, path);
 
   SVN_TEST_ASSERT(result && result->lock && !result->err);
   SVN_ERR(svn_ra_get_lock(session, &lock, path, scratch_pool));
@@ -432,7 +437,7 @@ expect_error(const char *path,
              apr_pool_t *scratch_pool)
 {
   svn_lock_t *lock;
-  svn_fs_lock_result_t *result = svn_hash_gets(results, path);
+  struct lock_result_t *result = svn_hash_gets(results, path);
 
   SVN_TEST_ASSERT(result && !result->lock && result->err);
   SVN_ERR(svn_ra_get_lock(session, &lock, path, scratch_pool));
@@ -447,7 +452,7 @@ expect_unlock(const char *path,
               apr_pool_t *scratch_pool)
 {
   svn_lock_t *lock;
-  svn_fs_lock_result_t *result = svn_hash_gets(results, path);
+  struct lock_result_t *result = svn_hash_gets(results, path);
 
   SVN_TEST_ASSERT(result && !result->err);
   SVN_ERR(svn_ra_get_lock(session, &lock, path, scratch_pool));
@@ -462,7 +467,7 @@ expect_unlock_error(const char *path,
                     apr_pool_t *scratch_pool)
 {
   svn_lock_t *lock;
-  svn_fs_lock_result_t *result = svn_hash_gets(results, path);
+  struct lock_result_t *result = svn_hash_gets(results, path);
 
   SVN_TEST_ASSERT(result && result->err);
   SVN_ERR(svn_ra_get_lock(session, &lock, path, scratch_pool));
@@ -479,7 +484,7 @@ lock_test(const svn_test_opts_t *opts,
   apr_hash_t *lock_targets = apr_hash_make(pool);
   apr_hash_t *unlock_targets = apr_hash_make(pool);
   svn_revnum_t rev = 1;
-  svn_fs_lock_result_t *result;
+  struct lock_result_t *result;
   struct lock_baton_t baton;
   apr_hash_index_t *hi;
 



Mime
View raw message