[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch] make it easy for the Ruby bindings tests to use a greek tree

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-11-04 19:13:35 CET

I needed a directory with subdirectories and files at several levels for
testing the depth argument with the property methods on Svn::Client::Context.
The Greek tree seemed a natural way to get what I needed. And it occurred to
me it might be easier to describe what is going on to non-Ruby SVN folks if
it where done with a Greek tree.


Provide a simple way for test writers to create a Greek tree for testing, plus
some helper methods to access the files and directories in the working copy
and the repository.


* subversion/bindings/swig/ruby/test/util.rb
  (SvnTestUtil#setup_basic): Define constants for the greek tree.
  (SvnTestUtil::GreekTree): New constant
  (SvnTestUtil#setup_greek_tree, SvnTestUtil.greek_constants_defined?,
  SvnTestUtil.define_greek_constants, SvnTestUtil#wc_path_for,
  SvnTestUtil#uri_for): New methods

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Nov 4 19:13:52 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.