Lines Matching full:lines
58 lines = []
61 lines.append(num + function_header)
62 lines.extend(function_body)
63 return lines
73 lines = _generate_repeated_function_body(1)
74 result_file = '\n'.join(lines) + '\n'
75 self.assertEqual(_redact(lines), result_file)
78 lines = _generate_repeated_function_body(2)
79 result_file = '\n'.join(lines) + '\n'
80 self.assertEqual(_redact(lines), result_file)
83 lines = _generate_repeated_function_body(_redact_limit - 1)
84 result_file = '\n'.join(lines) + '\n'
85 self.assertEqual(_redact(lines), result_file)
88 lines = _generate_repeated_function_body(_redact_limit)
89 self.assertEqual(_redact(lines), '')
98 lines = _generate_repeated_function_body(
100 self.assertEqual(_redact(kept_lines + lines), result_file)
101 self.assertEqual(_redact(lines + kept_lines), result_file)
105 self.assertEqual(_redact(lines + kept_lines + more_lines), result_file)
106 self.assertEqual(_redact(lines + more_lines), '')
109 lines = _generate_repeated_function_body(1)
110 _, summary = _redact_with_summary(lines)
118 lines = _generate_repeated_function_body(_redact_limit)
119 _, summary = _redact_with_summary(lines)
128 lines = _generate_repeated_function_body(_redact_limit)
129 _, summary = _redact_with_summary(kept_lines + lines)