Sha256: df9e797c9b70271e19e4de7bfa8ab6b81694494f11b71e24f3f0ba4581173043

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

module RSCM
  class CvsTest < Test::Unit::TestCase
    compat(:rscm_engine, :full)
    
    def create_scm(repository_root_dir, path)
      Cvs.local(repository_root_dir, path)
    end

    def test_dummy
      # need 1 test in case p4 is not installed (compat will not add tests)
    end
  end

  class Cvs
    # Convenience factory method used in testing
    def Cvs.local(cvsroot_dir, mod)
      cvsroot_dir = PathConverter.filepath_to_nativepath(cvsroot_dir, true)
      Cvs.new(":local:#{cvsroot_dir}", mod)
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rscm-0.5.0 test/rscm/scm/cvs_test.rb
rscm-0.5.1 test/rscm/scm/cvs_test.rb