Sha256: 66c836febc3a92f63e2a7a1cdd277365a24a947b58a045cbcd89a11f240a1875

Contents?: true

Size: 872 Bytes

Versions: 20

Compression:

Stored size: 872 Bytes

Contents

class TestInvokerHelper

  constructor :configurator, :task_invoker, :test_includes_extractor, :file_finder, :file_path_utils, :file_wrapper

  def clean_results(results, options)
    @file_wrapper.rm_f( results[:fail] )
    @file_wrapper.rm_f( results[:pass] ) if (options[:force_run])
  end

  def process_deep_dependencies(files)
    return if (not @configurator.project_use_deep_dependencies)

    dependencies_list = @file_path_utils.form_test_dependencies_filelist( files )
    @task_invoker.invoke_test_dependencies_files( dependencies_list )
    yield( dependencies_list ) if block_given?
  end
  
  def extract_sources(test)
    sources  = []
    includes = @test_includes_extractor.lookup_includes_list(test)
    
    includes.each { |include| sources << @file_finder.find_compilation_input_file(include, :ignore) }
    
    return sources.compact
  end
  
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ceedling-0.28.2 lib/ceedling/test_invoker_helper.rb
ceedling-0.28.1 lib/ceedling/test_invoker_helper.rb
ceedling-0.27.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.25.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.24.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.22.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.21.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.20.3 lib/ceedling/test_invoker_helper.rb
ceedling-0.20.2 lib/ceedling/test_invoker_helper.rb
ceedling-0.19.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.18.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.17.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.16.0 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.6 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.5 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.4 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.3 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.2 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.1 lib/ceedling/test_invoker_helper.rb
ceedling-0.15.0 lib/ceedling/test_invoker_helper.rb