Commit Graph

31 Commits

Author SHA1 Message Date
Toshi MARUYAMA 01e2472c92 scm: bazaar: add entry test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 10:41:59 +00:00
Toshi MARUYAMA 55748b6fc0 scm: bazaar: add revisions test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 07:58:05 +00:00
Toshi MARUYAMA 3cd15102c6 scm: bazaar: add diff test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 08:50:55 +00:00
Toshi MARUYAMA c70bc540dd add copyright statement to test/unit/lib/redmine/scm/adapters/*.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-14 21:40:45 +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 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 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 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 aed08706e0 scm: bazaar: move cat and annotate test from unit app test to unit lib test.
Bazaar supports revision number and do not need to read database.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 11:05:33 +00:00
Toshi MARUYAMA 50bbb97848 scm: bazaar: add methods of getting bazaar version and add unit lib test (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 07:04:49 +00:00
Toshi MARUYAMA 632151dfff scm: bazaar: fix typo and mistakes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 16:00:57 +00:00
Toshi MARUYAMA fe37f45cb5 scm: bazaar: prepare version string unit lib test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:31:11 +00:00