Sha256: 817720d08a9bc68800fac17226522cc84d9d02d8a1c56ee81d7bbe3a5ffd1d3f

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

require 'tap'
require 'tap/test/file_methods'
require 'tap/test/subset_methods'

require File.join(File.dirname(__FILE__), 'test_array.rb')

class Test::Unit::TestCase
  include Tap::Test::SubsetMethods
  
  # method to duplicate one of the source files to a target file
  def dup_file(source_base, target_base)
    filepath = tempfile(target_base)
    FileUtils.cp(source_base + '.txt', filepath + ".txt")
    FileUtils.cp(source_base + '.index', filepath + ".index")
    
    filepath + ".txt"
  end
  
  #
  #  The default data 
  #
  
  def string
    "abcdefgh"
  end
  
  def array
    ["a", "b", "c", "d", "e", "f", "g", "h"]
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
external-0.1.0 test/external_test_helper.rb