Commit Graph

922 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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
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 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