summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* scm: mercurial: test: lib: update branches test for Branch class (#5501)Toshi MARUYAMA2011-10-281-9/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: test: lib: update branches test for Branch class (#5501)Toshi MARUYAMA2011-10-281-6/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: test: add test of parents to unit lib test (#5501)Toshi MARUYAMA2011-10-281-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7669 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: test: add test of parents to unit lib test (#5501)Toshi MARUYAMA2011-10-281-0/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7667 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: update test repository (#5501)Toshi MARUYAMA2011-10-284-13/+15
| | | | | | This test repository has one merged revision. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make queries resources fully conform to common behavior (removed additonal ↵Etienne Massip2011-10-261-3/+0
| | | | | | routes) (#9108). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use NUM_REV instead of hard-coded number of revisions at ↵Toshi MARUYAMA2011-10-251-1/+1
| | | | | | "test_fetch_changesets_incremental" of unit model test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: drop supporting below Mercurial 1.1 (#9465)Toshi MARUYAMA2011-10-251-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On November 1st 2011, Mercurial 2.0 will be released. On Mercurial 1.1.2, unit lib test fails with following error. <pre> Traceback (most recent call last): File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module> mercurial.dispatch.run() File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run sys.exit(dispatch(sys.argv[1:])) File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch return _runcatch(u, args) File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch return _dispatch(ui, args) File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch ret = _runcommand(ui, options, cmd, d) File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand return checkargs() File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs return cmdfunc() File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check return func(*args, **kwargs) File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog if hg.util.version() >= '1.6': AttributeError: 'module' object has no attribute 'version' 1) Error: test_nodes_in_branch(MercurialAdapterTest): Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1 lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg' lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch' test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch' test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each' test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor : convert queries to REST resources (also fixes #9108).Etienne Massip2011-10-242-15/+33
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)Toshi MARUYAMA2011-10-241-2/+4
| | | | | | Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)Toshi MARUYAMA2011-10-241-10/+14
| | | | | | Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r7628.Etienne Massip2011-10-181-3/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter out illegal values to prevent raise of PostgreSQL exceptions, ↵Etienne Massip2011-10-181-1/+3
| | | | | | restored last test part removed with r7625 (#8371). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restored valid test part removed with r7625 (#8371).Etienne Massip2011-10-131-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed debugging purpose command.Etienne Massip2011-10-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed test part failing with PostgreSQL (#8371).Etienne Massip2011-10-131-6/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed shot filter expression parsing depending upon field operators (#8371).Etienne Massip2011-10-121-0/+74
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing test (#4264).Etienne Massip2011-10-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update CodeRay version to 1.0 final (#4264).Etienne Massip2011-10-082-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at "fail with unauthorized ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | parent_id" of functional/projects_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at "fail without parent_id" of ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | functional/projects_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at "fail with parent_id" of ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | functional/projects_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on_base at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of ↵Toshi MARUYAMA2011-10-071-1/+3
| | | | | | test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of ↵Toshi MARUYAMA2011-10-071-1/+2
| | | | | | test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_should_not_set_a_disabled_tracker of unit/issue_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_set_issue_to_dates_without_issue_to at ↵Toshi MARUYAMA2011-10-071-1/+3
| | | | | | test/unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_relation_type_for at ↵Toshi MARUYAMA2011-10-071-1/+2
| | | | | | test/unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of ↵Toshi MARUYAMA2011-10-071-1/+3
| | | | | | test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_follows_relation_should_be_reversed at ↵Toshi MARUYAMA2011-10-071-1/+2
| | | | | | test/unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_create at test/unit/issue_relation_test.rbToshi MARUYAMA2011-10-071-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7598 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_validates_circular_dependency of unit/issue_relation_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7597 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at test_validate_identifier of ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | unit/project_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test/unit/issue_nested_set_test.rbToshi MARUYAMA2011-10-071-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: replace deprecated errors.on at ↵Toshi MARUYAMA2011-10-071-1/+1
| | | | | | test_validate_mail_notification_inclusion of unit/user_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test/unit/user_test.rbToshi MARUYAMA2011-10-071-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 2 tests about passing custom field filter to /issues.xmlEtienne Massip2011-10-051-3/+34
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove hard-coded '.rxml' from 'test_show_atom' at functional issues ↵Toshi MARUYAMA2011-10-041-1/+1
| | | | | | controller test (#6317) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove hard-coded '.rxml' from 'test_index_atom' at functional projects ↵Toshi MARUYAMA2011-10-041-1/+1
| | | | | | controller test (#6317) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that anchor names generated for headings fully match wiki links ↵Etienne Massip2011-10-021-0/+10
| | | | | | (#7215). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prepend page title to anchor in single page wiki HTML export to make links ↵Etienne Massip2011-10-021-0/+29
| | | | | | more unique. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix generation of blank local link when no title is specified in wiki link.Etienne Massip2011-10-021-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use local links in wiki pages when possible (#3276).Etienne Massip2011-10-021-0/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add unit message test of cannot reply to a locked topicToshi MARUYAMA2011-10-011-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554 e93f8b46-1217-0410-a6f0-8f06a7374b81