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

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

index d515e3ab1d90a51db38f74770cb7936dee8aaf66..495fce20adddff6f6de49699103019014993618e 100644 (file)
@@ -97,6 +97,10 @@ begin
         assert_equal 4, info.lastrev.identifier.to_i
       end
 
+      def test_entries_path_invalid
+        assert_equal [], @adapter.entries('invalid')
+      end
+
       private
 
       def test_scm_version_for(scm_command_version, version)