- r981729: 2010-08-03 03:00:54 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_info.rb [diff, log, file]
Rearrange code for clarity.
* subversion/bindings/swig/ruby/test/test_info.rb
(SvnInfoTest#test_changed): Move the modifications of file1, 2, and 3
from the first make_context block to the second where we actually check
for the files to have changed.
- r932942: 2010-04-11 17:29:33 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/svn/delta.rb [diff, log, file]
/subversion/bindings/swig/ruby/test/test_delta.rb [diff, log, file]
Follow up to r876245 "Fix failing Ruby bindings test in the spirit of the
fix for Python in r21423." r876245 changed the Svn::Delta.apply interface
incompatibly, so restore the prior interface.
* subversion/bindings/swig/ruby/test/test_delta.rb
(SvnDeltaTest#test_apply): Revert to again expect a digest returned with
the handler from Svn::Delta.apply. Also assert that the returned digest
is nil.
* subversion/bindings/swig/ruby/svn/delta.rb
(Svn::Delta.apply): Change return value back into an Array. Return the
handler as the first element and a nil as the second.
- r927688: 2010-03-26 04:47:10 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_core.rb [diff, log, file]
Follow on to r924201 'Tighten merge-range validation to not allow "change
number r0" aka "revision range -1:Y".' Which also started validating ranges.
Update the ranges created for testing to be valid. Since some inputs
changed, some expectations changed too.
* subversion/bindings/swig/ruby/test/test_core.rb
(SvnCoreTest#test_range_list_diff, SvnCoreTest#test_range_list_merge,
SvnCoreTest#test_range_list_remove, SvnCoreTest#test_range_list_intersect,
SvnCoreTest#test_range_list_reverse, SvnCoreTest#test_range_list_to_s):
Make the input ranges valid and update expectations for the new inputs.
- r925713: 2010-03-21 01:39:10 [joeswatosh] Joe Swatosh
-
/build.conf [diff, log, file]
Follow on to r924760 which removed svn_diff_private.h.
* build.conf: Remove svn_diff_private.h as a source of exported functions
in the windows build.
Approved by: stsp
- r925709: 2010-03-21 01:12:30 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_wc.rb [diff, log, file]
Follow on to r921445 "Remove some access batons from post-commit processing"
which exposed the brokenness of the tests.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnWcTest#test_ancestry): Remove incorrectly setup assertions around
mark_missing_deleted which wraps svn_wc_mark_missing_deleted which is now
deprecated, under-documented and usable in only very narrow and specific
circumstances.
- r910298: 2010-02-15 18:51:12 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/include/svn_types.swg [diff, log, file]
/subversion/bindings/swig/ruby/svn/wc.rb [diff, log, file]
/subversion/bindings/swig/ruby/test/test_wc.rb [diff, log, file]
First baby-step toward supporting WC-NG APIs in the Ruby Bindings: Provide a
way to create a Context object.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnWcTest#test_context_new_default_config,
SvnWcTest#test_context_new_specified_config,
SvnWcTest#test_context_create): New methods.
* subversion/bindings/swig/ruby/svn/wc.rb
(Svn::Wc::Context): New class.
(Svn::Wc::Context.create, Svn::Wc::Context.new,
Svn::Wc::Context#destroy): New methods.
* subversion/bindings/swig/include/svn_types.swg
(OUTPARAM): add svn_wc_context_t for Ruby so it will be wrapped correctly.
(%apply apr_pool_t *pool): add *scratch_pool to the list of known names for
pools for Ruby bindings so it will be wrapped correctly.
- r905175: 2010-02-01 05:02:55 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/svn/core.rb [diff, log, file]
/subversion/bindings/swig/ruby/svn/info.rb [diff, log, file]
/subversion/bindings/swig/ruby/svn/util.rb [diff, log, file]
Start hiding some implementation details from rdoc.
* bindings/swig/ruby/svn/core.rb
(Time::MILLION): nodoc.
* bindings/swig/ruby/svn/info.rb
(Uconv): nodoc
* bindings/swig/ruby/svn/util.rb
(Svn::Util): nodoc
- r905174: 2010-02-01 04:53:09 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/svn/util.rb [diff, log, file]
Remove Ruby 1.9 compatibility code that is never used.
* subversion/bindings/swig/ruby/svn/util.rb
(Kernel:__send!): Remove.
- r897590: 2010-01-10 05:27:40 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_info.rb [diff, log, file]
Fix Ruby bindings test crash.
* subversion/bindings/swig/ruby/test/test_info.rb
(test_info, test_dirs_changed): don't use context info,
commit_info, returned by context outside of make_context block.
patch by: kou
- r897492: 2010-01-09 16:25:10 [joeswatosh] Joe Swatosh
-
[1.6.x] /STATUS [diff, log, file]
* STATUS: Nominate r888715 and r895514 (what I meant to say last time)
- r897491: 2010-01-09 16:24:31 [joeswatosh] Joe Swatosh
-
[1.6.x] /STATUS [diff, log, file]
* STATUS: Nominate r888715 and r895514
- r897479: 2010-01-09 15:59:11 [joeswatosh] Joe Swatosh
-
[1.6.x] /STATUS [diff, log, file]
* STATUS: Vote for r896522.
- r895514: 2010-01-04 00:20:40 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/windows_util.rb [diff, log, file]
Make the list of dependencies more explicit by including sasl and libintl.
* subversion/bindings/swig/ruby/test/windows_util.rb
(SvnTestUtil::Windows::SetupEnvironment#add_depended_dll_path_to_dll_wrapper_util)
Explicitly add the directories of the sasl and libintl libraries to
the PATH for testing.
- r894470: 2009-12-29 19:49:18 [joeswatosh] Joe Swatosh
-
[1.6.x] /STATUS [diff, log, file]
* STATUS: Nominate and vote for r876175
- r888715: 2009-12-09 07:04:07 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/windows_util.rb [diff, log, file]
SQLite as a dll dependency is long gone. Remove it from the Windows
bindings tests for Ruby.
* subversion/bindings/swig/ruby/test/windows_util.rb
(SvnTestUtil::Windows::Svnserve#setup_svnserve): Don't attempt to copy
SQLite.dll for use the the svnserve created to test the Svn::Client
bindings.
(SvnTestUtil::Windows::SetupEnvironment#add_depended_dll_path_to_dll_
wrapper_util): Don't add a path to SQLite.dll in the generated wrappers
for requiring Svn modules.
- r888713: 2009-12-09 06:53:22 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_client.rb [diff, log, file]
Follow on to r886924: "Fix issue #3180 'svn mergeinfo ignores peg rev for
WC target'." Update the expectations about mergeinfo.
* subversion/bindings/swig/ruby/test/test_client.rb
(SvnClientTest#assert_merge): Update mergeinfo expectations.
- r888708: 2009-12-09 06:08:21 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_client.rb [diff, log, file]
/subversion/bindings/swig/ruby/test/test_fs.rb [diff, log, file]
/subversion/bindings/swig/ruby/test/test_wc.rb [diff, log, file]
/subversion/bindings/swig/ruby/test/util.rb [diff, log, file]
Take particular care managing the files created during tests. While the pool
clean up will delete the files as it should, there can be timing problems on
Windows.
Also on Windows, if the file is open, it cannot be deleted. So wait and try
again a few times to give garbage collection (or the svnserve process) more
chances to let it go.
Finally, Svn::Repos.delete was failing intermittently, so replace the call
to it when cleaning up tests with just removing the directory.
* subversion/bindings/swig/ruby/test/util.rb
(SvnTestUtil#setup_tmp, SvnTestUtil#teardown_tmp,
SvnTestUtil#setup_repository, SvnTestUtil#teardown_wc,
SvnTestUtil#teardown_config): Replace call to File.rm_rf with
remove_recursively_with_retry
(SvnTestUtil#teardown_repository): Replace call to Svn::Repos.delete with
remove_recursively_with_retry(path)
(SvnTestUtil#remove_recursively_with_retry): New method
* subversion/bindings/swig/ruby/test/test_client.rb
(SvnClientTest#test_checkout): Replace call to File.rm_rf with
remove_recursively_with_retry
* subversion/bindings/swig/ruby/test/test_fs.rb
(SvnFsTest#assert_recover): Pass an empty Proc to the yield that creates
the file system. There is currently no way to clean up the pool that is
used if there is no block passed to Svn::Fs.create.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnWcTest#test_translated_file2_eol): Make sure a file passed to the block
for assert_translated_eol is closed.
(SvnWcTest#test_translated_stream_keyword): Make sure a stream passed to
the block for assert_translated_keyword is closed.
- r880242: 2009-10-22 05:38:28 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_wc.rb [diff, log, file]
Don't pass nulls to svn_wc_ensure_admin4.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnTestWc#test_adm_ensure): Pass non-nils to Svn::Wc.ensure_admin so
non-nulls are passed to svn_wc_ensure_admin4 for path and uuid arguments.
- r880225: 2009-10-21 15:16:29 [joeswatosh] Joe Swatosh
-
/build/generator/gen_base.py [diff, log, file]
Partially revert r37331 "On Windows, shared libs for Python bindings
should be *.pyd not *.dll." In addition to changing the shared libs for
the Python bindings, r37331 inadvertently changed the extensions of the
shared libraries produced for the Perl and Ruby bindings from .dll to
.pyd. Change the extensions back to .dll for the Ruby and Perl bindings.
* build/generator/gen_base.py (TargetSWIG.add_dependencies): Mark Python
wrapper shared libs as type "pyd" not "lib".
Approved by: djames
- r880218: 2009-10-21 04:30:29 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_client.rb [diff, log, file]
Apparently, wc-old allowed deleting the administrative data, but wc-ng
does not. C'est la vie. So we don't try to reuse the working copy over
and over again by deleting it and checking out on top, just create new
working copies in new directories.
* subversion/bindings/swig/ruby/test/test_client.rb
(SvnClientTest#check_out): Use different target directories for
checkout, ensure all the working copies get deleted.
- r880175: 2009-10-19 03:26:04 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_wc.rb [diff, log, file]
Give up trying to track how many times and with what values the validator
is going to be called by svn_wc_relocate3, only assert that it is invoked.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnTestWc#test_relocate): Remove the assertion about the exact values that
are passed to the relocation validator, only assert that the validator
been invoked.
- r880174: 2009-10-19 03:12:22 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_repos.rb [diff, log, file]
Prefer the block form of methods that access the repository or working
copy directly to ensure that all handles will be closed by the time the
TestCase#teardown is invoked. This should help prevent one test from
interfering with the next.
* subversion/bindings/swig/ruby/test/test_repos.rb
(SvnReposTest#assert_commit_editor): Use the block form of
SvnTestUtil#make_context.
(SvnReposTest#test_load): Use the block form of Svn::Repos.create.
- r880168: 2009-10-17 16:11:19 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_client.rb [diff, log, file]
Fix typo for depth argument that was interpreted as depth-unknown.
* subversion/bindings/swig/ruby/test/test_client.rb
(SvnClientTest#assert_resolve): Fix typo infinite to infinity.
- r880163: 2009-10-17 01:09:48 [joeswatosh] Joe Swatosh
-
[1.6.x] /STATUS [diff, log, file]
On the '1.6.x' branch:
* STATUS: Nominate r40088.
- r880162: 2009-10-17 00:39:14 [joeswatosh] Joe Swatosh
-
/subversion/bindings/swig/ruby/test/test_core.rb [diff, log, file]
Update the assertion to reflect the change in r39219 that causes
svn_io_detect_mimetype2 to always check the extension before trying to
read the the file.
* subversion/bindings/swig/ruby/test/test_core.rb
(SvnTestCore#test_mime_type_detect_with_type_map): Update assertion