summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_subversion_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds configuration settings to limit valid repository path (#1415).Jean-Philippe Lang2014-11-081-0/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-7/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from RepositorySubversionTestToshi MARUYAMA2014-01-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: scm: reload repository after destroying changesets in incremental ↵Toshi MARUYAMA2013-12-291-0/+1
| | | | | | fetch test git-svn-id: http://svn.redmine.org/redmine/trunk@12472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* stricter asserting of subversion url validation testToshi MARUYAMA2013-04-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add unit tests of subversion url validationToshi MARUYAMA2013-04-141-0/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11717 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up test/unit/repository_subversion_test.rbToshi MARUYAMA2013-04-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Subversion#load_entries_changesets raises an error if entries is nil.Jean-Philippe Lang2012-06-121-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Repository#entries returns an Array.Jean-Philippe Lang2012-06-101-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed #changes association to #filechanges (clash with AR::Base.changes ↵Jean-Philippe Lang2012-06-031-2/+2
| | | | | | that triggers errors with Rails 3.2.5). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_next_nil at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_next at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_previous_nil at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_previous at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_format_identifier at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7155 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_find_changeset_by_empty_name at ↵Toshi MARUYAMA2011-09-121-1/+3
| | | | | | | | | 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@7154 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_identifier at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of ↵Toshi MARUYAMA2011-09-121-1/+2
| | | | | | | | | test_directory_listing_with_square_brackets_in_base 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@7152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of ↵Toshi MARUYAMA2011-09-121-1/+3
| | | | | | | | | test_directory_listing_with_square_brackets_in_path 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@7151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_latest_changesets at unit model testToshi MARUYAMA2011-09-121-0/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7150 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_fetch_changesets_incremental at ↵Toshi MARUYAMA2011-09-121-2/+7
| | | | | | | | | 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@7149 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: subversion: fix error of test_fetch_changesets_from_scratch at ↵Toshi MARUYAMA2011-09-111-2/+3
| | | | | | | | | 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@7108 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: define NUM_REV as the number of test repository revisions ↵Toshi MARUYAMA2011-09-111-0/+2
| | | | | | at unit model test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7107 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: remove trailing white-spaces from unit model test.Toshi MARUYAMA2011-05-081-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes subversion tests not running on win32.Jean-Philippe Lang2011-03-201-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: code clean up unit model test.Toshi MARUYAMA2011-03-171-6/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: simplify Ruby 1.9 string test in unit model test.Toshi MARUYAMA2011-03-171-9/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: add changesets order test in unit model test (#5357).Toshi MARUYAMA2011-03-021-0/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: ignore log encoding setting in Subversion and Mercurial (#7597).Toshi MARUYAMA2011-02-281-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: subversion: change unit app test project id from 1 to 3.Toshi MARUYAMA2011-02-151-3/+4
| | | | | | | | Fixtures have project id 1 subversion changesets and changes. Change file:/// to file://. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4826 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix error on revision page for empty revision (#7307).Toshi MARUYAMA2011-01-131-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix assert_equal parameter order in subversion and git unit test.Toshi MARUYAMA2011-01-111-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4691 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix subversion and git activities test reffering r4621.Toshi MARUYAMA2011-01-031-3/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed failing subversion test.Jean-Philippe Lang2011-01-021-17/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4621 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changing revision label and identifier at SCM adapter level (#3724, #6092)Toshi MARUYAMA2011-01-021-1/+52
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050Jean-Baptiste Barth2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support listing directories in svn which include square brackets. #5548Eric Davis2010-06-201-4/+30
| | | | | | Contributed by Gregor Schmidt git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test helpers for test repositories.Jean-Philippe Lang2010-05-011-5/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Subversion#latest_changesets ignores revision argument (#4360).Jean-Philippe Lang2009-12-081-7/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3134 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: RepositoriesController#revision may show wrong revision (#3779).Jean-Philippe Lang2009-09-201-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ran the Rails upgrade * Upgraded to Rails Engines 2.3.2 * Added a plugin to let Engines override application views. * Converted tests to use the new classes: ** ActionController::TestCase for functional ** ActiveSupport::TestCase for units * Converted ActiveRecord::Error message to a string. * ActiveRecord grouping returns an ordered hash which doesn't have #sort! * Updated the I18n storage_units format. * Added some default initializers from a fresh rails app * Changed the order of check_box_tags and hidden_field_tags. The hidden tag needs to appear first in Rails 2.3, otherwise it will override any value in the check_box_tag. * Removed the custom handler for when the cookie store is tampered with. Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not load the data from it when it's been tampered with (e.g. no user login). * Fixed mail layouts, 2.3 has problems with implicit multipart emails that use layouts. Also removed some custom Redmine mailer code. * Fixed a bug that occurred in tests where the "required" span tag would be added to the :field_status translation. This resulted in an email string of: <li>Status<span class="required"> *</span><span class="required"> *</span> Instead of: <li>Status: New</li> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SCM:Jean-Philippe Lang2009-08-171-3/+9
| | | | | | | * Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument) * No longer used Repository#changesets_for_path method removed git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to limit the number of revisions displayed on a repository ↵Jean-Philippe Lang2009-02-011-0/+7
| | | | | | file log (default=100). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Postgresql 8.3 compatibility fix (#834).Jean-Philippe Lang2008-04-261-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1363 e93f8b46-1217-0410-a6f0-8f06a7374b81