summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-26 07:12:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-26 07:12:40 +0000
commit80e997ca222b5fb81ba4c8814437034284346b09 (patch)
tree0c10e9d99cdb1198add4c1943b1212d15b719480 /test
parent1587be2915e77c7606077a807c7f6e30e5f54ebf (diff)
downloadredmine-80e997ca222b5fb81ba4c8814437034284346b09.tar.gz
redmine-80e997ca222b5fb81ba4c8814437034284346b09.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
index 495fce20a..c139fab62 100644
--- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
+++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
@@ -101,6 +101,10 @@ begin
assert_equal [], @adapter.entries('invalid')
end
+ def test_entries_revision_invalid
+ assert_nil @adapter.entries(nil, 12345678)
+ end
+
private
def test_scm_version_for(scm_command_version, version)