Sha256: 4d6127882f51c7cec84af96d8336d1c6b0ee90125b0043d359ea9621cf6989b2

Contents?: true

Size: 390 Bytes

Versions: 8

Compression:

Stored size: 390 Bytes

Contents

require File.join(File.dirname(__FILE__), "test_helper")

require 'treevisitor/dir_processor'

class TCDirProcessor < Test::Unit::TestCase

  TEST_DATA = File.join( $TREEVISITOR_HOME, "test_data", "tree_visitor", "test_data" )

  def test_simple
    files = []
    dp = DirProcessor.new { |f| files << f }
    dp.process(TEST_DATA)
    assert_equal 3, files.length
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gf-treevisitor-0.0.10 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.11 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.12 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.13 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.15 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.16 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.18 test/treevisitor/tc_dir_processor.rb
gf-treevisitor-0.0.19 test/treevisitor/tc_dir_processor.rb