mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-15 13:27:26 +00:00
- beefed up unit tests for function pointers
- added module name to reduce chance of typedef name collisions. git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@160 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ class CMock
|
||||
def generate_mock(src)
|
||||
name = File.basename(src, '.h')
|
||||
puts "Creating mock for #{name}..." unless @silent
|
||||
@cm_generator.create_mock(name, @cm_parser.parse(File.read(src)))
|
||||
@cm_generator.create_mock(name, @cm_parser.parse(name, File.read(src)))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user