Sha256: d971197c1c491fc60fd636f6e7131c2ae5776e2e1c3fc8dbad8f1a49a73c1128
Contents?: true
Size: 645 Bytes
Versions: 36
Compression:
Stored size: 645 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class SvnHeadTest < OhlohScm::Test def test_head_and_parents with_svn_repository('svn') do |svn| assert_equal 5, svn.head_token assert_equal 5, svn.head.token assert svn.head.diffs.any? assert_equal 4, svn.parents(svn.head).first.token assert svn.parents(svn.head).first.diffs.any? end end def test_parents_encoding with_invalid_encoded_svn_repository do |svn| assert_nothing_raised do commit = Struct.new(:token).new(:anything) svn.parents(commit) rescue raise Exception end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems