git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@5 bf332499-1b4d-0410-844d-d2d48d5cc64c

This commit is contained in:
greg-williams
2008-06-01 18:09:28 +00:00
parent ae5e443d6f
commit 42fba80136
5 changed files with 739 additions and 15 deletions
+4 -15
View File
@@ -1,15 +1,4 @@
class CMock
attr_accessor :mocks_path, :includes, :interface_parser
def initialize(mocks_path='mocks', includes=[], interface_parser=nil)
@mocks_path = mocks_path
@includes = includes
@interface_parser = interface_parser
end
def generate(module_header)
@interface_parser.extract_interface(module_header)
end
end
$here = File.dirname __FILE__
require "#{$here}/cmock_setup"
require "#{$here}/cmock_generator"
require "#{$here}/c_file_parser"