1284990Scy# ==========================================
2284990Scy#   Unity Project - A Test Framework for C
3284990Scy#   Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
4284990Scy#   [Released under MIT License. Please refer to license.txt for details]
5284990Scy# ========================================== 
6284990Scy
7284990Scyrequire'yaml'
8284990Scy
9284990Scymodule RakefileHelpers
10284990Scy  class TestFileFilter
11284990Scy    def initialize(all_files = false)
12284990Scy      @all_files = all_files
13284990Scy      if not @all_files == true
14284990Scy        if File.exist?('test_file_filter.yml')
15284990Scy          filters = YAML.load_file( 'test_file_filter.yml' )
16284990Scy          @all_files, @only_files, @exclude_files = 
17284990Scy            filters[:all_files], filters[:only_files], filters[:exclude_files] 
18284990Scy        end
19284990Scy      end
20284990Scy    end		
21284990Scy    attr_accessor :all_files, :only_files, :exclude_files
22284990Scy  end
23284990Scyend
24