Commit Graph

1866 Commits

Author SHA1 Message Date
Jean-Philippe Lang 642d3b6512 Test that forms are well-formed for issue attachment upload.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 16:04:38 +00:00
Jean-Philippe Lang b14576c56b Additional functional tests for issue attachment upload.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 15:51:40 +00:00
Jean-Philippe Lang 6db66f7183 Fixed: file uploads broken by r6312 (#8912).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 15:28:59 +00:00
Jean-Philippe Lang 9cebf65568 Fixed: pagination do not show total visible issue count (#8633).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 16:48:26 +00:00
Jean-Philippe Lang 521eaa79cb Ability to load relations on /issues API (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 15:34:41 +00:00
Jean-Philippe Lang 49900051ea Fixed: MailHandler does not include JournalDetail for attached files (#7966).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 09:34:23 +00:00
Jean-Philippe Lang 9957883c4d Fixed: Error deleting issue with grandchild (#8880).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 08:35:48 +00:00
Jean-Philippe Lang fdd5367eba Respond with errors and appropriate content type on /issues API calls with invalid query params (#8883).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:45:23 +00:00
Jean-Philippe Lang 2ce3191639 Assignee is removed on issue update if assignee account is locked (#8884).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:24:02 +00:00
Jean-Philippe Lang ed01ae121d Adds a optgroup for groups in users/groups select tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:05:22 +00:00
Jean-Philippe Lang 578fdc62f2 Ability to assign issues to groups (#2964).
Option is disabled by default. It can be turned on in application settings.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 18:18:13 +00:00
Jean-Philippe Lang 82f5831545 Adds 'Create and continue' button on the new group form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:55:50 +00:00
Jean-Philippe Lang f595197ecf Adds a 'Create and continue' button on project form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:51:58 +00:00
Jean-Philippe Lang ed23149a6c Fixes assertions (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 19:01:13 +00:00
Jean-Philippe Lang 5f79a6a190 Fixed: additional workflow transitions not available when set to both author and assignee (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:05:17 +00:00
Jean-Philippe Lang 4f92276654 Validate custom field regexp (#8865).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:29:34 +00:00
Jean-Philippe Lang 8769eb53bc Removed a few assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 21:21:29 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang 6c5b29bb68 More accurate date validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:36:43 +00:00
Jean-Philippe Lang 308a922d80 Validate date filters values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:13:59 +00:00
Toshi MARUYAMA 06be9ebac4 scm: git: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:10:21 +00:00
Toshi MARUYAMA c077f0cde1 scm: git: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:09:34 +00:00
Toshi MARUYAMA 61e6dc0a48 scm: git: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:08:56 +00:00
Toshi MARUYAMA d34d933f31 scm: mercurial: add functional test of destroying invalid repository (#8777, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:56:49 +00:00
Toshi MARUYAMA bc5587002a scm: mercurial: add functional test of destroying valid repository (#8777, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:15:34 +00:00
Toshi MARUYAMA a8871a5af7 scm: mercurial: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:14:49 +00:00
Toshi MARUYAMA e8efb5ef71 scm: cvs: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:55:38 +00:00
Toshi MARUYAMA db6b8da9a5 scm: cvs: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:55:15 +00:00
Toshi MARUYAMA fe07aee27e scm: filesystem: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:14:16 +00:00
Toshi MARUYAMA db44c22d04 scm: filesystem: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:13:49 +00:00
Toshi MARUYAMA 7a8a98bd93 scm: filesystem: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:13:19 +00:00
Toshi MARUYAMA dd8218590e scm: bazaar: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:12:47 +00:00
Toshi MARUYAMA 67cbda91ed scm: bazaar: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:12:08 +00:00
Toshi MARUYAMA 45e9b00073 scm: darcs: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:43 +00:00
Toshi MARUYAMA a50ba1ab39 scm: darcs: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:22 +00:00
Toshi MARUYAMA 1a1724128b scm: darcs: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:00 +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
Jean-Philippe Lang c25a79a61b Keep invalid values and add validation error message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:34:49 +00:00
Jean-Philippe Lang bedbb166b7 Reject non numeric values for numeric fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:19:21 +00:00
Jean-Philippe Lang bf15b06d98 Fixes filters on float values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:09:40 +00:00
Jean-Philippe Lang 4507aa5014 Adds date based filters (#4729) and date range filter (#6954).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 17:29:29 +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 7f9f295b4e scm: mercurial: add missing "assert" changesets size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:11:16 +00:00
Toshi MARUYAMA c8ec7820db scm: git: add missing "assert" changesets and entries size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:10:48 +00:00
Toshi MARUYAMA 962ba99115 scm: cvs: add missing "assert" changesets size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:10:14 +00:00
Jean-Philippe Lang 932d4cdfea Adds "between" operator for numeric filters (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 08:00:25 +00:00
Jean-Philippe Lang 4a4a71349a Fixes "less than", "greater than" filters on custom fields with postgres (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 21:34:35 +00:00
Jean-Philippe Lang f208fcecca Adds issue id link in the issue creation flash message (#3033).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 19:23:50 +00:00
Jean-Philippe Lang b0728550a3 Fixed: Wiki annotated page does not display author of version 1 (#8449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 12:01:08 +00:00
Jean-Philippe Lang 389c7779e6 Fixed: search options get lost after clicking on a specific result type (#7501).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:25:01 +00:00
Jean-Philippe Lang 2072669769 Fixed: Setting issue attributes from mail should be case-insensitive (#8759).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 10:50:42 +00:00
Toshi MARUYAMA 185dcb9877 scm: git: add unit adapter test of annotate invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:38 +00:00
Toshi MARUYAMA e510f2e29e scm: git: add unit adapter test of annotate invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:16 +00:00
Toshi MARUYAMA e520a3fbaa scm: git: add unit adapter test of diff invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:55 +00:00
Toshi MARUYAMA 7a6a0ed50f scm: git: add unit adapter test of diff invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:32 +00:00
Toshi MARUYAMA 38cf4a53db scm: git: add unit adapter test of cat invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:09 +00:00
Toshi MARUYAMA d573878a34 scm: git: add unit adapter test of cat invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:04:45 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang da69f086e7 Fixes version url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:28:48 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 79f25c08f8 Document why relation is reversed after validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:31:06 +00:00
Jean-Philippe Lang ea06b3cca5 Set a default value for relation type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:29:33 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang 9fca4c440c Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:50:04 +00:00
Jean-Philippe Lang b184caec13 Fixes a functional test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:19:22 +00:00
Jean-Philippe Lang 5811bd1344 Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:17:46 +00:00
Jean-Philippe Lang f2af44b6fe Do not show 2 validation errors when user mail is blank.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:37:57 +00:00
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Jean-Philippe Lang 66f026aa78 Normalize issue description EOLs do prevent false journal details (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:42:46 +00:00
Jean-Philippe Lang 0a9bf389ef Fixed: Workflow copy does not copy advanced workflow settings (#8739).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:13:39 +00:00
Jean-Philippe Lang d0d807caf1 Do not journalize blank description changes (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:05:27 +00:00
Jean-Baptiste Barth fa6fa2dc19 Fixed: queries error messages about custom fields output a 'translation missing' error (#8554).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-27 01:03:22 +00:00
Jean-Baptiste Barth f982c5b90d Fixed circular dependencies possibly introduced when using reverse relations, for instance "blocked by" relations (#8616).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-26 12:47:15 +00:00
Toshi MARUYAMA ee527ab47c replace RAILS_ROOT to Rails.root at test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-23 11:19:05 +00:00
Toshi MARUYAMA e5dfd24aa5 back out r6118. use ActionView::TestCase instead of HelperTestCase at MenuHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:55:02 +00:00
Toshi MARUYAMA b0dfcca230 back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:54:18 +00:00
Toshi MARUYAMA 2871d56045 use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/menu_manager/menu_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:43 +00:00
Toshi MARUYAMA 81e3bc3737 use ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:02 +00:00
Toshi MARUYAMA 6208302840 use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:02:27 +00:00
Toshi MARUYAMA 0df011ecee use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/macros_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:01:45 +00:00
Toshi MARUYAMA 4bc0f9a04a use ActionView::TestCase instead of HelperTestCase at timelog_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:57:10 +00:00
Toshi MARUYAMA b49487e9a1 use ActionView::TestCase instead of HelperTestCase at sort_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:24 +00:00
Toshi MARUYAMA 0b404184d5 use ActionView::TestCase instead of HelperTestCase at search_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:00 +00:00
Toshi MARUYAMA e715627b3d use ActionView::TestCase instead of HelperTestCase at projects_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:55:20 +00:00
Toshi MARUYAMA 6c92ac4d78 use ActionView::TestCase instead of HelperTestCase at custom_fields_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:54:40 +00:00
Toshi MARUYAMA 50dc1ad54a use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/xml_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:50:35 +00:00
Toshi MARUYAMA 148b1e491a use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/json_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:49:53 +00:00
Toshi MARUYAMA fe566992f0 scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 00:57:17 +00:00
Toshi MARUYAMA e4d082a421 replace RAILS_ROOT to Rails.root at test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-20 12:33:58 +00:00
Jean-Baptiste Barth 8a50151780 Added a test to ensure 'Project' column can be removed on issues list (#8411)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-20 01:09:38 +00:00
Jean-Baptiste Barth 88bd76b0e4 Added Project#enable_module! and Project#disable_module! (#7115)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-19 23:45:22 +00:00
Toshi MARUYAMA 391760a666 replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 05:04:16 +00:00
Toshi MARUYAMA 583be064c8 back out r6089.
NoMethodError: undefined method `load!' for #<Pathname:/app/views>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 04:59:07 +00:00
Toshi MARUYAMA 05f83d180e replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:57:11 +00:00
Toshi MARUYAMA d893bdcd76 replace RAILS_ROOT to Rails.root in test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 04:02:31 +00:00
Toshi MARUYAMA 153028f14a back out r6078.
NoMethodError: undefined method `mkdir_p' for #<Pathname:0x7f56f9deb3c0>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 03:53:07 +00:00
Toshi MARUYAMA 2797b1f388 replace RAILS_ROOT to Rails.root in test/fixtures/repositories.yml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:54:47 +00:00
Toshi MARUYAMA 99dc549232 replace RAILS_ROOT to Rails.root in test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:54:05 +00:00
Toshi MARUYAMA 7f458eb853 replace RAILS_ROOT to Rails.root in functional attachments controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:53:24 +00:00
Toshi MARUYAMA dd176828bf replace RAILS_ROOT to Rails.root if functional application controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:15:16 +00:00
Jean-Baptiste Barth 115d227298 Do not cache I18n strings when truncating a long diff (#5089).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 22:09:01 +00:00
Jean-Baptiste Barth ffe7aef0ea Do not show inactive document categories where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 20:33:06 +00:00
Jean-Baptiste Barth d5cc7424a8 Do not show inactive issue priorities where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 19:43:40 +00:00
Toshi MARUYAMA 204eabba41 scm: cvs: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:54:02 +00:00
Toshi MARUYAMA ee2418f076 scm: cvs: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:53:41 +00:00
Toshi MARUYAMA 9b09aad1d5 scm: cvs: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:53:19 +00:00
Toshi MARUYAMA 406b582a82 scm: bazaar: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:03:20 +00:00
Toshi MARUYAMA fa93c2b2bb scm: bazaar: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:02:44 +00:00
Toshi MARUYAMA 01656ff590 scm: bazaar: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:02:10 +00:00
Toshi MARUYAMA d91cf134b0 scm: filesystem: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:12:38 +00:00
Toshi MARUYAMA 407761985e scm: filesystem: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:58 +00:00
Toshi MARUYAMA 7786633ddc scm: filesystem: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:28 +00:00
Toshi MARUYAMA 3b3616ed21 scm: mercurial: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:00 +00:00
Toshi MARUYAMA 7e38ccab55 scm: mercurial: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:10:23 +00:00
Toshi MARUYAMA 3baabca8f2 scm: mercurial: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:09:50 +00:00
Toshi MARUYAMA 5538d84171 scm: darcs: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 10:12:19 +00:00
Toshi MARUYAMA ea9847bb37 scm: darcs: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 10:11:57 +00:00
Toshi MARUYAMA 5ffc855438 scm: darcs: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 10:11:23 +00:00
Toshi MARUYAMA 8ca1d90980 scm: git: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 07:06:59 +00:00
Toshi MARUYAMA 2ab0bdf695 scm: git: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 07:06:38 +00:00
Toshi MARUYAMA dfe16e1bca scm: mercurial: add functional test of annotate file which does not exist in *tip* is not found.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 07:05:36 +00:00
Toshi MARUYAMA 4c7f5b4e41 scm: darcs: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 05:07:43 +00:00
Toshi MARUYAMA 685aab7fcb scm: bazaar: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 04:57:42 +00:00
Toshi MARUYAMA 72dd13a330 scm: git: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 03:30:19 +00:00
Toshi MARUYAMA b85092c702 PDF: replace all non ASCII characters to '?' if Iconv error raise in JRuby (#8569, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 03:41:26 +00:00
Toshi MARUYAMA 2c803670d8 PDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_invalid_utf8_should_be_replaced_ja in JRuby (#8565, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 01:57:06 +00:00
Toshi MARUYAMA 8d620a1297 PDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_cannot_convert_ja_cp932 in JRuby (#8565, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 01:56:21 +00:00
Toshi MARUYAMA 074e05db4b PDF: use SJIS instead of CP932 at unit pdf test_fix_text_encoding_nil in JRuby (#8565, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 15:15:06 +00:00
Toshi MARUYAMA 91abe15482 scm: git: skip non UTF-8 path encoding test of unit model test in JRuby (#5251).
Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 10:06:03 +00:00
Toshi MARUYAMA 048bc3b50b scm: git: skip non UTF-8 path encoding test of unit adapter test in JRuby (#5251).
Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 10:05:40 +00:00
Toshi MARUYAMA 4690082157 scm: git: skip non UTF-8 path encoding test of functional test in JRuby (#5251).
Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 10:05:15 +00:00
Jean-Philippe Lang fccf15c2a2 Fixed: Private flag ignored when creating an issue with set_own_issues_private permission only (#8472).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 17:16:38 +00:00
Jean-Philippe Lang 05ff5aa11e Fixes git annotate test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 16:39:52 +00:00
Toshi MARUYAMA c9ba5662e8 remove trailing white-spaces from test/functional/account_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 11:05:04 +00:00
Toshi MARUYAMA 6253ea840c remove trailing white-spaces and code clean up test/mocks/open_id_authentication_mock.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 11:04:35 +00:00
Toshi MARUYAMA 901a937053 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff_latin_1_path test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:47:19 +00:00
Toshi MARUYAMA 45cce005d2 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff_two_revs test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:46:35 +00:00
Toshi MARUYAMA bc8b1c0b22 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:45:48 +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 296d70e8aa scm: bazaar: fix functional test_annotate test.
In spite of revision is incorrect revision, tests pass.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:51 +00:00
Toshi MARUYAMA 958612451b scm: bazaar: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:28 +00:00
Toshi MARUYAMA f58835f5ad scm: cvs: run both of "inline" and "side by side" diff in functional test_diff_new_files test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:02 +00:00
Toshi MARUYAMA 28f3d9a871 scm: cvs: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:10:37 +00:00
Toshi MARUYAMA 6bcdd2a097 scm: darcs: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:10:13 +00:00
Toshi MARUYAMA b03935fade scm: git: fix functional test_annotate test.
In spite of revision is incorrect revision, tests pass.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:09:37 +00:00
Toshi MARUYAMA 41a439d052 scm: git: run both "inline" and "side by side" diff in functional test_diff_latin_1 test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:16:28 +00:00
Toshi MARUYAMA cb460ada33 scm: git: run both "inline" and "side by side" diff in functional test_diff_two_revs test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:16:08 +00:00
Toshi MARUYAMA ab75fb1c82 scm: git: run both "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:15:45 +00:00
Jean-Philippe Lang bf137818bb Fixed: activity shows updates of private issues (#8432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 07:12:38 +00:00
Toshi MARUYAMA 959aa0b74e scm: bazaar: add unit adapter test that append_revisions_only is false in test shared repository branch (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:52:51 +00:00
Toshi MARUYAMA de7f42d257 scm: bazaar: rename unit adapter test "test_append_revisions_only" to "test_append_revisions_only_true" (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:52:13 +00:00
Toshi MARUYAMA a080b09a41 scm: bazaar: add unit adapter test that shared repository "append_revisions_only" is false (#2799, #4741, #8030).
adapter append_revisions_only() checks whether .bzr/branch/branch.conf exists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:51:44 +00:00
Toshi MARUYAMA b4aedc95d9 scm: bazaar: add unit adapter test that last revision of empty branch is 0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:51:15 +00:00
Toshi MARUYAMA 27b9ad2a8a scm: bazaar: use shared repository path as repository path in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:50:45 +00:00
Toshi MARUYAMA 9fa4fff48a scm: bazaar: update test repository (#2799, #4741, #8030).
* Shared repository with trees (format: 2a)
* clone original branch to *trunk*
* set append_revisions_only = true at trunk/.bzr/branch/branch.conf

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 01:14:07 +00:00
Toshi MARUYAMA b4edeb80cd scm: bazaar: add unit adapter test of revisions invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:14:20 +00:00
Toshi MARUYAMA 8c0a4870e6 scm: bazaar: add unit adapter test of revisions invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:13:43 +00:00
Toshi MARUYAMA 80e997ca22 scm: bazaar: add unit adapter test of entries invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:12:40 +00:00
Toshi MARUYAMA 1587be2915 scm: bazaar: add unit adapter test of entries invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:12:07 +00:00
Toshi MARUYAMA 2598f0fdeb scm: bazaar: add unit adapter test of diff invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:16:22 +00:00
Toshi MARUYAMA 160328ee2e scm: bazaar: add unit adapter test of diff invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:16:00 +00:00
Toshi MARUYAMA a01bd88379 scm: bazaar: add unit adapter test of cat invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 05:07:22 +00:00
Toshi MARUYAMA 15d000f07a scm: bazaar: add unit adapter test of cat invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 05:06:45 +00:00
Toshi MARUYAMA 4883fcdb1e scm: bazaar: remove duplicate test from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 02:04:58 +00:00
Toshi MARUYAMA a09144ea5d scm: bazaar: add unit adapter test of annotate invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:12:51 +00:00
Toshi MARUYAMA a3dcc4ec2b scm: bazaar: add unit adapter test of annotate invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:12:07 +00:00
Toshi MARUYAMA d4d75401b3 scm: bazaar: fix functional annotate test.
Test committer is "jsmith". If committer is not "jsmith", test passes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:10:43 +00:00
Toshi MARUYAMA 413f5278b2 scm: git: fix a comment of functional annotate test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:10:01 +00:00
Toshi MARUYAMA 583ed5d89d scm: darcs: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:09:19 +00:00
Toshi MARUYAMA cadaa018b6 scm: bazaar: add unit adapter info test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:14:02 +00:00
Toshi MARUYAMA 698140ea5c scm: bazaar: add unit adapter test that info is nil if repository path is invalid.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:13:38 +00:00
Toshi MARUYAMA 1f72f57ad7 scm: bazaar: add unit adapter test that info is not nil in test repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:13:16 +00:00
Toshi MARUYAMA 94bd3c526d scm: subversion: add unit adapter test that info is nil if repository path is invalid.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 11:04:01 +00:00
Toshi MARUYAMA e74f2f1202 scm: subversion: add unit adapter test that info is not nil in test repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 11:03:40 +00:00
Toshi MARUYAMA 41051d238e scm: remove trailing white-spaces from unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 09:58:02 +00:00
Toshi MARUYAMA 1dd571f385 scm: bazaar: add unit adapter test to get "append_revisions_only" value from test repository .bzr/branch/branch.conf (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:06:27 +00:00
Toshi MARUYAMA 58820a1e90 scm: bazaar: add unit adapter test to get .bzr/branch/branch.conf path from specified path (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 07:46:38 +00:00
Toshi MARUYAMA 228ac57ada remove trailing white-spaces from functional sys controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 04:40:18 +00:00
Toshi MARUYAMA 108aa7d6bf scm: remove trailing white-spaces from functional repositories controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-24 01:58:29 +00:00
Toshi MARUYAMA 083b2864c7 scm: bazaar: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-24 01:47:53 +00:00
Toshi MARUYAMA 5977d1be20 scm: bazaar: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-24 01:47:26 +00:00
Toshi MARUYAMA 29b2db0891 scm: bazaar: use constant for project id in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-24 01:46:53 +00:00
Jean-Philippe Lang 12801ca031 Fixed: GET /time_entries.xml ignores limit/offset parameters (#8356).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:48:59 +00:00
Jean-Philippe Lang ef00501c36 Fixed: validation error on issue creation when trying to add an invalid user as a watcher (#5373).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:30:26 +00:00
Jean-Philippe Lang 7e1f04bdfb Do not propose users that can't view an issue as watchers (#7412).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 09:14:36 +00:00
Toshi MARUYAMA 61fb6d6e10 scm: git: add unit adapter test of default path_encoding is UTF-8 (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:40:19 +00:00
Toshi MARUYAMA c9a3d925ca scm: mercurial: add unit adapter test of default path_encoding is UTF-8 (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:38:56 +00:00
Toshi MARUYAMA c8309589b6 scm: cvs: add unit adapter test of default path_encoding is UTF-8 (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:19:38 +00:00
Toshi MARUYAMA 2c817160ab scm: filesystem: add unit adapter test of default path_encoding is UTF-8 (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:18:07 +00:00
Toshi MARUYAMA 7296315c95 scm: filesystem: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 01:10:47 +00:00
Toshi MARUYAMA eb65817ff9 scm: filesystem: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 01:00:24 +00:00
Toshi MARUYAMA 24d58543be scm: git: add unit model test that revisions ordering is inconsistent in existing database (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:17:19 +00:00
Toshi MARUYAMA 9376f6e2c3 scm: git: add unit model test that revisions ordering is consistent in new database (#5357).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:16:56 +00:00
Toshi MARUYAMA 8dc8c625f6 remove trailing white-spaces from functional settings controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 11:37:31 +00:00
Toshi MARUYAMA 6fea3e997b remove trailing white-spaces from unit setting test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 11:36:35 +00:00
Toshi MARUYAMA 9831c27fd0 remove trailing white-spaces from unit document test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:56:16 +00:00
Toshi MARUYAMA 7a8552cbad remove trailing white-spaces from unit enabled module test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:55:38 +00:00
Toshi MARUYAMA 59066eaa44 remove trailing white-spaces and an empty line from unit document category test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:54:54 +00:00
Toshi MARUYAMA a913bc6a9d remove trailing white-spaces from unit default data test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:54:25 +00:00
Toshi MARUYAMA b2670f4650 remove trailing white-spaces from unit attachment test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:53:50 +00:00
Toshi MARUYAMA 441985fb24 remove trailing white-spaces from functional documents controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:53:16 +00:00
Toshi MARUYAMA 944829861d remove trailing white-spaces excluding here-documents from unit application helper test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:46:50 +00:00
Toshi MARUYAMA 1f0ddc3199 scm: mercurial: code clean up unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:18:25 +00:00
Toshi MARUYAMA fdea829952 remove trailing white-spaces from unit search test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:39:40 +00:00
Toshi MARUYAMA 4e8fab3206 remove trailing white-spaces from unit wiki content test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:55 +00:00
Toshi MARUYAMA 817f185e57 remove trailing white-spaces from unit wiki test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:09 +00:00
Toshi MARUYAMA 274bd27c54 remove trailing white-spaces from unit wiki page test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:37:04 +00:00
Toshi MARUYAMA 2d7ce91e80 remove trailing white-spaces from unit mail handler test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:13:19 +00:00
Toshi MARUYAMA 07fe60b639 remove trailing white-spaces from unit journal test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:31 +00:00
Toshi MARUYAMA 435e9b326c remove trailing white-spaces and an empty line from unit journal observer test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:04 +00:00
Toshi MARUYAMA de13c0007b remove trailing white-spaces and empty lines from unit issue test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:35 +00:00
Toshi MARUYAMA 1122fd0e6a remove trailing white-spaces from unit issue nested set test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:01 +00:00
Toshi MARUYAMA a955a5140b remove trailing white-spaces from unit issues helper test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:46 +00:00
Toshi MARUYAMA 5e1576b8b4 remove trailing white-spaces from functional search controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:25 +00:00
Toshi MARUYAMA dfa509b69e remove trailing white-spaces from functional wiki controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:04 +00:00
Toshi MARUYAMA 3ec87dd73f remove trailing white-spaces from functional projects controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:55:41 +00:00
Toshi MARUYAMA d3a953450e remove trailing white-spaces from functional journals controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:55:14 +00:00
Toshi MARUYAMA 0aaa2b1b87 remove trailing white-spaces from unit activity test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:44 +00:00
Toshi MARUYAMA 6a5c9ed3c7 remove trailing white-spaces from functional IssuesController test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:18 +00:00
Toshi MARUYAMA 596670d615 remove trailing white-spaces from functional activities controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 00:09:58 +00:00
Toshi MARUYAMA 4c963cc9dc scm: git: add test of fetching invalid revision in unit model test (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:39:07 +00:00
Toshi MARUYAMA 7ca5a4939e scm: git: fix fetching 7 days problem (#7146, #6013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:38:45 +00:00
Toshi MARUYAMA b0f5d3cd88 scm: git: use block to call revisions() in unit adapter test_revisions_invalid_rev() (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:51 +00:00
Toshi MARUYAMA 39930c3f4d scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_with_rev() (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:30 +00:00
Toshi MARUYAMA 763931d584 scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_all() (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:03 +00:00
Toshi MARUYAMA d3d9830936 scm: git: use block to call revisions() in unit adapter test_revisions_master_merged_rev() (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:35 +00:00
Toshi MARUYAMA 5d8bb7904c scm: git: use block to call revisions() in unit adapter test_revisions_master_all() (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:04 +00:00
Toshi MARUYAMA 2cab592b20 scm: subversion: remove trailing white-spaces from unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:18:18 +00:00
Toshi MARUYAMA e5606c8d32 scm: mercurial: remove trailing white-spaces from unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:17:34 +00:00
Toshi MARUYAMA be7cfb949d scm: filesystem: remove trailing white-spaces from unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:16:39 +00:00
Toshi MARUYAMA 06bd7e35c6 scm: darcs: remove trailing white-spaces from unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:57 +00:00
Toshi MARUYAMA bfe1993758 scm: cvs: remove trailing white-spaces from unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:21 +00:00
Toshi MARUYAMA 5ca257181f scm: add a test of a repository model method "merge_extra_info()" in unit test (#7146, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:58:58 +00:00
Toshi MARUYAMA ee3cf64d52 scm: git: add test of revisions() with invalid revision in unit adapter test (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:45:04 +00:00
Toshi MARUYAMA 3e2a67be4f scm: git: add another revision in merged revisions test in unit adapter test (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:01:10 +00:00
Toshi MARUYAMA 12565cc1ee scm: git: add test of revisions() in merged revisions in unit adapter test (#7146).
Git branch is a reference of specific revision.
Git branch is equivalent with Mercurial *heads*.
http://mercurial.selenic.com/wiki/GitConcepts?action=recall&rev=53#Branch_model

32ae898b7 in git test repository is a merged revision with two heads.
713f49446 and 4a07fe31b *were* in different branches before merged.
713f49446 and 4a07fe31b are descendants of 61b685fbe5.
4a07fe31b is a child of 61b685fbe5.
To get revisions from 713f4944648826f5 to master,
"git log" needs to return 4a07fe31b.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:00:43 +00:00
Toshi MARUYAMA 03ce61bb99 scm: git: add test of "latin_1_path_encoding" branch revisions with from revision in adapter test (#7146).
"latin_1_path_encoding" branch is straight line.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:11:44 +00:00
Toshi MARUYAMA ac3845daaf scm: git: add test of "branch_latin_1_path_encoding" branch all revisions in adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:42 +00:00
Toshi MARUYAMA bc06f85cb3 scm: git: rename "test_revisions_master()" to "test_revisions_master_all()" in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:17 +00:00
Toshi MARUYAMA f3a069281e scm: git: fix incorrect comment in unit model test and code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 15:26:50 +00:00
Toshi MARUYAMA e25dd95389 PDF: replace invalid sequence in converting if encoding destination is UTF-8 (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:45:40 +00:00
Toshi MARUYAMA a5d528c6c2 PDF: call Redmine::Export::PDF::RDMPdfEncoding::rdm_pdf_iconv() directly in unit test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:44:59 +00:00
Toshi MARUYAMA 0681d086e2 PDF: check Japanese general_pdf_encoding is CP932 in unit test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:43:23 +00:00
Toshi MARUYAMA 23a27bd6e4 scm: fix indents of test/unit/changeset_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 04:54:37 +00:00
Toshi MARUYAMA a05a2e0c4d scm: code clean up unit repository test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 14:08:46 +00:00