]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: add unit adapter test of annotate invalid path.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 01:12:07 +0000 (01:12 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 01:12:07 +0000 (01:12 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5913 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb

index 634ad194315cd95475c1a93fedb3f96cf267fced..7733ec231cd836434eb2c4d8fd53bb6fcf4d1b4c 100644 (file)
@@ -34,6 +34,10 @@ begin
         assert_equal 'mkdir', annotate.lines[0]
       end
 
+      def test_annotate_path_invalid
+        assert_nil @adapter.annotate('invalid')
+      end
+
       def test_branch_conf_path
         p = "c:\\test\\test\\"
         bcp = Redmine::Scm::Adapters::BazaarAdapter.branch_conf_path(p)