Commit Graph

75 Commits

Author SHA1 Message Date
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 4f153083ac Removed assertions on blank template.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 20:42:31 +00:00
Toshi MARUYAMA 5033a155b3 Rails3: test: scm: subversion: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:10:48 +00:00
Jean-Philippe Lang 141630e771 Removed duplicated test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:23:25 +00:00
Jean-Philippe Lang 346fccf782 Do not show revisions links and field on filesystem repositories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:22:12 +00:00
Jean-Philippe Lang fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Jean-Philippe Lang 582574bace Adds a test for revision diff as raw format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:18:00 +00:00
Jean-Philippe Lang 666830cca0 Test class cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:53:02 +00:00
Jean-Philippe Lang b6b77c438a Adds functional tests for repository creation/update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 08:47:40 +00:00
Toshi MARUYAMA e42b152011 scm: subversion: remove fetch_changesets from test_revision at functional test
This test uses fixtures. So, there is no need to fetch changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:57:19 +00:00
Toshi MARUYAMA 887c27bb91 Rails3: scm: subversion: fix error of test_entry_download at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:09:06 +00:00
Toshi MARUYAMA 640e7b2c82 Rails3: scm: subversion: fix error of test_entry_not_found at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:42 +00:00
Toshi MARUYAMA 57b4c52d85 Rails3: scm: subversion: fix error of test_entry_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:19 +00:00
Toshi MARUYAMA 50c0856b9b Rails3: scm: subversion: fix error of test_entry_should_send_if_too_big at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:55 +00:00
Toshi MARUYAMA ef997024a3 Rails3: scm: subversion: fix error of test_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:30 +00:00
Toshi MARUYAMA b90cc49ecb Rails3: scm: subversion: fix error of test_directory_changes at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:05 +00:00
Toshi MARUYAMA 62a1e1dc50 Rails3: scm: subversion: fix error of test_file_changes at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:38 +00:00
Toshi MARUYAMA 84fb59bca3 Rails3: scm: subversion: fix error of test_browse_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:13 +00:00
Toshi MARUYAMA 65ec0c7a5e Rails3: scm: subversion: fix error of test_browse_directory at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:45 +00:00
Toshi MARUYAMA 89476adc7f Rails3: scm: subversion: fix error of test_browse_root at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:14 +00:00
Toshi MARUYAMA 1788dc424a Rails3: scm: subversion: fix error of test_destroy_invalid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:56:53 +00:00
Toshi MARUYAMA f2eb1c3e3f Rails3: scm: subversion: fix error of test_destroy_valid_repository at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:56:28 +00:00
Toshi MARUYAMA 818395a995 Rails3: scm: subversion: fix error of test_annotate_at_given_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:55:48 +00:00
Toshi MARUYAMA 5adfea9708 Rails3: scm: subversion: fix error of test_annotate at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:55:07 +00:00
Toshi MARUYAMA 6cddeac5e6 Rails3: scm: subversion: fix error of test_directory_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:54:39 +00:00
Toshi MARUYAMA 2c5658cda8 Rails3: scm: subversion: fix error of test_revision_diff at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:54:05 +00:00
Toshi MARUYAMA 345b0238fc Rails3: scm: subversion: fix error of test_empty_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:53:34 +00:00
Toshi MARUYAMA 9c0701ce12 Rails3: scm: subversion: fix error of test_invalid_revision at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:53:00 +00:00
Toshi MARUYAMA 404b7d9a7d Rails3: scm: subversion: fix error of test_directory_entry at functional test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:52:31 +00:00
Toshi MARUYAMA 01f4caad45 scm: subversion: code clean up test_entry_should_send_if_too_big at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:07:42 +00:00
Toshi MARUYAMA 93d5da4e53 scm: subversion: code clean up test_browse_directory at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 12:07:15 +00:00
Toshi MARUYAMA 5d187b4fa5 Rails3: scm: subversion: fix error of test_show at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:15:18 +00:00
Toshi MARUYAMA 3afbc61cdd scm: subversion: define NUM_REV as the number of test repository revisions at functional test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 11:14:34 +00:00
Toshi MARUYAMA 173b5ce965 scm: subversion: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 21:47:51 +00:00
Toshi MARUYAMA 7c505aaff3 scm: subversion: add functional test of destroying invalid repository (#8458, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 15:48:21 +00:00
Toshi MARUYAMA 6ee6d709f2 scm: subversion: add functional test of destroying valid repository (#8458, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 15:47:35 +00:00
Toshi MARUYAMA c361ef5a5f scm: subversion: run both of "inline" and "side by side" diff in functional test_directory_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:12:34 +00:00
Toshi MARUYAMA cb555d9885 scm: subversion: run both of "inline" and "side by side" diff in functional test_revision_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:12:13 +00:00
Toshi MARUYAMA 9cb76de334 scm: subversion: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:08:05 +00:00
Toshi MARUYAMA 363d9de8bb scm: subversion: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 11:24:02 +00:00
Jean-Philippe Lang f279b48288 Fixes subversion tests not running on win32.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 18:25:38 +00:00
Toshi MARUYAMA 3e463c4e69 scm: subversion: change some functional tests project id from 1 to 3.
TODO: remaining tests read fixture. All tests need to read test repository.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 03:59:30 +00:00
Toshi MARUYAMA 66c979d63c scm: fix diff revision param validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-17 14:17:04 +00:00
Toshi MARUYAMA ccdea234ad scm: functional test of using format_revision() for annotate (#3724).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-21 13:22:28 +00:00
Jean-Philippe Lang 7d0b1b3830 Respond with 404 instead of 500 when revision/entry is not found in the repository (#7307).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-14 20:22:36 +00:00
Toshi MARUYAMA 98b3a50657 scm: fix error on revision page for empty revision (#7307).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-13 12:04:30 +00:00
Toshi MARUYAMA e4f72a8e3a scm: add compatible functional test fof changing diff revisions label at SCM adapter level.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-09 09:53:50 +00:00
Jean-Philippe Lang 84dd413f22 Restore rev param validation that was removed in r2840.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-18 18:37:49 +00:00
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Eric Davis 0e951c0716 Fix the tests that were broken by r4286:
"Refactor: merged error rendering methods."

http://ci.finn.de/builds/1-8-7_redmine-trunk_mysql/4286

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-25 15:42:41 +00:00