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

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

index c139fab6201f45bbfeebd81e8df64e390952dbee..0866b373a8e333144aaec2466063b3859fa4da5d 100644 (file)
@@ -105,6 +105,10 @@ begin
         assert_nil @adapter.entries(nil, 12345678)
       end
 
+      def test_revisions_path_invalid
+        assert_nil @adapter.revisions('invalid')
+      end
+
       private
 
       def test_scm_version_for(scm_command_version, version)