class PreprocessinatorHelper
Public Instance Methods
assemble_mocks_list(test)
click to toggle source
# File lib/ceedling/preprocessinator_helper.rb, line 22 def assemble_mocks_list(test) return @file_path_utils.form_mocks_source_filelist( @test_includes_extractor.lookup_raw_mock_list(test) ) end
preprocess_includes(test, preprocess_includes_proc)
click to toggle source
# File lib/ceedling/preprocessinator_helper.rb, line 8 def preprocess_includes(test, preprocess_includes_proc) if (@configurator.project_use_test_preprocessor) preprocessed_includes_list = @file_path_utils.form_preprocessed_includes_list_filepath(test) preprocess_includes_proc.call( @file_finder.find_test_from_file_path(preprocessed_includes_list) ) @test_includes_extractor.parse_includes_list(preprocessed_includes_list) else @test_includes_extractor.parse_test_file(test) end end
preprocess_mockable_headers(mock_list, preprocess_file_proc)
click to toggle source
# File lib/ceedling/preprocessinator_helper.rb, line 26 def preprocess_mockable_headers(mock_list, preprocess_file_proc) if (@configurator.project_use_test_preprocessor) preprocess_files_smartly( @file_path_utils.form_preprocessed_mockable_headers_filelist(mock_list), preprocess_file_proc ) { |file| @file_finder.find_header_file(file) } end end
preprocess_source_includes(test)
click to toggle source
# File lib/ceedling/preprocessinator_helper.rb, line 18 def preprocess_source_includes(test) @test_includes_extractor.parse_test_file_source_include(test) end
preprocess_test_file(test, preprocess_file_proc)
click to toggle source
# File lib/ceedling/preprocessinator_helper.rb, line 34 def preprocess_test_file(test, preprocess_file_proc) return if (!@configurator.project_use_test_preprocessor) preprocess_file_proc.call(test) end