mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-24 09:33:33 +00:00
- better array and pointer support
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@146 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -11,18 +11,6 @@ class CMockGeneratorUtils
|
||||
@helpers = helpers
|
||||
end
|
||||
|
||||
def create_call_list(function)
|
||||
call_list = ""
|
||||
function[:args].each do |arg|
|
||||
if call_list.empty?
|
||||
call_list = arg[:name]
|
||||
else
|
||||
call_list += ", " + arg[:name]
|
||||
end
|
||||
end
|
||||
return call_list
|
||||
end
|
||||
|
||||
def code_insert_item_into_expect_array(type, array, newValue)
|
||||
INSERT_EXPECT_CODE_SNIPPET % [type, array, newValue]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user