Lines Matching refs:used_mocks
71 used_mocks = find_mocks(testfile_includes)
72 testfile_includes = (testfile_includes - used_mocks)
77 generate(input_file, output_file, tests, used_mocks, testfile_includes)
87 def generate(input_file, output_file, tests, used_mocks, testfile_includes) argument
89 create_header(output, used_mocks, testfile_includes)
90 create_externs(output, tests, used_mocks)
91 create_mock_management(output, used_mocks)
99 create_main(output, input_file, tests, used_mocks)
105 create_h_file(output, @options[:header_file], tests, testfile_includes, used_mocks)
364 def create_main(output, filename, tests, used_mocks) argument
421 output.puts(' CMock_Guts_MemFreeFinal();') unless used_mocks.empty?
434 def create_h_file(output, filename, tests, testfile_includes, used_mocks) argument
440 output.puts('#include "cmock.h"') unless used_mocks.empty?