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
This commit is contained in:
Toshi MARUYAMA 2011-05-26 01:12:51 +00:00
parent a3dcc4ec2b
commit a09144ea5d
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ begin
assert_nil @adapter.annotate('invalid') assert_nil @adapter.annotate('invalid')
end end
def test_annotate_revision_invalid
assert_nil @adapter.annotate('doc-mkdir.txt', '12345678')
end
def test_branch_conf_path def test_branch_conf_path
p = "c:\\test\\test\\" p = "c:\\test\\test\\"
bcp = Redmine::Scm::Adapters::BazaarAdapter.branch_conf_path(p) bcp = Redmine::Scm::Adapters::BazaarAdapter.branch_conf_path(p)