- 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:
mvandervoord
2009-11-27 03:40:48 +00:00
parent 0f857f24ec
commit dbb397adbe
12 changed files with 679 additions and 53 deletions
-12
View File
@@ -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