diff options
Diffstat (limited to 'subversion/tests/svn_test_fs.h')
-rw-r--r-- | subversion/tests/svn_test_fs.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/subversion/tests/svn_test_fs.h b/subversion/tests/svn_test_fs.h index bbbbfb8..592243b 100644 --- a/subversion/tests/svn_test_fs.h +++ b/subversion/tests/svn_test_fs.h @@ -57,7 +57,16 @@ svn_test__create_bdb_fs(svn_fs_t **fs_p, /* Create a filesystem based on OPTS in a subdir NAME and return a new - FS object which points to it. */ + FS object which points to it. Override the default test filesystem + config with values from FS_CONFIG. */ +svn_error_t * +svn_test__create_fs2(svn_fs_t **fs_p, + const char *name, + const svn_test_opts_t *opts, + apr_hash_t *fs_config, + apr_pool_t *pool); + +/* The same as svn_test__create_fs2() but with FS_CONFIG set to NULL. */ svn_error_t * svn_test__create_fs(svn_fs_t **fs_p, const char *name, @@ -73,6 +82,19 @@ svn_test__create_repos(svn_repos_t **repos_p, const svn_test_opts_t *opts, apr_pool_t *pool); +/* Create a repository with a filesystem based on OPTS in a subdir NAME + and return optionally new REPOS object, the directory it was created in + and/or the url of the repository . */ +svn_error_t * +svn_test__create_repos2(svn_repos_t **repos_p, + const char **repos_url, + const char **repos_dirent, + const char *name, + const svn_test_opts_t *opts, + apr_pool_t *result_pool, + apr_pool_t *scratch_pool); + + /* Read all data from a generic read STREAM, and return it in STRING. Allocate the svn_stringbuf_t in POOL. (All data in STRING will be dup'ed from STREAM using POOL too.) */ |