Toshi MARUYAMA
ff6a86364e
scm: mercurial: add test of diff non ASCII path name in functional test.
...
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 13:35:31 +00:00
Toshi MARUYAMA
c5257f6e0d
scm: add test of showing *real* non ASCII contents in functional filesystem repository test.
...
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 11:28:21 +00:00
Toshi MARUYAMA
ab6b848304
scm: mercurial: code clean up functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 07:25:53 +00:00
Toshi MARUYAMA
f157ecb91a
scm: mercurial: change Latin-1 path test methods name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 07:25:09 +00:00
Toshi MARUYAMA
e78bc574c2
remove trailing white-spaces from functional functional attachments controller test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:47:05 +00:00
Toshi MARUYAMA
2c08b71e8f
scm: mercurial: remove trailing white-spaces and a empty line from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:38:45 +00:00
Toshi MARUYAMA
20f5b6b45d
scm: filesystem: remove trailing white-spaces from functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 06:38:04 +00:00
Toshi MARUYAMA
59d82995fe
scm: git: add unit adapter test of master branch revisions().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 11:45:58 +00:00
Toshi MARUYAMA
1ea1606007
scm: git: split unit adapter revisions test to with time or not ( #7146 , #6013 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:29 +00:00
Toshi MARUYAMA
0d942beb49
scm: git: remove trailing white-spaces and an empty line in unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:08 +00:00
Toshi MARUYAMA
c33be450e7
scm: code clean up unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 01:11:50 +00:00
Toshi MARUYAMA
931fd58de6
scm: git: use report_last_commit option in unit adapter test ( #7047 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:42:24 +00:00
Toshi MARUYAMA
973f3eb50e
scm: remove trailing white-spaces in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:23 +00:00
Toshi MARUYAMA
c17a78c771
scm: mercurial: fix unit model test fails if hg command is unavailable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:07 +00:00
Toshi MARUYAMA
6f4461830c
scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:22:49 +00:00
Toshi MARUYAMA
18d0618007
scm: space cleanup in unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-02 23:07:38 +00:00
Toshi MARUYAMA
8632efcce2
Add missing fixture when running tests from scratch in functional RolesControllerTest.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-01 23:14:28 +00:00
Jean-Philippe Lang
93fabf23ae
Fixes an assertion for postgresql ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:33:15 +00:00
Jean-Philippe Lang
fdb0151869
Fixed: notes are lost when copying issue(s) ( #6901 , #8239 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:27:50 +00:00
Jean-Philippe Lang
88a93d7e10
Fixed: copying an issue keeps the author of the original issue ( #6901 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:41:07 +00:00
Jean-Philippe Lang
57f63d513c
Makes 'This week' filter work with any starting day of week ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:28:27 +00:00
Jean-Philippe Lang
fab9aca747
Fixed: selected modules are not activated when copying a project ( #8244 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 07:26:45 +00:00
Toshi MARUYAMA
02c5577a26
PDF: add test of ensuring 'ASCII-8BIT' encoding in Ruby 1.9 ( #61 ).
...
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem,
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:51 +00:00
Toshi MARUYAMA
f62605c636
PDF: fix 0x5c(backslash) escape processing in FPDF ( #61 ).
...
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +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
Toshi MARUYAMA
d5b97d49c6
code clean up MailHandlerTest unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 07:09:52 +00:00
Toshi MARUYAMA
f4745d4960
scm: bazaar: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-25 02:02:44 +00:00
Toshi MARUYAMA
97677748ba
scm: add missing fixtures when running tests from scratch in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-22 07:13:56 +00:00
Jean-Philippe Lang
f0dfff4866
Fixes potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 20:34:43 +00:00
Jean-Philippe Lang
f89d04074e
Warn about subtasks before deleting a parent issue ( #6562 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Toshi MARUYAMA
94f71773b6
scm: mercurial: add test of copied file from_revision node id at unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:33:34 +00:00
Toshi MARUYAMA
eb4ca1ac29
fix functional projects controller test fails in Ruby 1.8.6.
...
Array#count is introduced in Ruby 1.8.7.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:46:11 +00:00
Toshi MARUYAMA
a7c510fd0a
scm: add unit test of preventing PostgreSQL or Ruby 1.9 errors if paths is invalid UTF-8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:45:26 +00:00
Toshi MARUYAMA
2507bcd8e7
scm: code clean up unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 01:01:58 +00:00
Toshi MARUYAMA
d7fccb0d8e
scm: add test of empty committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:51 +00:00
Toshi MARUYAMA
dab753ba28
scm: add test of committer nil at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:04 +00:00
Toshi MARUYAMA
5f8c4e0703
scm: add test of invalid utf8 sequences in committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:21:11 +00:00
Jean-Philippe Lang
f16cddd57a
Private issues ( #7414 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Toshi MARUYAMA
04a22fa757
scm: cvs: convert author encoding with log encoding setting.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA
19d524cdad
scm: git: more strict functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 10:18:16 +00:00
Toshi MARUYAMA
a20f140734
scm: cvs: code clean up functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 07:20:57 +00:00
Toshi MARUYAMA
d43bc98a49
scm: cvs: update test repository.
...
add "tag00" tag and "branch00" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 05:03:36 +00:00
Jean-Philippe Lang
1cd4f5b353
Adds a helper for issue heading ( #7647 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Jean-Philippe Lang
1242e448f3
Extract visibility condition from project statement and use visible scopes instead.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:53:39 +00:00
Jean-Philippe Lang
949b355ef2
Fixed: ambiguous lft column SQL error on Issue#descendants with a join on projects.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:31:00 +00:00
Toshi MARUYAMA
f0d32f6567
scm: cvs: fix unit model cat test fails on Windows.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 12:24:43 +00:00
Toshi MARUYAMA
0ceeecc854
scm: cvs: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 12:24:25 +00:00
Toshi MARUYAMA
20b33942ba
scm: darcs: add entries test in invalid revision in model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:47:05 +00:00
Toshi MARUYAMA
cad14abea7
scm: cvs: add entries test in invalid revision in model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:46:21 +00:00
Toshi MARUYAMA
5bb06ae42d
scm: additional test of replacing invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:04:45 +00:00